Robin Gareus [Fri, 5 Sep 2014 22:41:56 +0000 (00:41 +0200)]
fundamentally change ArdourButton PangoLayout handling
This fixes issues where button text was set during static
initialization where the widget style was not yet available,
and a lot of related issues where the text was set
before style.
Robin Gareus [Fri, 5 Sep 2014 15:45:45 +0000 (17:45 +0200)]
set proper name (font) for number labels
Robin Gareus [Fri, 5 Sep 2014 21:44:30 +0000 (23:44 +0200)]
never change button element name.
changing the name overrides font style.
Robin Gareus [Fri, 5 Sep 2014 21:43:09 +0000 (23:43 +0200)]
no more button text position rounding
For all non-grouped buttons, size request takes
care of assigning a proper geometry.
Robin Gareus [Fri, 5 Sep 2014 15:40:34 +0000 (17:40 +0200)]
further button size polish
Robin Gareus [Fri, 5 Sep 2014 15:30:34 +0000 (17:30 +0200)]
fix alert box: identical layout as transport option buttons
Robin Gareus [Fri, 5 Sep 2014 15:27:59 +0000 (17:27 +0200)]
increase fixed button sizes on meterbridge
Robin Gareus [Fri, 5 Sep 2014 15:26:21 +0000 (17:26 +0200)]
hard stop blinking rec-arm
Paul Davis [Fri, 5 Sep 2014 02:24:28 +0000 (22:24 -0400)]
remove requirement for JACK in OS X startup script now that we have the coreaudio backend from waves available
Paul Davis [Fri, 5 Sep 2014 01:38:00 +0000 (21:38 -0400)]
updated .po files
Paul Davis [Fri, 5 Sep 2014 01:37:11 +0000 (21:37 -0400)]
fix linux packaging to include all required style files
Paul Davis [Fri, 5 Sep 2014 01:37:04 +0000 (21:37 -0400)]
fix OS X packaging to include all required style files
Robin Gareus [Fri, 5 Sep 2014 02:20:15 +0000 (04:20 +0200)]
connect "blink-rec-arm" only when needed.
This also fixes rec-arm button display when Mixer strip
is showing an aux-send instead of the current route.
It's still only a half-baked solution. If "blink-rec-arm" is
to stay a lot of details related to this will need addressing.
Robin Gareus [Fri, 5 Sep 2014 01:10:59 +0000 (03:10 +0200)]
fix
849d80b - don't show solo Lock/Iso on master bus
Robin Gareus [Fri, 5 Sep 2014 00:38:24 +0000 (02:38 +0200)]
gain-meter: use new PixFader API
Robin Gareus [Fri, 5 Sep 2014 00:24:19 +0000 (02:24 +0200)]
add pixfader tweaks API:
* change API to hide unity/default value line
* allow to override vertical scroll [1]
* allow changing button event forwarding [2]
[1] override scrolling in track-headers
[2] dbl-click is needed for BarControllers -> switch to SpinBtn
but a plain Slider on a track-header should not forward
these events to the TAV (they may trigger name-edit)
Robin Gareus [Thu, 4 Sep 2014 22:13:53 +0000 (00:13 +0200)]
re-order TAV widget packing:
allow to resize automation tracks on the indent handle, too
Robin Gareus [Thu, 4 Sep 2014 21:26:14 +0000 (23:26 +0200)]
fix typo
Robin Gareus [Thu, 4 Sep 2014 21:21:05 +0000 (23:21 +0200)]
use a gloabl size group for track-header ctrl buttons
Robin Gareus [Thu, 4 Sep 2014 21:16:48 +0000 (23:16 +0200)]
transport option buttons should expand to fill space.
Robin Gareus [Thu, 4 Sep 2014 21:16:18 +0000 (23:16 +0200)]
and some more button px tweaks
Robin Gareus [Thu, 4 Sep 2014 19:12:50 +0000 (21:12 +0200)]
NOOP, fix indent
Robin Gareus [Thu, 4 Sep 2014 19:03:07 +0000 (21:03 +0200)]
Robin Gareus [Thu, 4 Sep 2014 17:44:40 +0000 (19:44 +0200)]
"Aux" is a small button now, 2nd line is not visible
Robin Gareus [Thu, 4 Sep 2014 17:44:01 +0000 (19:44 +0200)]
separate button text-height -> button-height factor, bump to 1.3[em]
Robin Gareus [Thu, 4 Sep 2014 17:43:04 +0000 (19:43 +0200)]
further tweaks pertaining the track-number height
Paul Davis [Thu, 4 Sep 2014 17:56:29 +0000 (13:56 -0400)]
when track selection changes, cancel any and all name editing
Robin Gareus [Thu, 4 Sep 2014 16:12:46 +0000 (18:12 +0200)]
properly centered text..
..at the risk of blurring some text with
some fonts when the text is shifted by 0.5px.
Robin Gareus [Thu, 4 Sep 2014 16:08:45 +0000 (18:08 +0200)]
Trick 17: share separator + border:
This effectively adds a line after the last track.
Robin Gareus [Thu, 4 Sep 2014 15:01:28 +0000 (17:01 +0200)]
dedicated TAV separator line
Robin Gareus [Thu, 4 Sep 2014 14:14:01 +0000 (16:14 +0200)]
Revert "cont'd work on automation-track headers (amend
ba53af1c5)"
This reverts commit
beb5e3e777b0e92e8dde7ee12c324b32c679ff63.
Robin Gareus [Thu, 4 Sep 2014 13:06:42 +0000 (15:06 +0200)]
fix LED active area
Robin Gareus [Thu, 4 Sep 2014 13:05:37 +0000 (15:05 +0200)]
make generic buttons less prominent
Robin Gareus [Thu, 4 Sep 2014 01:09:38 +0000 (03:09 +0200)]
update number label geometry
the number label can be significantly wider than other
ctrl buttons and does not lend itself or be 'square'.
Robin Gareus [Thu, 4 Sep 2014 00:22:11 +0000 (02:22 +0200)]
ardour button sizes, now [em] based.
Paul Davis [Wed, 3 Sep 2014 22:44:16 +0000 (18:44 -0400)]
fix waf thinko in backends wscript
Ben Loftis [Wed, 3 Sep 2014 20:21:09 +0000 (15:21 -0500)]
merge fix
Ben Loftis [Wed, 3 Sep 2014 20:11:08 +0000 (15:11 -0500)]
consolidate some slider styles, and make bg darker
Ben Loftis [Wed, 3 Sep 2014 20:04:27 +0000 (15:04 -0500)]
use the new RecButton element for the master rec arm (?)
Ben Loftis [Wed, 3 Sep 2014 19:50:10 +0000 (14:50 -0500)]
actively recording track-arm button is red, not pink
Robin Gareus [Wed, 3 Sep 2014 20:17:25 +0000 (22:17 +0200)]
amend
a99bd289 (button x-axis padding)
Robin Gareus [Wed, 3 Sep 2014 20:07:46 +0000 (22:07 +0200)]
use close/cross button
Robin Gareus [Wed, 3 Sep 2014 20:07:25 +0000 (22:07 +0200)]
add "close/cross" special button
Robin Gareus [Wed, 3 Sep 2014 20:06:45 +0000 (22:06 +0200)]
tweak button size request
Robin Gareus [Wed, 3 Sep 2014 20:05:53 +0000 (22:05 +0200)]
clean up rec-en circle math and limit the max radius of it
Robin Gareus [Wed, 3 Sep 2014 18:48:06 +0000 (20:48 +0200)]
proper automation header indenting
Robin Gareus [Wed, 3 Sep 2014 18:01:11 +0000 (20:01 +0200)]
revert pixfader to sane state (reverts parts of
bb70d426)
Robin Gareus [Wed, 3 Sep 2014 17:58:33 +0000 (19:58 +0200)]
cont'd work on automation-track headers (amend
ba53af1c5)
now that the separator line is at the top,
offset region-contents y0 by 1px.
Ben Loftis [Wed, 3 Sep 2014 16:56:31 +0000 (11:56 -0500)]
ask TAV buttons to have square proportions
Ben Loftis [Tue, 2 Sep 2014 22:17:24 +0000 (17:17 -0500)]
fix Play Loop from range context menu
Ben Loftis [Tue, 2 Sep 2014 21:08:29 +0000 (16:08 -0500)]
selecting a track in the mixer, with synced selection, will now clear any objects selected
Robin Gareus [Wed, 3 Sep 2014 13:35:11 +0000 (15:35 +0200)]
bring back old pixfader outline radius to demonstrate its issues
Robin Gareus [Wed, 3 Sep 2014 13:26:54 +0000 (15:26 +0200)]
amend prev commit (Ardour button radii)
Robin Gareus [Wed, 3 Sep 2014 13:21:19 +0000 (15:21 +0200)]
Update Ardour Button radii.
This is effectively a noop. Decrease default radius,
only add to radius (for outline), never subtract to avioid
negative numbers.
Robin Gareus [Wed, 3 Sep 2014 13:09:54 +0000 (15:09 +0200)]
revert pixfader radius to default
Robin Gareus [Wed, 3 Sep 2014 13:03:35 +0000 (15:03 +0200)]
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.
Robin Gareus [Wed, 3 Sep 2014 03:18:45 +0000 (05:18 +0200)]
robin needs a new keyboard with unstttttuck tt.
Robin Gareus [Wed, 3 Sep 2014 03:17:16 +0000 (05:17 +0200)]
release shared route pointer kept by InternalSend when dropping refs.
fixes "SessionHandleRef exists across session deletion"
when using AuxSends
Robin Gareus [Wed, 3 Sep 2014 00:38:18 +0000 (02:38 +0200)]
allow to set gtk style for BarController's pixfader.
Robin Gareus [Wed, 3 Sep 2014 00:37:10 +0000 (02:37 +0200)]
fix some compiler warnings
Robin Gareus [Wed, 3 Sep 2014 00:35:42 +0000 (02:35 +0200)]
use tape-track rec-enable icon throughout.
Robin Gareus [Tue, 2 Sep 2014 23:07:27 +0000 (01:07 +0200)]
use new tape rec-en
Robin Gareus [Tue, 2 Sep 2014 23:55:57 +0000 (01:55 +0200)]
update rec-en circle drawing, add tape-mode
Ben Loftis [Tue, 2 Sep 2014 20:58:55 +0000 (15:58 -0500)]
pixfader bg has reverse gradient from fg
Ben Loftis [Tue, 2 Sep 2014 20:57:08 +0000 (15:57 -0500)]
stroke black circle on top of rec circle
Ben Loftis [Tue, 2 Sep 2014 20:16:37 +0000 (15:16 -0500)]
micro tweaks to ArdourButton corners
Robin Gareus [Tue, 2 Sep 2014 18:43:27 +0000 (20:43 +0200)]
use new 'special' rec-en button
Robin Gareus [Tue, 2 Sep 2014 18:43:15 +0000 (20:43 +0200)]
one off, special case rec-en button for now. (circle may need tweaking)
In the long run we want a class hierarchy:
CairoWidget
-> ArdourWidget
-> ArdourLabel
-> ArdourButton
-> SpecialArdourButton(s)
Robin Gareus [Tue, 2 Sep 2014 17:33:58 +0000 (19:33 +0200)]
compact meter+fader for > 6 channel tracks
Robin Gareus [Tue, 2 Sep 2014 17:27:40 +0000 (19:27 +0200)]
number-label: use pixel-width for given font
Robin Gareus [Tue, 2 Sep 2014 17:23:18 +0000 (19:23 +0200)]
ArdourButton: prepare for [em] based padding
Robin Gareus [Tue, 2 Sep 2014 16:12:39 +0000 (18:12 +0200)]
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)
Robin Gareus [Tue, 2 Sep 2014 14:17:42 +0000 (16:17 +0200)]
get rid of a compiler warning
Robin Gareus [Tue, 2 Sep 2014 14:17:20 +0000 (16:17 +0200)]
dramatically speed up track-number show/hide toggle
Robin Gareus [Tue, 2 Sep 2014 14:16:36 +0000 (16:16 +0200)]
add a special bool option that prevents redrawing
Robin Gareus [Tue, 2 Sep 2014 14:05:54 +0000 (16:05 +0200)]
don't show 'unity-line' (default value) for barcontrollers
Robin Gareus [Tue, 2 Sep 2014 14:05:21 +0000 (16:05 +0200)]
Barcontroller: no double expose when text chages
Robin Gareus [Tue, 2 Sep 2014 14:00:24 +0000 (16:00 +0200)]
tweak pixfader:
* update reserve so that round corners don't overlap
* draw complete 1px outline
* add API to hide/show the unity line
* don't show unity line at either end
* allow to shrink when the font-scaling changes
Robin Gareus [Tue, 2 Sep 2014 03:08:13 +0000 (05:08 +0200)]
fix static initialization of Gtk::SizeGroup
Robin Gareus [Tue, 2 Sep 2014 03:07:41 +0000 (05:07 +0200)]
add style for BarController SpinButton
Robin Gareus [Tue, 2 Sep 2014 03:09:51 +0000 (05:09 +0200)]
unify BarController with Slider/Pixfader.
Robin Gareus [Tue, 2 Sep 2014 02:46:34 +0000 (04:46 +0200)]
clean up pixfader API, prepare for merge w/BarController
Robin Gareus [Tue, 2 Sep 2014 03:14:06 +0000 (05:14 +0200)]
remove cruft from SliderController
Robin Gareus [Tue, 2 Sep 2014 00:53:05 +0000 (02:53 +0200)]
prepare Slider API cleanup
Robin Gareus [Mon, 1 Sep 2014 20:06:45 +0000 (22:06 +0200)]
Engine Dialog: focus OK button (press enter to cont w/previous settings)
Robin Gareus [Mon, 1 Sep 2014 20:02:51 +0000 (22:02 +0200)]
rework pixfader:
* re-introduce static pattern cache
(cairo's cache is not nearly large enough for A3 + plugins)
* only use cairo_clip on rectangles (not arbitrary paths
-> major performance boost
* re-add fader pixel reserve
* fix mouse + scroll interaction
* fix unity line display (1px wider, brighten by 150%)
* cache text size
* fix various other issues and consistent whitespace
This reverts large parts of commit
d439e93b1e71e84452bf52ddc69ff0be6aa04ef5.
Robin Gareus [Mon, 1 Sep 2014 16:05:09 +0000 (18:05 +0200)]
Match canvas outline to rectangle
It looks like we're currently [consistently] off by 1px
everywhere. The width-1 is compensated by
TimeAxisViewItem::RIGHT_EDGE_SHIFT = 1
David Robillard [Sun, 31 Aug 2014 22:52:37 +0000 (18:52 -0400)]
Fix crash when changing automation mode for MIDI track control automation.
Also some work towards tolerating automation controls with no automation list,
towards actually doing something for these cases, though not required just to
fix this crash (MidiTrack::set_parameter_automation_state() avoids those
paths).
Robin Gareus [Sun, 31 Aug 2014 22:00:01 +0000 (00:00 +0200)]
retain track-header width regardless of number-label.
David Robillard [Sun, 31 Aug 2014 21:52:09 +0000 (17:52 -0400)]
Bring back control slider on MIDI controller "tracks".
David Robillard [Sun, 31 Aug 2014 21:45:20 +0000 (17:45 -0400)]
Remove unused variables (fix warnings).
David Robillard [Sun, 31 Aug 2014 21:44:42 +0000 (17:44 -0400)]
Fix mismatched initialisation order.
Robin Gareus [Sun, 31 Aug 2014 21:38:25 +0000 (23:38 +0200)]
the story of 0
Robin Gareus [Sun, 31 Aug 2014 21:36:38 +0000 (23:36 +0200)]
rework track inset (amend
7d7b787 and
bf13bf63):
Only inset red-selection rectangle (top & bottom).
Do not draw duplicate borders (waste pixels) for regular regions.
Robin Gareus [Sun, 31 Aug 2014 20:54:43 +0000 (22:54 +0200)]
update track-header width when removing track(s).
Robin Gareus [Sun, 31 Aug 2014 20:24:44 +0000 (22:24 +0200)]
inset regions into track (don't share edges)
Robin Gareus [Sun, 31 Aug 2014 20:24:26 +0000 (22:24 +0200)]
fix track-header hide/show
Robin Gareus [Sun, 31 Aug 2014 19:32:22 +0000 (21:32 +0200)]
track-header fader tweaks:
* align height to button-height.
* align width to label text-entry
* increase min width
Robin Gareus [Sun, 31 Aug 2014 18:08:38 +0000 (20:08 +0200)]
proper 1px track separator
Robin Gareus [Sun, 31 Aug 2014 18:07:17 +0000 (20:07 +0200)]
shadow-less Frame: explicitly draw background colored border.