29 struct builder_minimap;
42 virtual void set_active(
const bool active)
override;
48 virtual unsigned get_state()
const override;
59 std::unique_ptr<gamemap>
map_;
66 static const std::string&
type();
96 virtual std::unique_ptr<widget>
build()
const override;
A config object defines a single node in a WML file, with access to child nodes.
Encapsulates the map of the game.
virtual bool impl_draw_background() override
See widget::impl_draw_background.
void set_map_data(const std::string &map_data)
std::unique_ptr< gamemap > map_
Game map generated from the provided data.
virtual bool get_active() const override
See styled_widget::get_active.
virtual const std::string & get_control_type() const override
Inherited from styled_widget, implemented by REGISTER_WIDGET.
virtual unsigned get_state() const override
See styled_widget::get_state.
static const std::string & type()
Static type getter that does not rely on the widget being constructed.
bool disable_click_dismiss() const override
See widget::disable_click_dismiss.
virtual void set_active(const bool active) override
See styled_widget::set_active.
minimap(const implementation::builder_minimap &builder)
Contains the implementation details for lexical_cast and shouldn't be used directly.
virtual std::unique_ptr< widget > build() const override
builder_minimap(const config &cfg)
resolution(const config &cfg)
minimap_definition(const config &cfg)