71 std::string
color_file_name (
bool use_my,
bool with_version,
bool fallback =
false)
const;
73 typedef std::map<std::string, Gtkmm2ext::Color>
Colors;
75 typedef std::map<std::string, Gtkmm2ext::SVAModifier>
Modifiers;
113 #undef UI_CONFIG_VARIABLE
114 #define UI_CONFIG_VARIABLE(Type,var,name,value) \
115 Type get_##var () const { return var.get(); } \
116 bool set_##var (Type val) { bool ret = var.set (val); if (ret) { ParameterChanged (name); } return ret; }
118 #undef UI_CONFIG_VARIABLE
119 #define CANVAS_FONT_VARIABLE(var,name) \
120 Pango::FontDescription get_##var () const { return ARDOUR_UI_UTILS::sanitized_font (var.get()); } \
121 Pango::FontDescription get_Ardour##var () const { return ARDOUR_UI_UTILS::ardour_font (var.get()); } \
122 bool set_##var (const std::string& val) { bool ret = var.set (val); if (ret) { ParameterChanged (name); } return ret; }
124 #undef CANVAS_FONT_VARIABLE
129 #undef UI_CONFIG_VARIABLE
130 #define UI_CONFIG_VARIABLE(Type,var,name,value) PBD::ConfigVariable<Type> var;
132 #undef UI_CONFIG_VARIABLE
134 #define CANVAS_FONT_VARIABLE(var,name) PBD::ConfigVariable<std::string> var;
136 #undef CANVAS_FONT_VARIABLE
std::map< std::string, std::string > ColorAliases
void set_color(const std::string &name, Gtkmm2ext::Color)
void set_variables(const XMLNode &)
XMLNode & get_state() const
Gtkmm2ext::SVAModifier modifier(const std::string &) const
Gtkmm2ext::Color color_mod(std::string const &color, std::string const &modifier) const
static std::string color_file_suffix
ColorAliases color_aliases
void map_parameters(std::function< void(std::string)> &)
void parameter_changed(std::string)
static std::string color_to_hex_string_no_alpha(Gtkmm2ext::Color c)
Gtkmm2ext::Color quantized(Gtkmm2ext::Color) const
int load_color_file(std::string const &)
UIConfiguration * post_gui_init()
void set_modifier(std::string const &, Gtkmm2ext::SVAModifier svam)
void load_modifiers(XMLNode const &)
int load_color_theme(bool allow_own)
Gtkmm2ext::Color color(const std::string &, bool *failed=0) const
std::string color_file_name(bool use_my, bool with_version, bool fallback=false) const
int set_state(const XMLNode &, int version)
void load_rc_file(bool themechange, bool allow_own=true)
void load_colors(XMLNode const &)
static UIConfiguration & instance()
void set_alias(std::string const &name, std::string const &alias)
std::map< std::string, Gtkmm2ext::Color > Colors
static void build_metadata()
sigc::signal< void, std::string > ParameterChanged
std::map< std::string, PBD::ConfigVariableBase * > _my_variables
Gtkmm2ext::Color color_mod(const Gtkmm2ext::Color &color, std::string const &modifier) const
std::map< std::string, Gtkmm2ext::SVAModifier > Modifiers
XMLNode & get_variables(std::string const &) const
static std::string color_to_hex_string(Gtkmm2ext::Color c)
void load_color_aliases(XMLNode const &)
GtkImageIconNameData name