13
0
Commit Graph

14349 Commits

Author SHA1 Message Date
65e1760446 Ardour button, proper cairo fill+stroke px alignments
rounded rectangles are cairo_arc() path,
for line strokes, offset by .5.

This patch also includes two small related style tweaks:
* Gtkmm2ext::Selected line color & thickness
* 'grabbed' line color & thickness
2014-08-29 23:02:35 +02:00
65287a6f09 mark "Label Buttons" as inactive 2014-08-29 21:10:20 +02:00
78b9f65632 explicit Button inactive state.
Ideally large parts of ArdourButton would become ArdourLabel,
which in turn is used by ArdourButton
2014-08-29 21:08:49 +02:00
083620beb8 ArdourButton: suppress visible response if no action is defined.
This fixes issues where the button is used as Label
(currently track-numbers and meterbridge track-name)
2014-08-29 20:20:37 +02:00
d6454dfb36 amend 7be3c88a, update rec-en color 2014-08-29 19:55:25 +02:00
7be3c88a3e experiment with unicode circle for rec-en
fixes button-area width mismatch on track-headers
except for tape-tracks (which till use old fixed size icon)
2014-08-29 01:13:49 +02:00
392f4847b0 use 2 digit width as minium for track number labels 2014-08-28 22:38:59 +02:00
99051c3af4 processor toggle controls should be blue when activated 2014-08-28 15:33:58 -05:00
39e2223fee yet another ArdourButton action tweak 2014-08-28 15:29:18 -05:00
b0477f7f1e fix plugin bypass button action 2014-08-28 15:29:18 -05:00
e6ab754e4f video-timeline tools path updates for OSX and Windows 2014-08-28 21:39:59 +02:00
a4bda23bba remove offset from icons when button is pushed 2014-08-28 14:29:49 -05:00
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
61c11157c0 add option to blink rec-enables 2014-08-28 13:00:59 -05:00
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
3cc19c2cce brighten post-fader redirects, and change redirect leds to blue 2014-08-28 08:58:26 -05:00
9bb7cec013 replace missing fader redirect color 2014-08-28 08:19:57 -05:00
670f55f5e4 Add an extra folder to get searched (on Windows only) when looking for config files.
This is a preliminary test to find out if 'All Users' would be a better place for our (writable) config files, as opposed to the user's personal 'AppData' folder (which we used in Mixbus2). N.B. this should not effect any previous operations on Windows or non-Windows platforms.
2014-08-28 08:08:43 +01:00
65715dd298 Make sure all our VC projects agree that the product is called 'Mixbus3' (as opposed to just 'Mixbus')
It'd be nice if we could use 'ARDOUR::config_dir_name' for this purpose (or perhaps 'PROGRAM_VERSION'). However, neither is implemented widely enough at present to make this practical. Keep an eye on them though, as possible future strategies.
2014-08-28 07:57:20 +01:00
390c480639 move preferences->GUI->Metering into its own tab 2014-08-27 14:02:00 -05:00
d439e93b1e Standardize drawing of PixFader and BarController; implement flat_buttons and prelight.
Prepare for using Controllable interfaces, instead of passing in Adjustments.
ToDo:  reimplement image caching in a standardized way across widgets
2014-08-27 11:58:09 -05:00
fad9068981 even more flat_buttons 2014-08-27 11:56:06 -05:00
71f471f162 more flat_button refactoring. try centering the gain and peak displays 2014-08-27 11:55:32 -05:00
a52e18c7e8 use ArdourButtons on the automation time axis 2014-08-27 11:53:53 -05:00
b4386a6e00 more flat_button refactoring 2014-08-27 11:53:30 -05:00
e7a15027e8 refactor flat_buttons into cairowidget, and add a canvas-like convenience function for setting cairo color with a Gtk::Color 2014-08-27 10:55:01 -05:00
5db98d9372 fix pushed-in state of invert buttons, and fix an initizlization order warning 2014-08-27 10:49:36 -05:00
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
a7226133a9 refactor _grabbed into cairo_widget 2014-08-22 11:49:59 -05:00
c29417f48e Merge branch 'selection_fixes' of https://github.com/nmains/ardour into cairocanvas 2014-08-14 17:48:11 +02:00
nick_m
7e022b6445 Fix crash on snapshot change. 2014-08-15 01:42:48 +10:00
101248d62e Merge branch 'selection_fixes' of https://github.com/nmains/ardour into cairocanvas 2014-08-13 19:39:01 +02:00
nick_m
7099f0ec4e Add backwards compatibility for instant.xml changes. 2014-08-14 03:19:40 +10:00
nick_m
34bf7457c6 Move ExportProfile xml from Session instant.xml to session file. 2014-08-14 02:52:42 +10:00
90397c3ac9 remove cruft related to button-height commit 2014-08-13 11:00:04 -05:00
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
aed4ab6ec9 Clicking already-selected region should clear other selections. Thanks to nick_m 2014-08-12 14:40:43 -05:00
5c1a561325 change packing so number_label shares space with name_label 2014-08-11 15:08:57 -05:00
b41df8e120 shuffle packing order to accomodate midi controls 2014-08-11 14:44:12 -05:00
bf034f48ce New track header layout.
Vertical alignment no longer depends on number of meters shown.
Looking for comments.
2014-08-11 12:59:42 -05:00
126d6d3aae fix new backends wscript to work correctly in the Ardour case 2014-08-08 11:00:30 -04:00
16e37d975f use some structured code to decide which backends to build (should have cherry picked from waves' code but ...) 2014-08-08 10:57:20 -04:00
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
1873bcfa9d More fixes for range-based automation editing.
-Remove redundant start_grab calls.
-Show gain curves in Range mode, so you can see the curves you are selecting
2014-08-06 14:43:40 -05:00
16ca4e0f9a Initial steps towards usable range-based automation editing.
TODO:  needs undo. only works in top quarter of automation lane.  selection model feels weird sometimes.  needs to show gain curve when you are using Range tool
2014-08-05 15:42:06 -05:00
45afed5e9a Modify our VC project files to work with msvc32-fixup.pl 2014-08-04 09:02:17 +01:00
3437cf2677 Add our various '.in' files (to be processed by msvc32-fixup.pl) 2014-08-04 09:00:11 +01:00
04440cd52f Add the remaining 'API_VERSION' properties to msvc32-fixup.pl 2014-08-04 08:52:06 +01:00
f296389fe0 Enforce mixer strip widths, more case fixes, and minor theme changes 2014-08-01 15:44:42 -05:00
b128271f29 consistently use mixed-case labels 2014-08-01 14:31:18 -05:00