diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-06-10 12:38:31 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-06-10 14:39:28 -0400 |
commit | d59d26b89a875d226e8d7405d75c17c331fc6a0a (patch) | |
tree | 5eeee798eb68549dbf70da5a43c8f8a2acc0e0cd /gtk2_ardour/utils.h | |
parent | eca6c9f998feb70c606577f33446c907e0749c73 (diff) |
change ::get_icon_path() and ::get_icon() to accept an "icon set" name to provide ability to use different sets of icons; use when creating MouseCursors
Diffstat (limited to 'gtk2_ardour/utils.h')
-rw-r--r-- | gtk2_ardour/utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/utils.h b/gtk2_ardour/utils.h index bf5e5b85f5..a59f55eec1 100644 --- a/gtk2_ardour/utils.h +++ b/gtk2_ardour/utils.h @@ -76,8 +76,8 @@ bool key_press_focus_accelerator_handler (Gtk::Window& window, GdkEventKey* ev); bool emulate_key_event (Gtk::Widget*, unsigned int); Glib::RefPtr<Gdk::Pixbuf> get_xpm (std::string); -std::string get_icon_path (const char*); -Glib::RefPtr<Gdk::Pixbuf> get_icon (const char*); +std::string get_icon_path (const char*, std::string icon_set = std::string()); +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; const char* const *get_xpm_data (std::string path); std::string longest (std::vector<std::string>&); |