diff options
author | Carl Hetherington <carl@carlh.net> | 2009-06-16 23:14:33 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-06-16 23:14:33 +0000 |
commit | 84184cbf7f5651895ec9812e4b20beb9d7fa546f (patch) | |
tree | 32face3ab2faff0e19ebcd1fd6aabf1d51579648 /gtk2_ardour | |
parent | 86f24d20e1616ffaafc97de65db49fd6a91270f8 (diff) |
Add some comments.
git-svn-id: svn://localhost/ardour2/branches/3.0@5203 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/editor.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 6f69d606e0..3908da49ea 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -510,18 +510,31 @@ Editor::Editor () edit_packer.set_border_width (0); edit_packer.set_name ("EditorWindow"); + /* summary */ edit_packer.attach (*_summary, 0, 2, 0, 1, FILL|EXPAND, SHRINK, 0, 0); + + /* labels for rulers (mins:secs, timecode, samples, bars:beats) */ edit_packer.attach (ruler_label_event_box, 0, 1, 1, 2, FILL, SHRINK, 0, 0); + /* labels for time lines (meter, tempo, markers) */ edit_packer.attach (time_button_event_box, 0, 1, 2, 3, FILL, SHRINK, 0, 0); + + /* rulers */ edit_packer.attach (time_canvas_event_box, 1, 2, 1, 2, FILL|EXPAND, FILL, 0, 0); + /* LHS controls for tracks */ edit_packer.attach (controls_layout, 0, 1, 3, 4, FILL, FILL|EXPAND, 0, 0); + + /* main canvas (which has the time line canvas items at the top of it) */ edit_packer.attach (track_canvas_event_box, 1, 2, 2, 4, FILL|EXPAND, FILL|EXPAND, 0, 0); + /* zoom controls */ edit_packer.attach (zoom_box, 0, 1, 4, 5, FILL, FILL, 0, 0); + + /* h scroller */ edit_packer.attach (edit_hscrollbar, 1, 2, 4, 5, FILL|EXPAND, FILL, 0, 0); + /* v scroller */ edit_packer.attach (edit_vscrollbar, 3, 4, 3, 4, FILL, FILL|EXPAND, 0, 0); bottom_hbox.set_border_width (2); |