virtual bool expose(const rect ®ion)=0
Draw the portion of the drawable intersecting region to the screen.
virtual rect screen_location()=0
The location of the TLD on the screen, in drawing coordinates.
top_level_drawable & operator=(const top_level_drawable &)
A top-level drawable item (TLD), such as a window.
virtual void update()
Update state and any parameters that may effect layout, or any of the later stages.
An abstract description of a rectangle with integer coordinates.
Contains the SDL_Rect helper code.
virtual ~top_level_drawable()
virtual void layout()
Finalize the size and position of the drawable and its children, and invalidate any regions requiring...
virtual void render()
Perform any internal rendering necessary to prepare the drawable.