13
0
Commit Graph

14252 Commits

Author SHA1 Message Date
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
c95c221493 Fix mismatched initialisation order. 2014-08-31 17:54:16 -04:00
dbad29f388 the story of 0 2014-08-31 23:38:25 +02:00
cb8ce29725 rework track inset (amend 7d7b787 and bf13bf63):
Only inset red-selection rectangle (top & bottom).
Do not draw duplicate borders (waste pixels) for regular regions.
2014-08-31 23:36:38 +02:00
4718def3c4 update track-header width when removing track(s). 2014-08-31 22:54:43 +02:00
7d7b787a28 inset regions into track (don't share edges) 2014-08-31 22:24:44 +02:00
423f6e3445 fix track-header hide/show 2014-08-31 22:24:26 +02:00
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
0b1ee476ed proper 1px track separator 2014-08-31 20:08:38 +02:00
758c988e51 shadow-less Frame: explicitly draw background colored border. 2014-08-31 20:07:17 +02:00
f7e5d4eba2 the return of the time_axis_vbox 2014-08-31 19:43:32 +02:00
50c3177a5e remove frame from barcontroller 2014-08-31 19:36:41 +02:00
e3d982a66e set initial TAV style 2014-08-31 18:51:04 +02:00
1e0c987b77 update track-header width when changing show-track-meters 2014-08-31 16:46:11 +02:00
888f440633 move midi scroomer to right of meter and fix alignment 2014-08-31 16:15:52 +02:00
098a698052 right side track-header control buttons (for non mixbus profile) 2014-08-31 16:12:43 +02:00
db34d9a556 proper round corners on focused TextEntry
IFF [xy]thickness is set > 2 for given Entry.

It seems gtk draws a base-color rectangle on
top, after clearlooks_draw_entry() is called.
This fills the complete area and voids previous
rounded rectangles in clearlooks_draw_entry().
setting [xy]thickness decreases the size of the
base rectangle.
2014-08-31 12:46:45 +02:00
42e6c9c75d proper round corners for peak&gain display 2014-08-31 12:08:39 +02:00
f6da7c67ab experiment with track-selection box shadow 2014-08-31 08:08:36 +02:00
059e438f40 fix [potential] double clock connection:
ARDOUR_UI::set_session() starts clocking for a given session.
make sure ARDOUR_UI::parameter_changed() does not connect
before the session is active.
2014-08-31 07:54:59 +02:00
7d3f0bfd75 prepare for clang static analysis of RT-functions:
see: https://github.com/fundamental/stoat
eventually more functions should be annotated, and
a common header file should be used to
  #define REALTIME __attribute__((annotate("realtime")))
2014-08-31 07:50:17 +02:00
026c71331e distinguish global peak-reset button from meters:
With > 2 channels, the editor toolbar meters are
otherwise very similar to the reset-button.
2014-08-31 07:43:21 +02:00
d0c7984320 new min. height for midi controls 2014-08-31 07:12:41 +02:00
c993e2d37b update track-header width when track-number visibility is toggled 2014-08-31 07:12:21 +02:00
19b212334a remove (unused) separator, update TAV height calc. 2014-08-31 07:12:00 +02:00
9c59b21bb6 simplify time-axis packing: consistent table layout 2014-08-31 07:11:24 +02:00
36c4704df9 revert parts of bf13bf63, change track-header color on selection 2014-08-30 21:44:47 +02:00
dc83ae4ffc NOOP, re-indent, fix whitespace 2014-08-30 21:44:41 +02:00
ca97569c55 disconnect pixfader style-change signal in dtor (amend 5a688b672) 2014-08-30 20:58:03 +02:00
dfbc9da79a update clocks and video-frames at FPS 2014-08-30 20:57:27 +02:00
16443f44a2 add an idle callback at FPS 2014-08-30 20:57:22 +02:00
01864b43e0 redraw clock(s) only when needed. 2014-08-30 20:17:34 +02:00
125fe6e3bc video-pullup and timecode-format are session options 2014-08-30 20:11:07 +02:00
936cb05989 update dropdown triangle 2014-08-30 18:26:03 +02:00
8e3b1c17c1 fader+meter: update numeric display bg on style change 2014-08-30 04:19:48 +02:00
5a688b672c pixfader: use parent's background color 2014-08-30 04:19:42 +02:00
f5533213c0 fix some compiler warnings 2014-08-30 02:26:36 +02:00
585fa45b62 fix cairo widget background 2014-08-30 01:43:10 +02:00
926d4eb36e remove cruft 2014-08-30 01:43:10 +02:00