27 #include "Transformable.h" 31 #ifndef DOXYGEN_SHOULD_SKIP_THIS 69 virtual bool contains(
Vector2f coords) = 0;
136 void setCallback(std::function<
void()> callback);
143 void triggerCallback();
149 virtual void onStateChanged();
156 virtual void triggered();
160 std::function<void()> m_callback;
163 #ifndef DOXYGEN_SHOULD_SKIP_THIS 168 #endif // GF_WIDGET_H
WidgetState
State of a widget.
Definition: Widget.h:44
The button is active once.
The default widget state.
The namespace for gf classes.
Definition: Action.h:35