diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-30 12:19:09 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-31 15:30:46 -0400 |
commit | 6ec731c5faccb2295a1599b2453866c28d7af61e (patch) | |
tree | 51089d5eeae962523e346725c523968dc4c11747 /gtk2_ardour/ui_config.h | |
parent | ae314207b1b04ba231bd05c3e1bedf6cb9c30b3f (diff) |
rework of color theme file management
Use program-name + version when saving user color files (and search for them)
Preset XML-defined theme name, but use filename in config files (could be wrong).
Diffstat (limited to 'gtk2_ardour/ui_config.h')
-rw-r--r-- | gtk2_ardour/ui_config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/ui_config.h b/gtk2_ardour/ui_config.h index 76a628b9be..3db30c0180 100644 --- a/gtk2_ardour/ui_config.h +++ b/gtk2_ardour/ui_config.h @@ -60,6 +60,8 @@ private: XMLNode& get_variables (std::string); void set_variables (const XMLNode&); + std::string color_file_name (bool use_my, bool with_program, bool with_version) const; + typedef std::map<std::string,ArdourCanvas::Color> Colors; typedef std::map<std::string,std::string> ColorAliases; typedef std::map<std::string,ArdourCanvas::SVAModifier> Modifiers; |