Robin Gareus
cb05e3a21d
dedicated TAV separator line
2014-09-04 17:01:28 +02:00
Robin Gareus
70358639de
Revert "cont'd work on automation-track headers (amend ba53af1c5)"
...
This reverts commit beb5e3e777 .
2014-09-04 16:14:01 +02:00
Robin Gareus
dea4b27ca6
update number label geometry
...
the number label can be significantly wider than other
ctrl buttons and does not lend itself or be 'square'.
2014-09-04 03:09:38 +02:00
Robin Gareus
beb5e3e777
cont'd work on automation-track headers (amend ba53af1c5)
...
now that the separator line is at the top,
offset region-contents y0 by 1px.
2014-09-03 20:48:20 +02:00
Robin Gareus
ba53af1c50
quick mockup of indented automation-track headers
...
XXX: If we keep this approach, TimeAxisView::show_at()
needs to be fixed.
TimeAxisView::_canvas_display should draw the separator
line at the top, and regions inside moved down 1px.
2014-09-03 15:03:35 +02:00
Robin Gareus
b184df3286
static global definition for track-header width
...
the track-header minimum width is defined by
the name-label (IFF the 2nd row fader is not visible,
but the fader is rather small by default and and grows)
track-header width in almost all cases is:
name-label width
+ width of three button (1 char each)
+ max size of all meters (if visible)
+ width of MIDI scroomer (if visible)
+ 2px table cellspacing (per column)
2014-09-02 18:12:39 +02:00
Robin Gareus
88df9c28a6
fix static initialization of Gtk::SizeGroup
2014-09-02 05:14:26 +02:00
Robin Gareus
423f6e3445
fix track-header hide/show
2014-08-31 22:24:26 +02:00
Robin Gareus
154621978a
track-header fader tweaks:
...
* align height to button-height.
* align width to label text-entry
* increase min width
2014-08-31 21:32:22 +02:00
Robin Gareus
0b1ee476ed
proper 1px track separator
2014-08-31 20:08:38 +02:00
Robin Gareus
f7e5d4eba2
the return of the time_axis_vbox
2014-08-31 19:43:32 +02:00
Robin Gareus
e3d982a66e
set initial TAV style
2014-08-31 18:51:04 +02:00
Robin Gareus
098a698052
right side track-header control buttons (for non mixbus profile)
2014-08-31 16:12:43 +02:00
Robin Gareus
f6da7c67ab
experiment with track-selection box shadow
2014-08-31 08:08:36 +02:00
Robin Gareus
19b212334a
remove (unused) separator, update TAV height calc.
2014-08-31 07:12:00 +02:00
Robin Gareus
9c59b21bb6
simplify time-axis packing: consistent table layout
2014-08-31 07:11:24 +02:00
Robin Gareus
36c4704df9
revert parts of bf13bf63, change track-header color on selection
2014-08-30 21:44:47 +02:00
Ben Loftis
bf13bf6385
red-border selection for tracks, regions, and processors. requesting comments
2014-08-29 17:16:32 -05:00
Ben Loftis
5c1a561325
change packing so number_label shares space with name_label
2014-08-11 15:08:57 -05:00
Ben Loftis
b41df8e120
shuffle packing order to accomodate midi controls
2014-08-11 14:44:12 -05:00
Ben Loftis
bf034f48ce
New track header layout.
...
Vertical alignment no longer depends on number of meters shown.
Looking for comments.
2014-08-11 12:59:42 -05:00
Paul Davis
d0bc4b55fa
scroll up/down by tracks uses top edge as "focal point"; fix some other nasty code details
2014-07-14 12:36:51 -04:00
Paul Davis
19ff353665
fix edges of selection rects in time axis views to lie correctly within bounds of the time axis view
2014-06-27 10:18:11 -04:00
Robin Gareus
a3c378cf62
move utility functions into a dedicated namespace
2014-06-25 21:47:54 +02:00
Paul Davis
6a5d805b38
more canvas refactoring.
...
Remove Canvas::Layout, use Canvas::Container for the same purpose, move child-rendering into Item::render_children() so that it
could theoretically be used by any derived type.
2014-06-22 11:41:05 -04:00
Paul Davis
0796ccfb65
use newly factored canvas in gtk2_ardour
2014-06-21 11:44:22 -04:00
Paul Davis
8419248a94
fix naming of selection rect-related items
2014-06-18 21:02:51 -04:00
Paul Davis
7a0b2e1c18
fix scrolling behaviour in track headers (event was stolen by rulers because event coordinates made it look as if the event happened there)
2014-06-13 14:27:59 -04:00
Paul Davis
684d45c0cc
restored track height adjustment using alt-scroll on track headers
2014-06-12 17:21:41 -04:00
Paul Davis
d36afa6b8b
forward scroll events from track control headers to the canvas, to get consistent scroll behaviour (whatever that behaviour is)
2014-06-09 10:02:38 -04:00
Paul Davis
e0533e9dd7
more profound changes to canvas scrolling, in particular find appropriate ScrollGroup for Canvas::{window,canvas}_to_{canvas,window}()
2014-06-03 16:13:12 -04:00
Paul Davis
200a67fba8
most of the support for save/restore of visible track count
2014-03-25 10:33:18 -04:00
Paul Davis
65b4308c84
first pass at quantizing vertical scroll to whole tracks.
...
Dragging regions vertically does the quantization BUT speed control is lacking and the region ends up on
a track that is still invisible ... to be fixed as the sun rises.
2014-03-21 07:02:32 -04:00
Paul Davis
9df3157dfc
big rework of scrolling, horizontal part considered almost 100% done.
...
Many more changes than I would typically like in a single commit, but this was all very intertwined.
Vertical scrolling using track-stepping still to follow.
2014-03-20 13:29:45 -04:00
Paul Davis
aff595c739
add ::covered_by_y_range() to TimeAxisView
2014-02-25 21:53:04 -05:00
Paul Davis
19bd344c33
indentation
2014-01-10 11:56:15 -05:00
Paul Davis
08b485db75
send enter events to EVERY newly entered item (ignore the bool return from the event handler); other canvas debugging aids;switch items_at_point() to use canvas coordinates
2013-11-03 10:07:00 -05:00
Robin Gareus
90e282c450
work around sparse motion notification events when tooltips are disabled
...
fixes http://tracker.ardour.org/view.php?id=5174
2013-08-08 15:23:10 -04:00
Paul Davis
580520b12f
fix conflicts caused by meterbridge merge
2013-07-11 09:11:53 -04:00
Paul Davis
525cb6b4a7
some sort-of-deep fixes to get autoscroll/vertical scroll to work properly for cairocanvas
2013-07-10 19:10:06 -04:00
Robin Gareus
146fca3674
light up track seperator
2013-07-11 01:07:38 +02:00
Robin Gareus
4b39813d69
display separator on newly created tracks.
2013-07-11 00:38:43 +02:00
Robin Gareus
aabe526df2
update track-header layout - proper padding around meters
2013-07-10 15:27:06 +02:00
Robin Gareus
066b385c68
adjust padding of meters in time-axis view (still using border bg color)
2013-07-10 15:27:03 +02:00
Paul Davis
3031a99364
Merge branch 'master' into cairocanvas
2013-06-25 22:24:47 -04:00
Colin Fletcher
21914c884e
Make scroll-wheel modifier keys consistent in main editor window.
...
Add constants for the keyboard modifiers that should be used for vertical
zoom, horizontal zoom, and horizontal scrolling in the main editor window,
and use these where appropriate rather than using Keyboard::PrimaryModifier
and friends directly.
2013-06-21 20:13:44 +01:00
Paul Davis
7de31d5a41
use virtual bool canvas_group_event () in TimeAxisViewItems to get suitably delegatable/inherited event handling
2013-04-25 16:06:12 -04:00
Paul Davis
6f664c1f67
many pervasive changes primarily related to waveform drawing, particular content-dragging, colors, and more
2013-04-24 15:42:14 -04:00
Paul Davis
d1a05240ef
fix clamping of line and rect coordinates to avoid issues with cairo when drawing way outside a surface's dimensions; move various coordinate methods down to Canvas, because they don't require GTK information; make visible_area() a Canvas virtual method so that we don't have to cast to call it
2013-04-17 10:53:17 -04:00
Paul Davis
96eee9e7a1
change UIConfig to use accessor/setter methods like RCConfig so that ParameterChanged methods can actually be emitted; add variable (over a small range) background shading for all TimeAxisViewItems
2013-04-16 23:46:22 -04:00