29 #ifndef DOXYGEN_SHOULD_SKIP_THIS 80 virtual bool contains(
Vector2f coords) = 0;
147 void setCallback(std::function<
void()> callback);
154 void triggerCallback();
162 virtual void triggered();
166 std::function<void()> m_callback;
169 #ifndef DOXYGEN_SHOULD_SKIP_THIS 174 #endif // GF_WIDGET_H WidgetState
State of a widget.
Definition: Widget.h:42
The button is active once.
Base class for all render targets (window, texture, ...)
Definition: RenderTarget.h:66
Define the states used for drawing to a RenderTarget.
Definition: RenderStates.h:82
The default widget state.
The namespace for gf classes.
Definition: Action.h:34