31 struct builder_styled_widget;
46 const std::string& control_type);
188 const bool must_be_active)
override;
192 const bool must_be_active)
const override;
195 widget*
find(
const std::string_view
id,
const bool must_be_active)
override;
198 const widget*
find(
const std::string_view
id,
const bool must_be_active)
const override;
302 static_assert(std::is_base_of_v<resolution_definition, typename T::resolution>,
303 "Given type's resolution object does not derive from resolution_definition."
306 return std::static_pointer_cast<const typename T::resolution>(
get_config());
475 point maximum_size = {0, 0})
const;
515 const point& location);
519 const point& location);
This file contains the canvas object which is the part where the widgets draw (temporally) images on.
A config object defines a single node in a WML file, with access to child nodes.
A simple canvas which can be drawn upon.
void set_wants_mouse_hover(const bool hover=true)
ui_event
The event sent to the dispatcher.
std::unique_ptr< class walker_base > walker_ptr
std::shared_ptr< resolution_definition > resolution_definition_ptr
std::map< std::string, t_string > widget_item
std::shared_ptr< const resolution_definition > resolution_definition_const_ptr
Contains the implementation details for lexical_cast and shouldn't be used directly.
map_location coordinate
Contains an x and y coordinate used for starting positions in maps.
std::size_t size(std::string_view str)
Length in characters of a UTF-8 string.
std::size_t index(std::string_view str, const std::size_t index)
Codepoint index corresponding to the nth character in a UTF-8 string.
The basic class for representing 8-bit RGB or RGBA colour values.