diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-06 15:27:18 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-07 13:12:48 -0500 |
commit | d586289be5137a7740bc8e3103a7f68c1ad8dd06 (patch) | |
tree | dc7e505c68cc79dce8b5a0fa6bdadc2305514b63 /gtk2_ardour/ui_config.h | |
parent | 01747cc5f7e8cc77837525bd3b9862ae7b5f0a52 (diff) |
first mostly-working build supporting GTK rethemeing via the Theme Manager
Diffstat (limited to 'gtk2_ardour/ui_config.h')
-rw-r--r-- | gtk2_ardour/ui_config.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk2_ardour/ui_config.h b/gtk2_ardour/ui_config.h index 9d9bbe8d0c..7ffb4fd28a 100644 --- a/gtk2_ardour/ui_config.h +++ b/gtk2_ardour/ui_config.h @@ -109,6 +109,10 @@ 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); XMLNode& get_state (void); XMLNode& get_variables (std::string); @@ -185,9 +189,11 @@ class UIConfiguration : public PBD::Stateful static UIConfiguration* _instance; - void color_theme_changed (); - void load_color_aliases (XMLNode const &); + void reset_gtk_theme (); + + XMLNode _saved_state_node; + int _saved_state_version; }; #endif /* __ardour_ui_configuration_h__ */ |