50 void setup_orb_group(
const std::string& base_id,
bool& shown,
const std::string& initial);
60 void reset_orb_group(
const std::string& base_id,
bool shown,
const std::string& initial);
74 std::map<std::string, group<std::string>>
groups_;
76 virtual const std::string&
window_id()
const override;
Abstract base class for all modal dialogs.
void setup_orb_toggle(const std::string &base_id, bool &shown)
The display function.
void reset_orb_group(const std::string &base_id, bool shown, const std::string &initial)
virtual void post_show() override
Actions to be taken after the window has been shown.
virtual void pre_show() override
Actions to be taken before showing the window.
void setup_orb_group(const std::string &base_id, bool &shown, const std::string &initial)
Sets up the checkbox and row of color buttons for the one-color options, including connecting the cal...
void setup_orb_group_two_color(const std::string &base_id, bool &shown, bool &two_color, const std::string &initial)
Sets up two checkboxes and a row of color buttons.
void toggle_orb_callback(bool &storage)
void reset_orb_group_two_color(const std::string &base_id, bool shown, bool two_color, const std::string &initial)
std::map< std::string, group< std::string > > groups_
void reset_orb_callback()
virtual const std::string & window_id() const override
The ID of the window to build.
void reset_orb_toggle(const std::string &base_id, bool shown)
Change the UI's ticked/unticked state.
#define DEFINE_SIMPLE_DISPLAY_WRAPPER(dialog)
Adds a bare-bones static display function to a dialog class that immediately invokes the dialogs's mo...