summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mouse_cursors.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-11-16 14:53:16 +0000
committerCarl Hetherington <carl@carlh.net>2010-11-16 14:53:16 +0000
commit8fc660e76e50920d744942c241275849b7b9720e (patch)
tree3cccf87a1f913822f812e9d3f4a44d06d39278fb /gtk2_ardour/mouse_cursors.h
parent840a81a0e452b39ee7e8c32484c12c3a53ce8172 (diff)
Move mouse cursor stuff out of Editor into its own class.
git-svn-id: svn://localhost/ardour2/branches/3.0@8048 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/mouse_cursors.h')
-rw-r--r--gtk2_ardour/mouse_cursors.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/gtk2_ardour/mouse_cursors.h b/gtk2_ardour/mouse_cursors.h
new file mode 100644
index 0000000000..26fa9472a5
--- /dev/null
+++ b/gtk2_ardour/mouse_cursors.h
@@ -0,0 +1,66 @@
+/*
+ Copyright (C) 2000-2010 Paul Davis
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+*/
+
+/** @file Handling of bitmaps to be used for mouse cursors.
+ *
+ * Held centrally by the Editor because some cursors are used in several places.
+ */
+
+class MouseCursors
+{
+public:
+ MouseCursors ();
+
+ Gdk::Cursor* cross_hair;
+ Gdk::Cursor* trimmer;
+ Gdk::Cursor* right_side_trim;
+ Gdk::Cursor* left_side_trim;
+ Gdk::Cursor* right_side_trim_left_only;
+ Gdk::Cursor* left_side_trim_right_only;
+ Gdk::Cursor* fade_in;
+ Gdk::Cursor* fade_out;
+ Gdk::Cursor* selector;
+ Gdk::Cursor* grabber;
+ Gdk::Cursor* grabber_note;
+ Gdk::Cursor* grabber_edit_point;
+ Gdk::Cursor* zoom_in;
+ Gdk::Cursor* zoom_out;
+ Gdk::Cursor* time_fx;
+ Gdk::Cursor* fader;
+ Gdk::Cursor* speaker;
+ Gdk::Cursor* midi_pencil;
+ Gdk::Cursor* midi_select;
+ Gdk::Cursor* midi_resize;
+ Gdk::Cursor* midi_erase;
+ Gdk::Cursor* up_down;
+ Gdk::Cursor* wait;
+ Gdk::Cursor* timebar;
+ Gdk::Cursor* transparent;
+ Gdk::Cursor* resize_left;
+ Gdk::Cursor* resize_top_left;
+ Gdk::Cursor* resize_top;
+ Gdk::Cursor* resize_top_right;
+ Gdk::Cursor* resize_right;
+ Gdk::Cursor* resize_bottom_right;
+ Gdk::Cursor* resize_bottom;
+ Gdk::Cursor* resize_bottom_left;
+ Gdk::Cursor* move;
+ Gdk::Cursor* expand_left_right;
+ Gdk::Cursor* expand_up_down;
+};