162 void set_id(
const std::string&
id);
163 const std::string&
id()
const;
389 virtual void move(
const int x_offset,
const int y_offset);
489 #ifdef DEBUG_WINDOW_LAYOUT_GRAPHS
497 mutable point last_best_size_;
671 const bool must_be_active);
675 const bool must_be_active)
const;
692 virtual widget*
find(
const std::string&
id,
const bool must_be_active);
695 virtual const widget*
find(
const std::string&
id,
696 const bool must_be_active)
const;
Base class for event handling.
base class of top level items, the only item which needs to store the final canvases to draw on.
void point(int x, int y)
Draw a single point.
std::unique_ptr< class walker_base > walker_ptr
std::map< std::string, widget_item > widget_data
std::map< std::string, t_string > widget_item
map_location coordinate
Contains an x and y coordinate used for starting positions in maps.
std::size_t size(const std::string &str)
Length in characters of a UTF-8 string.
Contains the SDL_Rect helper code.
The basic class for representing 8-bit RGB or RGBA colour values.
An abstract description of a rectangle with integer coordinates.