diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-11-08 20:55:43 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-11-08 20:55:43 +0000 |
commit | a8d2605f9a6f48f3afb09c212de9486c75856287 (patch) | |
tree | 29d014f11717fe70b0a69ec750d1ae7b827e84f5 /gtk2_ardour/marker.h | |
parent | 62941af2cf8da4c5424afb9173fdb310c2c23eef (diff) |
substantial changes that start to use the edit point and the selected marker for operations
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2609 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/marker.h')
-rw-r--r-- | gtk2_ardour/marker.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk2_ardour/marker.h b/gtk2_ardour/marker.h index 5090990c3c..fd29f5411f 100644 --- a/gtk2_ardour/marker.h +++ b/gtk2_ardour/marker.h @@ -64,6 +64,8 @@ class Marker : public sigc::trackable void set_position (nframes_t); void set_name (const string&); void set_color_rgba (uint32_t rgba); + + nframes64_t position() const { return frame_position; } void hide (); void show (); @@ -80,10 +82,10 @@ class Marker : public sigc::trackable ArdourCanvas::Line *line; ArdourCanvas::Points *line_points; - double unit_position; - nframes_t frame_position; - unsigned char shift; /* should be double, but its always small and integral */ - Type _type; + double unit_position; + nframes64_t frame_position; + unsigned char shift; /* should be double, but its always small and integral */ + Type _type; void reposition (); }; |