mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
remove timebar canvas and just use a single canvas instead. This is just part one - lots of minor fixes to be done
This commit is contained in:
parent
c9f890bd7c
commit
5696199daf
9 changed files with 27 additions and 62 deletions
|
|
@ -41,20 +41,15 @@ class EditorCursor {
|
|||
return _current_frame;
|
||||
}
|
||||
|
||||
ArdourCanvas::Line& track_canvas_item () {
|
||||
ArdourCanvas::Arrow& track_canvas_item () {
|
||||
return *_track_canvas_item;
|
||||
}
|
||||
|
||||
ArdourCanvas::Arrow& time_bar_canvas_item () {
|
||||
return *_time_bars_canvas_item;
|
||||
}
|
||||
|
||||
PBD::Signal1<void, framepos_t> PositionChanged;
|
||||
|
||||
private:
|
||||
Editor& _editor;
|
||||
ArdourCanvas::Arrow* _time_bars_canvas_item;
|
||||
ArdourCanvas::Line* _track_canvas_item;
|
||||
ArdourCanvas::Arrow* _track_canvas_item;
|
||||
framepos_t _current_frame;
|
||||
double _length;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue