28 struct builder_viewport;
55 const bool must_be_active)
override;
59 const bool must_be_active)
const override;
62 widget*
find(
const std::string_view
id,
const bool must_be_active)
override;
65 const widget*
find(
const std::string_view
id,
const bool must_be_active)
const override;
91 virtual std::unique_ptr<widget>
build()
const override;
A config object defines a single node in a WML file, with access to child nodes.
widget * find(const std::string_view id, const bool must_be_active) override
See widget::find.
virtual void layout_initialize(const bool full_initialization) override
See widget::layout_initialize.
virtual point calculate_best_size() const override
See widget::calculate_best_size.
bool disable_click_dismiss() const override
See widget::disable_click_dismiss.
std::unique_ptr< widget > widget_
virtual void request_reduce_width(const unsigned maximum_width) override
See widget::request_reduce_width.
virtual iteration::walker_ptr create_walker() override
See widget::create_walker.
virtual void impl_draw_children() override
See widget::impl_draw_children.
viewport(const implementation::builder_viewport &builder, const builder_widget::replacements_map &replacements)
virtual void place(const point &origin, const point &size) override
See widget::place.
virtual widget * find_at(const point &coordinate, const bool must_be_active) override
See widget::find_at.
std::unique_ptr< class walker_base > walker_ptr
std::shared_ptr< builder_widget > builder_widget_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.
virtual std::unique_ptr< widget > build() const override
builder_widget_ptr widget_
builder_viewport(const config &cfg)
Helper to implement private functions without modifying the header.