26 #include "Transformable.h" 30 #ifndef DOXYGEN_SHOULD_SKIP_THIS 68 virtual bool contains(
Vector2f coords) = 0;
135 void setCallback(std::function<
void()> callback);
142 void triggerCallback();
148 virtual void onStateChanged();
155 virtual void triggered();
159 std::function<void()> m_callback;
162 #ifndef DOXYGEN_SHOULD_SKIP_THIS 167 #endif // GF_WIDGET_H
WidgetState
State of a widget.
Definition: Widget.h:43
The button is active once.
The default widget state.
The namespace for gf classes.
Definition: Action.h:35