41 bool focus(
const SDL_Event* event);
44 virtual void hide(
bool value =
true);
46 virtual void enable(
bool new_val =
true);
60 const std::string&
id()
const;
61 void set_id(
const std::string&
id);
68 widget(
const bool auto_join=
true);
75 virtual void layout()
override;
77 virtual bool expose(
const rect& region)
override;
A top-level drawable item (TLD), such as a window.
Contains the SDL_Rect helper code.
An abstract description of a rectangle with integer coordinates.