Commit graph

392 commits

Author SHA1 Message Date
Robin Gareus
d25e8f2233 update ArdourButton Icon API 2015-04-07 22:34:09 +02:00
Paul Davis
c819449552 add explanatory comment 2015-04-06 20:14:37 -04:00
Paul Davis
803853b4a4 rationalize incorrect design for removing tracks.
Still requires a way to make this work correctly from the mixer window
2015-04-06 17:56:23 -04:00
Robin Gareus
446baca43b renice mixer strip
Also speed up track creation(!). get_icon()’s
regexp file search takes a surprising long time.
2015-04-06 18:44:55 +02:00
Robin Gareus
c57d2627a2 and lock, too. 2015-04-05 02:06:03 +02:00
Robin Gareus
0c468dc379 add more contexts for SLA. 2015-04-05 00:44:03 +02:00
Robin Gareus
6d531b82e0 add context to single-letter translatable 2015-04-05 00:17:53 +02:00
Robin Gareus
22ca914f1b Revert "fix typo, list output bundles properly."
This reverts commit ba8b91679a.
2015-04-02 19:01:22 +02:00
Paul Davis
d6574c9c40 remove duplicated calls to update solo/mute state from RouteUI descendants.
RouteUI::set_route() already does the right thing. Also remove RouteUI::mute_changed() since its
only role was to handle the mute change signal from a route, which boost::bind() makes unnecessary
since we can connect update_mute_display() directly.
2015-03-31 12:31:06 -04:00
nick_m
ca1856a09b Mixer visibility prefs changes teke effect "live". 2015-03-29 17:43:07 +11:00
Robin Gareus
d44273e8a4 make mixer strip “Add XXX Port” translatable 2015-03-24 02:57:25 +01:00
Robin Gareus
37a9ef0501 indicate MIDI port names (vs audio system ports) 2015-03-12 16:18:06 +01:00
Robin Gareus
69dc9451a7 NOOP, add a missing ‘p’ 2015-03-11 20:06:41 +01:00
Robin Gareus
0272c4f749 renice connection button labels
* pango ellipsize text
* use pretty-names if available
2015-03-11 20:06:41 +01:00
Robin Gareus
ba8b91679a fix typo, list output bundles properly. 2015-03-08 19:02:32 +01:00
Ben Loftis
f4203cce7e Potential fix for confusion for Input/Output buttons on tracks with audio+midi ports 2015-02-25 17:19:44 -06:00
Ben Loftis
e9e29bf2b0 flip the priority of input and output buttons and menus
left-click should show the simple input picker menu.
right-click shows the routing grid.
also reordered the menu to give lower precedence to {add/remove}-port
2015-02-10 14:43:17 -06:00
Paul Davis
64fa63212f move all (G)UI related configuration parameters into UIConfiguration, not RCConfiguration 2014-12-22 13:39:46 -05:00
David Robillard
ea5876b836 Remove dead code. 2014-11-25 02:11:44 -05:00
Robin Gareus
c5e97ea21b Don't show meter-type menu for MIDI-only meters 2014-10-23 14:45:49 +02:00
Robin Gareus
089184c016 fix mixer strip track number display (amend 4a00bdf0) 2014-09-06 12:48:47 +02:00
Robin Gareus
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
Robin Gareus
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
Robin Gareus
ada9f10687 fix 849d80b - don't show solo Lock/Iso on master bus 2014-09-05 03:10:59 +02:00
Robin Gareus
7b3914c730 "Aux" is a small button now, 2nd line is not visible 2014-09-04 20:11:45 +02:00
Robin Gareus
c4212fb10b use tape-track rec-enable icon throughout. 2014-09-03 02:40:01 +02:00
Robin Gareus
eed9542930 get rid of a compiler warning 2014-09-02 16:17:42 +02:00
David Robillard
885f1c71ec Remove unused variables (fix warnings). 2014-08-31 17:54:16 -04:00
Robin Gareus
42e6c9c75d proper round corners for peak&gain display 2014-08-31 12:08:39 +02:00
Robin Gareus
65287a6f09 mark "Label Buttons" as inactive 2014-08-29 21:10:20 +02:00
Ben Loftis
7306568634 More fixes to ArdourButton actions.
Optionally allow events to fallthrough to parents, in particular for the DnDVBox case.
Also allow the number_label to operate as a track selector.
2014-08-28 14:25:19 -05:00
Ben Loftis
3f297f7dab Fix ArdourButton event sequence.
Always give ArdourButton a chance to handle Press or Release events if you override them.
This allows ArdourButtons to do the "Pressed" animation
And it now correctly eats the event so button clicks don't select the channelstrip.
2014-08-28 10:31:57 -05:00
Ben Loftis
74f313dd6b Rationalize ArdourButton and lots of associated theming issues.
ArdourButtons now have a "pushed" animation.
The gradient is now implemented in the button, rather than providing 2 colors in the theme, which was burdensome.
Lots of code cleanup in ArdourButton.  Removed several unnecessary flags.
Refactor more stuff into route_ui.
2014-08-22 11:51:20 -05:00
Ben Loftis
f3d524deb7 Yet another attempt to standardize button heights.
Use the same string for all ArdourButtons to define the height.
Height can still vary if you use a different font, though.
2014-08-13 10:57:04 -05:00
Ben Loftis
ce4333f059 Use explicit strip widths and button heights for the mixer
The goal is to preserve a consistent layout and sizing of the buttons.
Button height should not resize based on text, because font styles differ and this leads to inconsistent button heights
Button width should not be based on text or font size;  instead, font size just determines how many chars will be visible in the button
There are some elements of the editor page which _do_ scale based on the text width, and thats probably sensible because the text is predefined, and needs to fit
2014-08-06 15:47:22 -05:00
Ben Loftis
f296389fe0 Enforce mixer strip widths, more case fixes, and minor theme changes 2014-08-01 15:44:42 -05:00
Ben Loftis
b128271f29 consistently use mixed-case labels 2014-08-01 14:31:18 -05:00
Ben Loftis
3687dae6f6 top button table causes spacing issues when items are hidden. removed it. 2014-08-01 14:09:51 -05:00
Ben Loftis
3961017921 allow track headers to select io from right-click menu 2014-08-01 13:48:47 -05:00
Ben Loftis
7cd7927f0a fix gain entry cancellation, per the_CLA 2014-08-01 13:48:47 -05:00
Ben Loftis
f71c060295 micro tweaks to width box and name button layout 2014-07-31 15:37:38 -05:00
David Robillard
b7c4a25560 Increase mixer strip button vpad to 4.
Fix issue where soloing resized buttons.
2014-07-31 15:56:34 -04:00
David Robillard
c5856428d8 Add 1px border to mixer strip so buttons don't overlap selection border. 2014-07-30 18:51:45 -04:00
David Robillard
b75b88a1eb Use text to specify combo box padding for better font/display tolerance.
Consistent mixer strip button height.

