13
0
Commit Graph

7331 Commits

Author SHA1 Message Date
6bb573d81c vertical pixel alignment of all TAV elements 2014-09-08 18:42:41 +02:00
de7ac1f29b yet another rec-button [no]blink fix 2014-09-07 21:03:25 +02:00
5462294629 remove debug message 2014-09-07 20:42:50 +02:00
27631e7c7f fix (auto-expand) typo in f23f379b3 2014-09-07 20:33:11 +02:00
4167e83972 NOOP, re-indent, remove trailing whitespace, sort includes 2014-09-07 20:23:50 +02:00
f23f379b37 don't loose a redraw.
This more or less obsoletes the DisplaySuspender.
While RAII is nice, the DisplaySuspender cannot be
used from outside gtk2_ardour eg Mute/Solo signals
notifications from libardour (which don't originate
from the GUI).

The DisplaySuspender is still useful, because it
explicitly disables re-display and forces a single
expose at the end.
2014-09-07 20:23:50 +02:00
1bb6fd752c special case track-header buttons 2014-09-07 20:23:49 +02:00
cb07f0f99b yet another button tweak.. 2014-09-07 20:23:49 +02:00
5dab88c3fa prepare support for [color] style name postfix 2014-09-07 20:23:49 +02:00
75df0a9c78 no horiz canvas scroll over track-header automation fader 2014-09-07 20:23:49 +02:00
c450fd3861 tweak vertical size/position and layering of recording rect 2014-09-07 12:00:06 -04:00
4880019218 correct the variable used to name the file when loading the default UI config file 2014-09-07 11:53:52 -04:00
177c0e0940 tweak initial x-axis location of a recording rect (from grygorii zharun @ waves) 2014-09-07 11:34:24 -04:00
cd1bddd01a rename input/source file for default UI configuration 2014-09-07 10:48:09 -04:00
e202bf866a fix names of included files 2014-09-07 10:47:39 -04:00
bb0733e5b3 Ensure complete sync with previous UI configuration files
(since some changes here were cherry-picked from the waves codebase)
2014-09-07 10:27:23 -04:00
dcf4d7b38a change all GUI config files (GTK RC and our own XML config files) to use product-neutral names
Conflicts:

	gtk2_ardour/ui_config.cc
	gtk2_ardour/ui_default.conf.in
	gtk2_ardour/wscript
2014-09-07 10:25:46 -04:00
d9aeb8084d fix [git] version header file creation for old python 2014-09-06 22:20:14 +02:00
78f0007d54 safe EditorRoutes::redisplay() 2014-09-06 22:01:39 +02:00
6745aa6e52 backwards compat with old gtk 2014-09-06 21:20:06 +02:00
eb8ae5053f minimize rebuild after reconfigure:
Don't add VERSIONSTRING to the c-flags of
gtk2_ardour, use a dedicated file instead.
2014-09-06 21:18:08 +02:00
4a1b6b2e78 fix another blinking-rec btn issue (amend 0ae8dd4) 2014-09-06 13:23:59 +02:00
bcd2e8d5e6 idle update editor TreeView
dramatic speedup for solo & route toggle.
2014-09-06 13:10:47 +02:00
95a7356018 NOOP, cleanup whitespace 2014-09-06 12:52:41 +02:00
3a75fab244 speed up session load (display updates) 2014-09-06 12:52:29 +02:00
8bc872614e optimize ArdourButton 2014-09-06 12:50:18 +02:00
4912409a8d gtk style related fixes:
* remove some old/unused styles
* fix plugin-ui button (hover color when active)
* consistent style for route buttons
  (and related ArdourButton updates)
