18 #ifndef COMPONENT_EVENT_H_
19 #define COMPONENT_EVENT_H_
21 #include <SFML/Window.hpp>
22 #include <SFML/UI/Format/Format.hpp>
24 #include <SFML/UI/Component.hpp>
25 #include <SFML/UI/Focusable.hpp>
26 #include <SFML/UI/AbstractButton.hpp>
27 #include <SFML/UI/CheckBox.hpp>
28 #include <SFML/UI/TextField.hpp>
29 #include <SFML/UI/FormattedTextField.hpp>
30 #include <SFML/UI/KeyField.hpp>
48 sf::Mouse::Button button;
109 sf::Keyboard::Key key;
122 unsigned int position;
137 FormattedValueEntered,
148 ButtonClickedEvent buttonClick;
149 ButtonTouchedEvent buttonTouch;
150 CheckBoxChangeEvent checkBoxChange;
152 FormattedValueEnteredEvent formattedValueEnter;
153 KeyFieldSetEvent keyFieldSet;
A box which can be checked or not.
The base class for all UI components that can be focused.
An event that is triggered each time a component change its focus status.
An event that is triggered each time a check box switch from unselected to selected, and vice-versa.
A formatted text field which stores a value defined by a sf::ui::Format It can be a sf::Int64...
The base class for all UI components.
An event generate by a component.
A text field which stores a text.
An event that is triggered each time a key is set.
ComponentEventType
Enumeration of component events.
A field that stores a keyboard's key Not supported on mobile platforms.
An event that is triggered each time a text is entered/deleted Triggered only with TextField...