diff options
author | Doug McLain <doug@nostar.net> | 2006-03-15 16:33:00 +0000 |
---|---|---|
committer | Doug McLain <doug@nostar.net> | 2006-03-15 16:33:00 +0000 |
commit | 6db80f6eff97b278ebbac6e4d5993552418bfd87 (patch) | |
tree | 954dc72426758b98b7d1717562ef2afc1b34cb7f /gtk2_ardour/automation_time_axis.cc | |
parent | 1abcdd831cfbda3a63f854fc8a343e01e30dd508 (diff) |
found a couple more hard coded xpms :)
git-svn-id: svn://localhost/trunk/ardour2@397 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_time_axis.cc')
-rw-r--r-- | gtk2_ardour/automation_time_axis.cc | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc index ce9b7a4e33..0c4a5fce5c 100644 --- a/gtk2_ardour/automation_time_axis.cc +++ b/gtk2_ardour/automation_time_axis.cc @@ -11,6 +11,7 @@ #include "automation_selectable.h" #include "point_selection.h" #include "canvas_impl.h" +#include "utils.h" #include "i18n.h" @@ -18,22 +19,6 @@ using namespace ARDOUR; using namespace Gtk; using namespace Editing; -static const gchar * small_x_xpm[] = { -"11 11 2 1", -" c None", -". c #000000", -" ", -" ", -" . . ", -" . . ", -" . . ", -" . ", -" . . ", -" . . ", -" . . ", -" ", -" "}; - AutomationTimeAxisView::AutomationTimeAxisView (Session& s, Route& r, PublicEditor& e, TimeAxisView& rent, ArdourCanvas::Canvas& canvas, const string & nom, const string & state_name, const string & nomparent) @@ -79,7 +64,7 @@ AutomationTimeAxisView::AutomationTimeAxisView (Session& s, Route& r, PublicEdit base_rect->signal_event().connect (bind (mem_fun (editor, &PublicEditor::canvas_automation_track_event), base_rect, this)); - hide_button.add (*(manage (new Gtk::Image (Gdk::Pixbuf::create_from_xpm_data(small_x_xpm))))); + hide_button.add (*(manage (new Gtk::Image (get_xpm("small_x.xpm"))))); height_button.set_name ("TrackSizeButton"); auto_button.set_name ("TrackVisualButton"); |