13
0
Commit Graph

14140 Commits

Author SHA1 Message Date
a25f6af94a use close/cross button 2014-09-03 22:07:46 +02:00
a99bd28950 add "close/cross" special button 2014-09-03 22:07:25 +02:00
a2a399d6f9 tweak button size request 2014-09-03 22:06:45 +02:00
ba3eb177c7 clean up rec-en circle math and limit the max radius of it 2014-09-03 22:05:53 +02:00
73cfd26237 proper automation header indenting 2014-09-03 20:48:20 +02:00
f2c0b2e318 revert pixfader to sane state (reverts parts of bb70d426) 2014-09-03 20:48:20 +02:00
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
0ea1238479 ask TAV buttons to have square proportions 2014-09-03 11:56:31 -05:00
6dd114c3f1 fix Play Loop from range context menu 2014-09-03 09:40:22 -05:00
4e85bda431 selecting a track in the mixer, with synced selection, will now clear any objects selected 2014-09-03 09:40:22 -05:00
bb70d426ba bring back old pixfader outline radius to demonstrate its issues 2014-09-03 15:35:11 +02:00
e9ff578f3a amend prev commit (Ardour button radii) 2014-09-03 15:26:54 +02:00
b0660b3e7d Update Ardour Button radii.
This is effectively a noop. Decrease default radius,
only add to radius (for outline), never subtract to avioid
negative numbers.
2014-09-03 15:21:19 +02:00
73357c1923 revert pixfader radius to default 2014-09-03 15:09:54 +02:00
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
3814c65680 robin needs a new keyboard with unstttttuck tt. 2014-09-03 05:20:33 +02:00
07a651d2ec release shared route pointer kept by InternalSend when dropping refs.
fixes "SessionHandleRef exists across session deletion"
when using AuxSends
2014-09-03 05:20:28 +02:00
f684cc24ec allow to set gtk style for BarController's pixfader. 2014-09-03 02:40:27 +02:00
09cec26610 fix some compiler warnings 2014-09-03 02:40:06 +02:00
c4212fb10b use tape-track rec-enable icon throughout. 2014-09-03 02:40:01 +02:00
599af96971 use new tape rec-en 2014-09-03 02:39:55 +02:00
d7ff2b87fb update rec-en circle drawing, add tape-mode 2014-09-03 01:55:57 +02:00
1cd366b606 pixfader bg has reverse gradient from fg 2014-09-02 15:58:55 -05:00
930e6eecf8 stroke black circle on top of rec circle 2014-09-02 15:57:08 -05:00
bc16da5b5a micro tweaks to ArdourButton corners 2014-09-02 15:16:37 -05:00
5d5d859c2a use new 'special' rec-en button 2014-09-02 20:43:27 +02:00
1592d04828 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)
2014-09-02 20:43:15 +02:00
9cd0af6b51 compact meter+fader for > 6 channel tracks 2014-09-02 19:33:58 +02:00
5d0e4f7380 number-label: use pixel-width for given font 2014-09-02 19:27:40 +02:00
29b7cb4a05 ArdourButton: prepare for [em] based padding 2014-09-02 19:23:18 +02:00
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
eed9542930 get rid of a compiler warning 2014-09-02 16:17:42 +02:00
6462cfa843 dramatically speed up track-number show/hide toggle 2014-09-02 16:17:20 +02:00
538a569d0b add a special bool option that prevents redrawing 2014-09-02 16:16:36 +02:00
9ecdb765aa don't show 'unity-line' (default value) for barcontrollers 2014-09-02 16:05:54 +02:00
3b9b65879a Barcontroller: no double expose when text chages 2014-09-02 16:05:21 +02:00
ecf5d5f137 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
2014-09-02 16:00:24 +02:00
88df9c28a6 fix static initialization of Gtk::SizeGroup 2014-09-02 05:14:26 +02:00
5803f26c51 add style for BarController SpinButton 2014-09-02 05:14:22 +02:00
efb03f4596 unify BarController with Slider/Pixfader. 2014-09-02 05:14:19 +02:00
41ccf6a806 clean up pixfader API, prepare for merge w/BarController 2014-09-02 05:14:14 +02:00
3bfe91c010 remove cruft from SliderController 2014-09-02 05:14:06 +02:00
540a12119b prepare Slider API cleanup 2014-09-02 02:53:05 +02:00
001e4ca684 Engine Dialog: focus OK button (press enter to cont w/previous settings) 2014-09-01 22:06:45 +02:00
9f0caacc5c 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 d439e93b1e.
2014-09-01 22:02:51 +02:00
158037bba2 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
2014-09-01 18:05:09 +02:00
34c1465cf9 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).
2014-08-31 18:57:22 -04:00
b012f2cd18 retain track-header width regardless of number-label. 2014-09-01 00:00:20 +02:00
b469cd217f Bring back control slider on MIDI controller "tracks". 2014-08-31 17:54:16 -04:00
885f1c71ec Remove unused variables (fix warnings). 2014-08-31 17:54:16 -04:00