56 std::string& category);
66 virtual const std::string&
window_id()
const override;
int load_color_component(uint8_t color_t::*component)
editor_edit_label(std::string &text, bool &immutable, bool &visible_fog, bool &visible_shroud, color_t &color, std::string &category)
Constructor.
void register_color_component(std::string widget_id, uint8_t color_t::*component)
virtual const std::string & window_id() const override
The ID of the window to build.
The basic class for representing 8-bit RGB or RGBA colour values.
Dialog for editing gamemap labels.
virtual void pre_show(window &window) override
Actions to be taken before showing the window.
color_t & color_store
The execute function.
Abstract base class for all modal dialogs.
void save_color_component(uint8_t color_t::*component, const int value)
#define DEFINE_SIMPLE_EXECUTE_WRAPPER(dialog)
Adds a bare-bonesstatic execute function to a dialog class that immediately invokes and return the re...
base class of top level items, the only item which needs to store the final canvases to draw on...