Commit graph

14213 commits

Author SHA1 Message Date
Robin Gareus
ca97569c55 disconnect pixfader style-change signal in dtor (amend 5a688b672) 2014-08-30 20:58:03 +02:00
Robin Gareus
dfbc9da79a update clocks and video-frames at FPS 2014-08-30 20:57:27 +02:00
Robin Gareus
16443f44a2 add an idle callback at FPS 2014-08-30 20:57:22 +02:00
Robin Gareus
01864b43e0 redraw clock(s) only when needed. 2014-08-30 20:17:34 +02:00
Robin Gareus
125fe6e3bc video-pullup and timecode-format are session options 2014-08-30 20:11:07 +02:00
Robin Gareus
936cb05989 update dropdown triangle 2014-08-30 18:26:03 +02:00
Robin Gareus
8e3b1c17c1 fader+meter: update numeric display bg on style change 2014-08-30 04:19:48 +02:00
Robin Gareus
5a688b672c pixfader: use parent's background color 2014-08-30 04:19:42 +02:00
Robin Gareus
f5533213c0 fix some compiler warnings 2014-08-30 02:26:36 +02:00
Robin Gareus
585fa45b62 fix cairo widget background 2014-08-30 01:43:10 +02:00
Robin Gareus
926d4eb36e remove cruft 2014-08-30 01:43:10 +02:00
Robin Gareus
4efa0fd77c ArdourButton align text to full pixels 2014-08-30 01:43:10 +02:00
Ben Loftis
bf13bf6385 red-border selection for tracks, regions, and processors. requesting comments 2014-08-29 17:16:32 -05:00
Ben Loftis
40c3e4122c try a different method of text display on automation bars 2014-08-29 16:35:20 -05:00
Robin Gareus
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
Robin Gareus
65287a6f09 mark "Label Buttons" as inactive 2014-08-29 21:10:20 +02:00
Robin Gareus
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
Robin Gareus
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
Robin Gareus
d6454dfb36 amend 7be3c88a, update rec-en color 2014-08-29 19:55:25 +02:00
Robin Gareus
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
Robin Gareus
392f4847b0 use 2 digit width as minium for track number labels 2014-08-28 22:38:59 +02:00
Ben Loftis
99051c3af4 processor toggle controls should be blue when activated 2014-08-28 15:33:58 -05:00
Ben Loftis
39e2223fee yet another ArdourButton action tweak 2014-08-28 15:29:18 -05:00
Ben Loftis
b0477f7f1e fix plugin bypass button action 2014-08-28 15:29:18 -05:00
Robin Gareus
e6ab754e4f video-timeline tools path updates for OSX and Windows 2014-08-28 21:39:59 +02:00
Ben Loftis
a4bda23bba remove offset from icons when button is pushed 2014-08-28 14:29:49 -05: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
61c11157c0 add option to blink rec-enables 2014-08-28 13:00:59 -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
3cc19c2cce brighten post-fader redirects, and change redirect leds to blue 2014-08-28 08:58:26 -05:00
Ben Loftis
9bb7cec013 replace missing fader redirect color 2014-08-28 08:19:57 -05:00
John Emmas
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
John Emmas
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
Ben Loftis
390c480639 move preferences->GUI->Metering into its own tab 2014-08-27 14:02:00 -05:00
Ben Loftis
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
Ben Loftis
fad9068981 even more flat_buttons 2014-08-27 11:56:06 -05:00
Ben Loftis
71f471f162 more flat_button refactoring. try centering the gain and peak displays 2014-08-27 11:55:32 -05:00
Ben Loftis
a52e18c7e8 use ArdourButtons on the automation time axis 2014-08-27 11:53:53 -05:00
Ben Loftis
b4386a6e00 more flat_button refactoring 2014-08-27 11:53:30 -05:00
Ben Loftis
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
Ben Loftis
5db98d9372 fix pushed-in state of invert buttons, and fix an initizlization order warning 2014-08-27 10:49:36 -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
a7226133a9 refactor _grabbed into cairo_widget 2014-08-22 11:49:59 -05:00
Robin Gareus
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
Robin Gareus
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
Ben Loftis
90397c3ac9 remove cruft related to button-height commit 2014-08-13 11:00:04 -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