summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-06-17 15:06:30 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-06-17 15:06:30 +0000
commitfe85a922ec4a3e0cf1107adadfa50ad7b8417aa3 (patch)
tree28c6259e58192cd414a32e41b9fd3ff5bcbd8506 /gtk2_ardour/editor.h
parentac9589ff2c589d079a600106b59a1772ce61b624 (diff)
new trim cursors from chrisg, fix up hotspots for said cursors, make Editor cursors public; note draw mode now trims existing notes (but without trim cursor :(
git-svn-id: svn://localhost/ardour2/branches/3.0@7270 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r--gtk2_ardour/editor.h40
1 files changed, 21 insertions, 19 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h
index d11bb309f2..65af453982 100644
--- a/gtk2_ardour/editor.h
+++ b/gtk2_ardour/editor.h
@@ -447,6 +447,27 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
void begin_reversible_command (std::string cmd_name);
void commit_reversible_command ();
+ /* handy cursors for everyone to use */
+
+ static Gdk::Cursor* cross_hair_cursor;
+ static Gdk::Cursor* trimmer_cursor;
+ static Gdk::Cursor* right_side_trim_cursor;
+ static Gdk::Cursor* left_side_trim_cursor;
+ static Gdk::Cursor* selector_cursor;
+ static Gdk::Cursor* grabber_cursor;
+ static Gdk::Cursor* grabber_edit_point_cursor;
+ static Gdk::Cursor* zoom_cursor;
+ static Gdk::Cursor* time_fx_cursor;
+ static Gdk::Cursor* fader_cursor;
+ static Gdk::Cursor* speaker_cursor;
+ static Gdk::Cursor* midi_pencil_cursor;
+ static Gdk::Cursor* midi_select_cursor;
+ static Gdk::Cursor* midi_resize_cursor;
+ static Gdk::Cursor* midi_erase_cursor;
+ static Gdk::Cursor* wait_cursor;
+ static Gdk::Cursor* timebar_cursor;
+ static Gdk::Cursor* transparent_cursor;
+
protected:
void map_transport_state ();
void map_position_change (nframes64_t);
@@ -986,25 +1007,6 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
TrackViewList get_tracks_for_range_action () const;
- static Gdk::Cursor* cross_hair_cursor;
- static Gdk::Cursor* trimmer_cursor;
- static Gdk::Cursor* right_side_trim_cursor;
- static Gdk::Cursor* left_side_trim_cursor;
- static Gdk::Cursor* selector_cursor;
- static Gdk::Cursor* grabber_cursor;
- static Gdk::Cursor* grabber_edit_point_cursor;
- static Gdk::Cursor* zoom_cursor;
- static Gdk::Cursor* time_fx_cursor;
- static Gdk::Cursor* fader_cursor;
- static Gdk::Cursor* speaker_cursor;
- static Gdk::Cursor* midi_pencil_cursor;
- static Gdk::Cursor* midi_select_cursor;
- static Gdk::Cursor* midi_resize_cursor;
- static Gdk::Cursor* midi_erase_cursor;
- static Gdk::Cursor* wait_cursor;
- static Gdk::Cursor* timebar_cursor;
- static Gdk::Cursor* transparent_cursor;
-
static void build_cursors ();
sigc::connection super_rapid_screen_update_connection;