summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ui_config.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-12-08 22:02:32 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-12-08 22:02:38 -0500
commit0bb8e80f87f1cfd84ebfd02e48b9addffacb78c4 (patch)
tree19e711a870e8c0ffca480635f26376cfeee8f808 /gtk2_ardour/ui_config.h
parent9ac551abab0fd80d3e61cb084d2e70c4ecc78310 (diff)
more tweaking of color management.
User's own modification to NAME.colors are stored in $CONFIG/my-NAME.colors now.
Diffstat (limited to 'gtk2_ardour/ui_config.h')
-rw-r--r--gtk2_ardour/ui_config.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk2_ardour/ui_config.h b/gtk2_ardour/ui_config.h
index dc7d93e5e1..f72dc46289 100644
--- a/gtk2_ardour/ui_config.h
+++ b/gtk2_ardour/ui_config.h
@@ -55,12 +55,12 @@ class UIConfiguration : public PBD::Stateful
static UIConfiguration* instance() { return _instance; }
+ void load_rc_file (bool themechange, bool allow_own = true);
+
int load_state ();
int save_state ();
int load_defaults ();
- void load_rc_file (bool themechange);
-
int set_state (const XMLNode&, int version);
XMLNode& get_state (void);
XMLNode& get_variables (std::string);
@@ -134,13 +134,15 @@ class UIConfiguration : public PBD::Stateful
static UIConfiguration* _instance;
- int store_color_theme (std::string const &);
+ int store_color_theme ();
void load_base_colors (XMLNode const &);
void load_color_aliases (XMLNode const &);
void load_relative_colors (XMLNode const &);
void reset_gtk_theme ();
void colors_changed ();
- int load_color_theme ();
+ int load_color_theme (bool allow_own=true);
+
+ uint32_t block_save;
};
std::ostream& operator<< (std::ostream& o, const UIConfiguration::RelativeHSV& rhsv);