42 bool focus(
const SDL_Event* event);
45 virtual void hide(
bool value =
true);
47 virtual void enable(
bool new_val =
true);
61 const std::string&
id()
const;
62 void set_id(
const std::string&
id);
69 widget(
const bool auto_join=
true);
76 virtual void layout()
override;
78 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.