The latter works by setting all the button size request heights to the
calculated height of the alphabet.  Thus, all buttons of the same class will be
the same height regardless of their actual text.
2014-07-30 18:30:42 -04:00
Ben Loftis
b32823f074 Various UI tweaks.
Refactor comments dialog into Route_UI so it can be shared by tracks and strips.
Make Color and Comments selections consistent in the menus
Refine the color displays at the top of each mixer strip
Correctly color the number displays on tracks
2014-07-29 16:40:19 -05:00
Ben Loftis
79b34f0d8f In the mixbus mixer, the rec/mon buttons are smaller
If Input is not shown, then you are just mixing, so the_CLA and I think it is ok to hide the MIDI input button with the audio input button
2014-07-29 11:48:35 -05:00
Ben Loftis
4af99f7d00 remove some cruft with group button, move it under fader 2014-07-28 16:16:51 -05:00
Ben Loftis
ed07c53210 clean up cruft in some config variables 2014-07-28 15:55:20 -05:00
Ben Loftis
fb77669ee5 force horizontal scrollbar and spacer, so strips line up nicely 2014-07-28 12:01:54 -05:00
Ben Loftis
96171ebe83 several fixes to make processor selection and deletion feel right, for both mixer and editor-mixer strips 2014-07-24 22:49:47 -05:00