mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
introduce GUIObjectState; massive, pervasive changes in visibility and height management for track displays in the editor
git-svn-id: svn://localhost/ardour2/branches/3.0@9796 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
d5bb729755
commit
10cb0a7646
31 changed files with 678 additions and 579 deletions
|
|
@ -106,6 +106,7 @@ class ControlPoint;
|
|||
class CrossfadeView;
|
||||
class DragManager;
|
||||
class GroupedButtons;
|
||||
class GUIObjectState;
|
||||
class Marker;
|
||||
class MidiRegionView;
|
||||
class MixerStrip;
|
||||
|
|
@ -471,11 +472,13 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
|
|||
typedef std::pair<TimeAxisView*,XMLNode*> TAVState;
|
||||
|
||||
struct VisualState {
|
||||
VisualState();
|
||||
~VisualState ();
|
||||
double y_position;
|
||||
double frames_per_unit;
|
||||
framepos_t leftmost_frame;
|
||||
framepos_t leftmost_frame;
|
||||
Editing::ZoomFocus zoom_focus;
|
||||
std::list<TAVState> track_states;
|
||||
GUIObjectState* gui_state;
|
||||
};
|
||||
|
||||
std::list<VisualState*> undo_visual_stack;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue