summaryrefslogtreecommitdiff
path: root/gtk2_ardour/utils.h
diff options
context:
space:
mode:
authorDoug McLain <doug@nostar.net>2006-03-12 15:46:29 +0000
committerDoug McLain <doug@nostar.net>2006-03-12 15:46:29 +0000
commit670641c3df89af73de36efa5b0a184c2430275b0 (patch)
treeae4104e88cb85102fad0462efcf1682c9db34863 /gtk2_ardour/utils.h
parent1ed64a7842ac57d1fe9e0464690f961781ca4080 (diff)
create xpm files from hard coded pixmaps, added function get_xpm() to make sure any xpm only gets load from disk once
git-svn-id: svn://localhost/trunk/ardour2@379 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/utils.h')
-rw-r--r--gtk2_ardour/utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/utils.h b/gtk2_ardour/utils.h
index 68cd16c779..bbfa5f4e52 100644
--- a/gtk2_ardour/utils.h
+++ b/gtk2_ardour/utils.h
@@ -77,4 +77,7 @@ void set_color (Gdk::Color&, int);
bool key_press_focus_accelerator_handler (Gtk::Window& window, GdkEventKey* ev);
+Glib::RefPtr<Gdk::Pixbuf> get_xpm(std::string);
+static std::map<std::string, Glib::RefPtr<Gdk::Pixbuf> > xpm_map;
+
#endif /* __ardour_gtk_utils_h__ */