FifeGUI 0.2.0
A C++ GUI library designed for games.
selectionevent.hpp
1// SPDX-License-Identifier: LGPL-2.1-or-later OR BSD-3-Clause
2// SPDX-FileCopyrightText: 2004 - 2008 Olof Naessén and Per Larsson
3// SPDX-FileCopyrightText: 2013 - 2026 Fifengine contributors
4
5#ifndef INCLUDE_FIFECHAN_SELECTIONEVENT_HPP_
6#define INCLUDE_FIFECHAN_SELECTIONEVENT_HPP_
7
8#include "fifechan/event.hpp"
9#include "fifechan/platform.hpp"
10
11namespace fcn
12{
13 class Widget;
14
20 class FIFEGUI_API SelectionEvent : public Event
21 {
22 public:
28 explicit SelectionEvent(Widget* source);
29 };
30} // namespace fcn
31
32#endif // INCLUDE_FIFECHAN_SELECTIONEVENT_HPP_
Event(Widget *source)
Constructor.
Definition event.cpp:9
SelectionEvent(Widget *source)
Constructor.
Abstract base class defining the common behavior, properties, and lifecycle of all GUI elements.
Definition widget.hpp:45