2014-09-06 12:49:57 +02:00
089184c016 fix mixer strip track number display (amend 4a00bdf0) 2014-09-06 12:48:47 +02:00
aa769c9096 fix ArdourButton initialization 2014-09-06 12:48:21 +02:00
ae1200716f fix track-header vertical scrolling
Ignore vertical scroll events on horizontal
Automation Track Sliders. see also 70be12afaa
2014-09-06 12:46:28 +02:00
028346d412 Revert "use a gloabl size group for track-header ctrl buttons"
This reverts commit 86eb72955c.
2014-09-06 03:36:01 +02:00
dfecb06946 optimize button expose/resize 2014-09-06 03:22:31 +02:00
a07dc44b4d remove pixel based Button LED diameter setting
Diameter is calculated depending on font-scaling.
Besides, all explicit calls simply set the default
value, anyway. If some API is needed in the future,
it should set the diameter in [em].
2014-09-06 02:08:59 +02:00
6f30c1fddb optimize button pattern cache
We really should statically cache patterns
as done in PixFader and Meters (Cairo's cache is
not nearly large enough)
2014-09-06 02:04:59 +02:00
fb473475c3 remove cruft 2014-09-06 00:42:10 +02:00
0596508f96 fix lock button font size
(ArdourButton no longer supports font size via markup)
2014-09-06 00:42:05 +02:00
4a00bdf04a 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.
2014-09-06 00:41:56 +02:00
8fc6205e4e set proper name (font) for number labels 2014-09-05 23:44:39 +02:00
dcb495676f never change button element name.
changing the name overrides font style.
2014-09-05 23:44:30 +02:00
42ef3cab32 no more button text position rounding
For all non-grouped buttons, size request takes
care of assigning a proper geometry.
2014-09-05 23:43:09 +02:00
50d3afd965 further button size polish 2014-09-05 17:40:34 +02:00
b7faa05882 fix alert box: identical layout as transport option buttons 2014-09-05 17:30:34 +02:00
5fda9d55a4 increase fixed button sizes on meterbridge 2014-09-05 17:27:59 +02:00
35d8f18990 hard stop blinking rec-arm 2014-09-05 17:26:21 +02:00
6af935a3b8 updated .po files 2014-09-04 22:24:41 -04:00
0ae8dd4bdb 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.
2014-09-05 04:20:15 +02:00
ada9f10687 fix 849d80b - don't show solo Lock/Iso on master bus 2014-09-05 03:10:59 +02:00
70be12afaa gain-meter: use new PixFader API 2014-09-05 02:38:24 +02:00
4c12a01b62 re-order TAV widget packing:
allow to resize automation tracks on the indent handle, too
2014-09-05 00:13:53 +02:00
f08b67da8c fix typo 2014-09-04 23:26:14 +02:00
86eb72955c use a gloabl size group for track-header ctrl buttons 2014-09-04 23:21:05 +02:00
50753b77f4 transport option buttons should expand to fill space. 2014-09-04 23:16:48 +02:00
4030fe2b66 and some more button px tweaks 2014-09-04 23:16:18 +02:00
2651bc7e10 NOOP, fix indent 2014-09-04 21:12:50 +02:00
4dbfbb6edb fix c4be8c2a67 2014-09-04 21:03:07 +02:00
7b3914c730 "Aux" is a small button now, 2nd line is not visible 2014-09-04 20:11:45 +02:00
86ffa35f84 separate button text-height -> button-height factor, bump to 1.3[em] 2014-09-04 20:11:45 +02:00
dc02625b56 further tweaks pertaining the track-number height 2014-09-04 20:11:44 +02:00
c4be8c2a67 when track selection changes, cancel any and all name editing 2014-09-04 13:57:05 -04:00
d717a0680a properly centered text..
..at the risk of blurring some text with
some fonts when the text is shifted by 0.5px.
2014-09-04 18:12:46 +02:00
795451a697 Trick 17: share separator + border:
This effectively adds a line after the last track.
2014-09-04 18:08:45 +02:00
cb05e3a21d dedicated TAV separator line 2014-09-04 17:01:28 +02:00
70358639de Revert "cont'd work on automation-track headers (amend ba53af1c5)"
This reverts commit beb5e3e777.
2014-09-04 16:14:01 +02:00
dc4ee8196f fix LED active area 2014-09-04 15:06:42 +02:00
1f20be1571 make generic buttons less prominent 2014-09-04 15:05:37 +02:00
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
98404c6e62 ardour button sizes, now [em] based. 2014-09-04 02:24:37 +02:00
0d4460b736 merge fix 2014-09-03 15:26:33 -05:00
69ac29d375 consolidate some slider styles, and make bg darker 2014-09-03 15:26:33 -05:00
66f60970dd use the new RecButton element for the master rec arm (?) 2014-09-03 15:26:33 -05:00
a9d19c9720 actively recording track-arm button is red, not pink 2014-09-03 15:26:33 -05:00
11a376031f amend a99bd289 (button x-axis padding) 2014-09-03 22:17:25 +02:00
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
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
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
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
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
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