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