diff options
author | Carl Hetherington <carl@carlh.net> | 2010-11-14 21:55:21 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-11-14 21:55:21 +0000 |
commit | fc142a3fe630e785f39ba411a8943b05a5dc410d (patch) | |
tree | b813c87d146d03ba4bca1b479579df62cdcb2160 /gtk2_ardour/editor.cc | |
parent | 3b7302ecd4ccab57e43082372074a87e686e8ca4 (diff) |
Fix up summary mouse cursors.
git-svn-id: svn://localhost/ardour2/branches/3.0@8035 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r-- | gtk2_ardour/editor.cc | 56 |
1 files changed, 55 insertions, 1 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 8512200b07..568afc0e35 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -232,6 +232,15 @@ Gdk::Cursor* Editor::wait_cursor = 0; Gdk::Cursor* Editor::timebar_cursor = 0; Gdk::Cursor* Editor::transparent_cursor = 0; Gdk::Cursor* Editor::up_down_cursor = 0; +Gdk::Cursor* Editor::resize_left_cursor = 0; +Gdk::Cursor* Editor::resize_top_left_cursor = 0; +Gdk::Cursor* Editor::resize_top_cursor = 0; +Gdk::Cursor* Editor::resize_top_right_cursor = 0; +Gdk::Cursor* Editor::resize_right_cursor = 0; +Gdk::Cursor* Editor::resize_bottom_right_cursor = 0; +Gdk::Cursor* Editor::resize_bottom_cursor = 0; +Gdk::Cursor* Editor::resize_bottom_left_cursor = 0; +Gdk::Cursor* Editor::move_cursor = 0; void show_me_the_size (Requisition* r, const char* what) @@ -1309,9 +1318,54 @@ Editor::build_cursors () fade_out_cursor = new Gdk::Cursor (Gdk::Display::get_default(), apixbuf, 29, 0); } + { + Glib::RefPtr<Gdk::Pixbuf> p (::get_icon ("resize_left_cursor")); + resize_left_cursor = new Gdk::Cursor (Gdk::Display::get_default(), p, 3, 10); + } + + { + Glib::RefPtr<Gdk::Pixbuf> p (::get_icon ("resize_top_left_cursor")); + resize_top_left_cursor = new Gdk::Cursor (Gdk::Display::get_default(), p, 3, 18); + } + + { + Glib::RefPtr<Gdk::Pixbuf> p (::get_icon ("resize_top_cursor")); + resize_top_cursor = new Gdk::Cursor (Gdk::Display::get_default(), p, 10, 24); + } + + { + Glib::RefPtr<Gdk::Pixbuf> p (::get_icon ("resize_top_right_cursor")); + resize_top_right_cursor = new Gdk::Cursor (Gdk::Display::get_default(), p, 18, 18); + } + + { + Glib::RefPtr<Gdk::Pixbuf> p (::get_icon ("resize_right_cursor")); + resize_right_cursor = new Gdk::Cursor (Gdk::Display::get_default(), p, 24, 10); + } + + { + Glib::RefPtr<Gdk::Pixbuf> p (::get_icon ("resize_bottom_right_cursor")); + resize_bottom_right_cursor = new Gdk::Cursor (Gdk::Display::get_default(), p, 18, 3); + } + + { + Glib::RefPtr<Gdk::Pixbuf> p (::get_icon ("resize_bottom_cursor")); + resize_bottom_cursor = new Gdk::Cursor (Gdk::Display::get_default(), p, 10, 3); + } + + { + Glib::RefPtr<Gdk::Pixbuf> p (::get_icon ("resize_bottom_left_cursor")); + resize_bottom_left_cursor = new Gdk::Cursor (Gdk::Display::get_default(), p, 3, 3); + } + + { + Glib::RefPtr<Gdk::Pixbuf> p (::get_icon ("move_cursor")); + move_cursor = new Gdk::Cursor (Gdk::Display::get_default(), p, 11, 11); + } + selector_cursor = new Gdk::Cursor (XTERM); time_fx_cursor = new Gdk::Cursor (SIZING); - wait_cursor = new Gdk::Cursor (WATCH); + wait_cursor = new Gdk::Cursor (WATCH); timebar_cursor = new Gdk::Cursor(LEFT_PTR); midi_pencil_cursor = new Gdk::Cursor (PENCIL); midi_select_cursor = new Gdk::Cursor (CENTER_PTR); |