15 #ifndef GUI_WIDGETS_BUTTON_HPP_INCLUDED
16 #define GUI_WIDGETS_BUTTON_HPP_INCLUDED
40 virtual void set_active(
const bool active)
override;
46 virtual unsigned get_state()
const override;
void connect_signal_mouse_left_click(tdispatcher &dispatcher, const tsignal_function &signal)
Connects a signal handler for a left mouse button click.
Base class of a resolution, contains the common keys for a resolution.
A class inherited from ttext_box that displays its input as stars.
std::function< void(tdispatcher &dispatcher, const tevent event, bool &handled, bool &halt)> tsignal_function
Callback function signature.
tevent
The event send to the dispatcher.
void disconnect_signal_mouse_left_click(tdispatcher &dispatcher, const tsignal_function &signal)
Disconnects a signal handler for a left mouse button click.
Base class for all visible items.
A config object defines a single node in a WML file, with access to child nodes.
GLsizei const GLcharARB ** string
Contains the implementation details for lexical_cast and shouldn't be used directly.