summaryrefslogtreecommitdiff
path: root/gtk2_ardour/utils.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-05-30 12:19:09 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-05-31 15:30:46 -0400
commit6ec731c5faccb2295a1599b2453866c28d7af61e (patch)
tree51089d5eeae962523e346725c523968dc4c11747 /gtk2_ardour/utils.h
parentae314207b1b04ba231bd05c3e1bedf6cb9c30b3f (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/utils.h')
-rw-r--r--gtk2_ardour/utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/utils.h b/gtk2_ardour/utils.h
index 03a68558b5..bdc05643a5 100644
--- a/gtk2_ardour/utils.h
+++ b/gtk2_ardour/utils.h
@@ -23,6 +23,7 @@
#include <string>
#include <cmath>
#include <vector>
+#include <map>
#include "ardour/types.h"
@@ -72,7 +73,7 @@ bool emulate_key_event (unsigned int);
Glib::RefPtr<Gdk::Pixbuf> get_xpm (std::string);
std::vector<std::string> get_icon_sets ();
-std::vector<std::string> get_color_themes ();
+void get_color_themes (std::map<std::string,std::string>&);
std::string get_icon_path (const char*, std::string icon_set = std::string(), bool is_image = true);
Glib::RefPtr<Gdk::Pixbuf> get_icon (const char*, std::string icon_set = std::string());
static std::map<std::string, Glib::RefPtr<Gdk::Pixbuf> > xpm_map;