From d586289be5137a7740bc8e3103a7f68c1ad8dd06 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 6 Dec 2014 15:27:18 -0500 Subject: first mostly-working build supporting GTK rethemeing via the Theme Manager --- gtk2_ardour/ui_config.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/ui_config.h') 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__ */ -- cgit v1.2.3