diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-07 14:20:17 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-07 14:20:17 -0500 |
commit | d425a43b26c0081e93ef8a23692d9ed7fc635b89 (patch) | |
tree | e5e43edb563166347298309064ddcb1a4af9fc9b /gtk2_ardour/ui_config.h | |
parent | 9ac7ddb31d3d4633716a9ec1a99d21ca27878744 (diff) |
fix up various issues with UIConfiguration, saving state, RC file loading etc.
Diffstat (limited to 'gtk2_ardour/ui_config.h')
-rw-r--r-- | gtk2_ardour/ui_config.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk2_ardour/ui_config.h b/gtk2_ardour/ui_config.h index d3c48680ac..7637bcf228 100644 --- a/gtk2_ardour/ui_config.h +++ b/gtk2_ardour/ui_config.h @@ -109,8 +109,6 @@ class UIConfiguration : public PBD::Stateful int save_state (); int load_defaults (); - void color_theme_changed (); - static void load_rc_file (std::string const &, bool themechange); int set_state (const XMLNode&, int version); @@ -155,7 +153,7 @@ class UIConfiguration : public PBD::Stateful #undef CANVAS_BASE_COLOR #define CANVAS_BASE_COLOR(var,name,val) \ ArdourCanvas::Color get_##var() const { return var.get(); } \ - bool set_##var (ArdourCanvas::Color v) { bool ret = var.set (v); if (ret) { ParameterChanged (#var); } return ret; } \ + bool set_##var (ArdourCanvas::Color v) { bool ret = var.set (v); if (ret) { ParameterChanged (name); } return ret; } \ bool set_##var(const ArdourCanvas::HSV& v) const { return set_##var (v.color()); } #include "base_colors.h" #undef CANVAS_BASE_COLOR @@ -193,6 +191,7 @@ class UIConfiguration : public PBD::Stateful void load_color_aliases (XMLNode const &); void reset_gtk_theme (); + void colors_changed (); XMLNode _saved_state_node; int _saved_state_version; |