19 #ifndef UNIT_PALETTES_H_INCLUDED
20 #define UNIT_PALETTES_H_INCLUDED
std::set< std::string > selected_bg_items_
const std::set< std::string > & get_selected_bg_items()
virtual bool is_selected_bg_item(const std::string &id)
virtual std::string get_help_string()
Manage the empty-palette in the editor.
static const ::config * terrain
The terrain used to create the cache.
unit_palette(editor_display &gui, const config &cfg, mouse_action **active_mouse_action)
virtual const std::string & get_id(const unit_type &terrain)
Palette where the terrain to be drawn can be selected.
virtual void setup(const config &cfg)
Setup the internal data structure.
this module manages the cache of images.
A mouse action receives events from the controller, and responds to them by creating an appropriate e...
virtual void select_bg_item(const std::string &item_id)
A config object defines a single node in a WML file, with access to child nodes.
GLsizei const GLcharARB ** string
virtual void draw_item(const unit_type &terrain, surface &image, std::stringstream &tooltip_text)