15 #ifndef GUI_WIDGETS_MINIMAP_HPP_INCLUDED
16 #define GUI_WIDGETS_MINIMAP_HPP_INCLUDED
46 virtual void set_active(
const bool active)
override;
52 virtual unsigned get_state()
const override;
106 int y_offset)
override;
bool disable_click_dismiss() const override
See twidget::disable_click_dismiss.
virtual unsigned get_state() const override
See tcontrol::get_state.
Base class of a resolution, contains the common keys for a resolution.
A class inherited from ttext_box that displays its input as stars.
std::string get_map_data() const
std::string map_data_
The map data to be used to generate the map.
GLubyte GLubyte GLubyte GLubyte w
tresolution(const config &cfg)
virtual void impl_draw_background(surface &frame_buffer, int x_offset, int y_offset) override
See twidget::impl_draw_background.
virtual void set_active(const bool active) override
See tcontrol::set_active.
static const ::config * terrain
The terrain used to create the cache.
virtual const std::string & get_control_type() const override
See tcontrol::get_control_type.
virtual bool get_active() const override
See tcontrol::get_active.
GLfloat GLfloat GLfloat GLfloat h
const surface get_image(const int w, const int h) const
Gets the image for the minimap.
Base class for all visible items.
tminimap_definition(const config &cfg)
const ::config * terrain_
The config object with the terrain data.
void set_config(const ::config *terrain)
const std::string & map_data() const
A config object defines a single node in a WML file, with access to child nodes.
GLsizei const GLcharARB ** string
tbuilder_minimap(const config &cfg)
Contains the implementation details for lexical_cast and shouldn't be used directly.
void set_map_data(const std::string &map_data)