107 virtual void set_active(
const bool active)
override;
113 virtual unsigned get_state()
const override;
169 throw std::invalid_argument(
"GUI2: scrollbar step size cannot be 0");
342 const point& current)
const = 0;
std::size_t size(const std::string &str)
Length in characters of a UTF-8 string.
Contains the SDL_Rect helper code.
A slider is a control that can select a value by moving a grip on a groove.
map_location coordinate
Contains an x and y coordinate used for starting positions in maps.
ui_event
The event send to the dispatcher.