30 struct builder_minimap;
53 virtual void set_active(
const bool active)
override;
59 virtual unsigned get_state()
const override;
83 std::unique_ptr<gamemap>
map_;
90 static const std::string&
type();
120 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.
const std::string & map_data() const
void set_map_data(const std::string &map_data)
std::string map_data_
The map data to be used to generate the map.
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.
std::string get_map_data() const
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.
virtual void impl_draw_background() override
See widget::impl_draw_background.
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)
Base class of a resolution, contains the common keys for a resolution.