ardour.git
9 years agoremove frame from barcontroller
Robin Gareus [Sun, 31 Aug 2014 17:36:41 +0000 (19:36 +0200)]
remove frame from barcontroller

9 years agoset initial TAV style
Robin Gareus [Sun, 31 Aug 2014 16:51:04 +0000 (18:51 +0200)]
set initial TAV style

9 years agoupdate track-header width when changing show-track-meters
Robin Gareus [Sun, 31 Aug 2014 14:46:11 +0000 (16:46 +0200)]
update track-header width when changing show-track-meters

9 years agomove midi scroomer to right of meter and fix alignment
Robin Gareus [Sun, 31 Aug 2014 14:15:52 +0000 (16:15 +0200)]
move midi scroomer to right of meter and fix alignment

9 years agoright side track-header control buttons (for non mixbus profile)
Robin Gareus [Sun, 31 Aug 2014 14:12:43 +0000 (16:12 +0200)]
right side track-header control buttons (for non mixbus profile)

9 years agoproper round corners on focused TextEntry
Robin Gareus [Sun, 31 Aug 2014 10:46:45 +0000 (12:46 +0200)]
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.

9 years agoproper round corners for peak&gain display
Robin Gareus [Sun, 31 Aug 2014 10:08:39 +0000 (12:08 +0200)]
proper round corners for peak&gain display

9 years agoexperiment with track-selection box shadow
Robin Gareus [Sun, 31 Aug 2014 06:08:36 +0000 (08:08 +0200)]
experiment with track-selection box shadow

9 years agofix [potential] double clock connection:
Robin Gareus [Sun, 31 Aug 2014 05:54:59 +0000 (07:54 +0200)]
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.

9 years agoprepare for clang static analysis of RT-functions:
Robin Gareus [Sun, 31 Aug 2014 05:50:17 +0000 (07:50 +0200)]
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")))

9 years agodistinguish global peak-reset button from meters:
Robin Gareus [Sun, 31 Aug 2014 05:43:21 +0000 (07:43 +0200)]
distinguish global peak-reset button from meters:

With > 2 channels, the editor toolbar meters are
otherwise very similar to the reset-button.

9 years agonew min. height for midi controls
Robin Gareus [Sun, 31 Aug 2014 05:12:41 +0000 (07:12 +0200)]
new min. height for midi controls

9 years agoupdate track-header width when track-number visibility is toggled
Robin Gareus [Sun, 31 Aug 2014 05:12:21 +0000 (07:12 +0200)]
update track-header width when track-number visibility is toggled

9 years agoremove (unused) separator, update TAV height calc.
Robin Gareus [Sun, 31 Aug 2014 05:12:00 +0000 (07:12 +0200)]
remove (unused) separator, update TAV height calc.

9 years agosimplify time-axis packing: consistent table layout
Robin Gareus [Sun, 31 Aug 2014 05:11:24 +0000 (07:11 +0200)]
simplify time-axis packing: consistent table layout

9 years agorevert parts of bf13bf63, change track-header color on selection
Robin Gareus [Sat, 30 Aug 2014 18:55:18 +0000 (20:55 +0200)]
revert parts of bf13bf63, change track-header color on selection

9 years agoNOOP, re-indent, fix whitespace
Robin Gareus [Sat, 30 Aug 2014 18:56:31 +0000 (20:56 +0200)]
NOOP, re-indent, fix whitespace

9 years agodisconnect pixfader style-change signal in dtor (amend 5a688b672)
Robin Gareus [Sat, 30 Aug 2014 18:58:03 +0000 (20:58 +0200)]
disconnect pixfader style-change signal in dtor (amend 5a688b672)

9 years agoupdate clocks and video-frames at FPS
Robin Gareus [Sat, 30 Aug 2014 18:48:37 +0000 (20:48 +0200)]
update clocks and video-frames at FPS

9 years agoadd an idle callback at FPS
Robin Gareus [Sat, 30 Aug 2014 18:57:22 +0000 (20:57 +0200)]
add an idle callback at FPS

9 years agoredraw clock(s) only when needed.
Robin Gareus [Sat, 30 Aug 2014 18:17:34 +0000 (20:17 +0200)]
redraw clock(s) only when needed.

9 years agovideo-pullup and timecode-format are session options
Robin Gareus [Sat, 30 Aug 2014 18:11:07 +0000 (20:11 +0200)]
video-pullup and timecode-format are session options

9 years agoupdate dropdown triangle
Robin Gareus [Sat, 30 Aug 2014 16:26:03 +0000 (18:26 +0200)]
update dropdown triangle

9 years agofader+meter: update numeric display bg on style change
Robin Gareus [Sat, 30 Aug 2014 02:17:10 +0000 (04:17 +0200)]
fader+meter: update numeric display bg on style change

9 years agopixfader: use parent's background color
Robin Gareus [Sat, 30 Aug 2014 02:16:18 +0000 (04:16 +0200)]
pixfader: use parent's background color

9 years agofix some compiler warnings
Robin Gareus [Sat, 30 Aug 2014 00:26:36 +0000 (02:26 +0200)]
fix some compiler warnings

9 years agofix cairo widget background
Robin Gareus [Fri, 29 Aug 2014 23:42:37 +0000 (01:42 +0200)]
fix cairo widget background

9 years agoremove cruft
Robin Gareus [Fri, 29 Aug 2014 23:40:16 +0000 (01:40 +0200)]
remove cruft

9 years agoArdourButton align text to full pixels
Robin Gareus [Fri, 29 Aug 2014 22:43:24 +0000 (00:43 +0200)]
ArdourButton align text to full pixels

9 years agored-border selection for tracks, regions, and processors. requesting comments
Ben Loftis [Fri, 29 Aug 2014 22:16:32 +0000 (17:16 -0500)]
red-border selection for tracks, regions, and processors. requesting comments

9 years agotry a different method of text display on automation bars
Ben Loftis [Thu, 28 Aug 2014 21:42:02 +0000 (16:42 -0500)]
try a different method of text display on automation bars

9 years agoArdour button, proper cairo fill+stroke px alignments
Robin Gareus [Fri, 29 Aug 2014 21:02:35 +0000 (23:02 +0200)]
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

9 years agomark "Label Buttons" as inactive
Robin Gareus [Fri, 29 Aug 2014 19:10:20 +0000 (21:10 +0200)]
mark "Label Buttons" as inactive

9 years agoexplicit Button inactive state.
Robin Gareus [Fri, 29 Aug 2014 19:08:49 +0000 (21:08 +0200)]
explicit Button inactive state.

Ideally large parts of ArdourButton would become ArdourLabel,
which in turn is used by ArdourButton

9 years agoArdourButton: suppress visible response if no action is defined.
Robin Gareus [Fri, 29 Aug 2014 18:20:37 +0000 (20:20 +0200)]
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)

9 years agoamend 7be3c88a, update rec-en color
Robin Gareus [Fri, 29 Aug 2014 17:55:25 +0000 (19:55 +0200)]
amend 7be3c88a, update rec-en color

9 years agoexperiment with unicode circle for rec-en
Robin Gareus [Thu, 28 Aug 2014 23:13:49 +0000 (01:13 +0200)]
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)

9 years agouse 2 digit width as minium for track number labels
Robin Gareus [Thu, 28 Aug 2014 20:36:53 +0000 (22:36 +0200)]
use 2 digit width as minium for track number labels

9 years agoprocessor toggle controls should be blue when activated
Ben Loftis [Thu, 28 Aug 2014 20:33:58 +0000 (15:33 -0500)]
processor toggle controls should be blue when activated

9 years agoyet another ArdourButton action tweak
Ben Loftis [Thu, 28 Aug 2014 20:24:16 +0000 (15:24 -0500)]
yet another ArdourButton action tweak

9 years agofix plugin bypass button action
Ben Loftis [Thu, 28 Aug 2014 19:55:39 +0000 (14:55 -0500)]
fix plugin bypass button action

9 years agovideo-timeline tools path updates for OSX and Windows
Robin Gareus [Thu, 28 Aug 2014 19:39:39 +0000 (21:39 +0200)]
video-timeline tools path updates for OSX and Windows

9 years agoremove offset from icons when button is pushed
Ben Loftis [Thu, 28 Aug 2014 19:29:49 +0000 (14:29 -0500)]
remove offset from icons when button is pushed

9 years agoMore fixes to ArdourButton actions.
Ben Loftis [Thu, 28 Aug 2014 19:25:19 +0000 (14:25 -0500)]
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.

9 years agoadd option to blink rec-enables
Ben Loftis [Wed, 27 Aug 2014 19:41:49 +0000 (14:41 -0500)]
add option to blink rec-enables

9 years agoFix ArdourButton event sequence.
Ben Loftis [Thu, 28 Aug 2014 15:31:57 +0000 (10:31 -0500)]
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.

9 years agobrighten post-fader redirects, and change redirect leds to blue
Ben Loftis [Thu, 28 Aug 2014 13:58:26 +0000 (08:58 -0500)]
brighten post-fader redirects, and change redirect leds to blue

9 years agoreplace missing fader redirect color
Ben Loftis [Thu, 28 Aug 2014 13:19:49 +0000 (08:19 -0500)]
replace missing fader redirect color

9 years agoAdd an extra folder to get searched (on Windows only) when looking for config files.
John Emmas [Thu, 28 Aug 2014 07:08:43 +0000 (08:08 +0100)]
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.

9 years agoMake sure all our VC projects agree that the product is called 'Mixbus3' (as opposed...
John Emmas [Thu, 28 Aug 2014 06:55:46 +0000 (07:55 +0100)]
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.

9 years agomove preferences->GUI->Metering into its own tab
Ben Loftis [Wed, 27 Aug 2014 19:02:00 +0000 (14:02 -0500)]
move preferences->GUI->Metering into its own tab

9 years agoStandardize drawing of PixFader and BarController; implement flat_buttons and prelight.
Ben Loftis [Wed, 27 Aug 2014 16:58:09 +0000 (11:58 -0500)]
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

9 years agoeven more flat_buttons
Ben Loftis [Wed, 27 Aug 2014 16:56:06 +0000 (11:56 -0500)]
even more flat_buttons

9 years agomore flat_button refactoring. try centering the gain and peak displays
Ben Loftis [Wed, 27 Aug 2014 16:55:32 +0000 (11:55 -0500)]
more flat_button refactoring.  try centering the gain and peak displays

9 years agouse ArdourButtons on the automation time axis
Ben Loftis [Wed, 27 Aug 2014 16:53:53 +0000 (11:53 -0500)]
use ArdourButtons on the automation time axis

9 years agomore flat_button refactoring
Ben Loftis [Wed, 27 Aug 2014 16:53:30 +0000 (11:53 -0500)]
more flat_button refactoring

9 years agorefactor flat_buttons into cairowidget, and add a canvas-like convenience function...
Ben Loftis [Wed, 27 Aug 2014 15:55:01 +0000 (10:55 -0500)]
refactor flat_buttons into cairowidget, and add a canvas-like convenience function for setting cairo color with a Gtk::Color

9 years agofix pushed-in state of invert buttons, and fix an initizlization order warning
Ben Loftis [Wed, 27 Aug 2014 15:49:36 +0000 (10:49 -0500)]
fix pushed-in state of invert buttons, and fix an initizlization order warning

9 years agoRationalize ArdourButton and lots of associated theming issues.
Ben Loftis [Fri, 22 Aug 2014 16:45:34 +0000 (11:45 -0500)]
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.

9 years agorefactor _grabbed into cairo_widget
Ben Loftis [Thu, 21 Aug 2014 16:13:23 +0000 (11:13 -0500)]
refactor _grabbed into cairo_widget

9 years agoMerge branch 'selection_fixes' of https://github.com/nmains/ardour into cairocanvas
Robin Gareus [Thu, 14 Aug 2014 15:48:11 +0000 (17:48 +0200)]
Merge branch 'selection_fixes' of https://github.com/nmains/ardour into cairocanvas

9 years agoFix crash on snapshot change.
nick_m [Thu, 14 Aug 2014 15:42:48 +0000 (01:42 +1000)]
Fix crash on snapshot change.

9 years agoMerge branch 'selection_fixes' of https://github.com/nmains/ardour into cairocanvas
Robin Gareus [Wed, 13 Aug 2014 17:39:01 +0000 (19:39 +0200)]
Merge branch 'selection_fixes' of https://github.com/nmains/ardour into cairocanvas

9 years agoAdd backwards compatibility for instant.xml changes.
nick_m [Wed, 13 Aug 2014 17:19:40 +0000 (03:19 +1000)]
Add backwards compatibility for instant.xml changes.

9 years agoMove ExportProfile xml from Session instant.xml to session file.
nick_m [Wed, 13 Aug 2014 16:52:42 +0000 (02:52 +1000)]
Move ExportProfile xml from Session instant.xml to session file.

9 years agoremove cruft related to button-height commit
Ben Loftis [Wed, 13 Aug 2014 16:00:04 +0000 (11:00 -0500)]
remove cruft related to button-height commit

9 years agoYet another attempt to standardize button heights.
Ben Loftis [Wed, 13 Aug 2014 15:56:00 +0000 (10:56 -0500)]
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.

9 years agoClicking already-selected region should clear other selections. Thanks to nick_m
Ben Loftis [Tue, 12 Aug 2014 19:40:43 +0000 (14:40 -0500)]
Clicking already-selected region should clear other selections. Thanks to nick_m

9 years agochange packing so number_label shares space with name_label
Ben Loftis [Mon, 11 Aug 2014 20:08:57 +0000 (15:08 -0500)]
change packing so number_label shares space with name_label

9 years agoshuffle packing order to accomodate midi controls
Ben Loftis [Mon, 11 Aug 2014 19:44:12 +0000 (14:44 -0500)]
shuffle packing order to accomodate midi controls

9 years agoNew track header layout.
Ben Loftis [Mon, 11 Aug 2014 17:57:48 +0000 (12:57 -0500)]
New track header layout.
Vertical alignment no longer depends on number of meters shown.
Looking for comments.

9 years agofix new backends wscript to work correctly in the Ardour case
Paul Davis [Fri, 8 Aug 2014 15:00:30 +0000 (11:00 -0400)]
fix new backends wscript to work correctly in the Ardour case

9 years agouse some structured code to decide which backends to build (should have cherry picked...
Paul Davis [Fri, 8 Aug 2014 14:57:10 +0000 (10:57 -0400)]
use some structured code to decide which backends to build (should have cherry picked from waves' code but ...)

9 years agoUse explicit strip widths and button heights for the mixer
Ben Loftis [Wed, 6 Aug 2014 20:47:22 +0000 (15:47 -0500)]
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

9 years agoMore fixes for range-based automation editing.
Ben Loftis [Wed, 6 Aug 2014 19:43:40 +0000 (14:43 -0500)]
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

9 years agoInitial steps towards usable range-based automation editing.
Ben Loftis [Tue, 5 Aug 2014 20:42:06 +0000 (15:42 -0500)]
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

9 years agoModify our VC project files to work with msvc32-fixup.pl
John Emmas [Mon, 4 Aug 2014 08:02:17 +0000 (09:02 +0100)]
Modify our VC project files to work with msvc32-fixup.pl

9 years agoAdd our various '.in' files (to be processed by msvc32-fixup.pl)
John Emmas [Mon, 4 Aug 2014 08:00:11 +0000 (09:00 +0100)]
Add our various '.in' files (to be processed by msvc32-fixup.pl)

9 years agoAdd the remaining 'API_VERSION' properties to msvc32-fixup.pl
John Emmas [Mon, 4 Aug 2014 07:52:06 +0000 (08:52 +0100)]
Add the remaining 'API_VERSION' properties to msvc32-fixup.pl

9 years agoEnforce mixer strip widths, more case fixes, and minor theme changes
Ben Loftis [Fri, 1 Aug 2014 20:44:42 +0000 (15:44 -0500)]
Enforce mixer strip widths, more case fixes, and minor theme changes

9 years agoconsistently use mixed-case labels
Ben Loftis [Fri, 1 Aug 2014 19:31:18 +0000 (14:31 -0500)]
consistently use mixed-case labels

9 years agotop button table causes spacing issues when items are hidden. removed it.
Ben Loftis [Fri, 1 Aug 2014 19:09:51 +0000 (14:09 -0500)]
top button table causes spacing issues when items are hidden. removed it.

9 years agoallow track headers to select io from right-click menu
Ben Loftis [Fri, 1 Aug 2014 18:48:33 +0000 (13:48 -0500)]
allow track headers to select io from right-click menu

9 years agofix gain entry cancellation, per the_CLA
Ben Loftis [Fri, 1 Aug 2014 18:23:25 +0000 (13:23 -0500)]
fix gain entry cancellation, per the_CLA

9 years agoAdd preliminary version of win32-fixup.pl (i.e. msvc32-fixup.pl)
John Emmas [Fri, 1 Aug 2014 08:32:22 +0000 (09:32 +0100)]
Add preliminary version of win32-fixup.pl (i.e. msvc32-fixup.pl)

9 years agoAdd the removed files to '.gitignore'
John Emmas [Fri, 1 Aug 2014 08:26:19 +0000 (09:26 +0100)]
Add the removed files to '.gitignore'

9 years agoDitto - 'icons/win32/msvc_resources.rc'
John Emmas [Fri, 1 Aug 2014 08:21:11 +0000 (09:21 +0100)]
Ditto - 'icons/win32/msvc_resources.rc'

9 years agoDelete '.vsprops' files (MSVC) in preparation for win32-fixup.pl
John Emmas [Fri, 1 Aug 2014 08:19:42 +0000 (09:19 +0100)]
Delete '.vsprops' files (MSVC) in preparation for win32-fixup.pl

9 years agomicro tweaks to width box and name button layout
Ben Loftis [Thu, 31 Jul 2014 20:37:38 +0000 (15:37 -0500)]
micro tweaks to width box and name button layout

9 years agoIncrease mixer strip button vpad to 4.
David Robillard [Thu, 31 Jul 2014 19:56:34 +0000 (15:56 -0400)]
Increase mixer strip button vpad to 4.
Fix issue where soloing resized buttons.

9 years agoAdd 1px border to mixer strip so buttons don't overlap selection border.
David Robillard [Wed, 30 Jul 2014 22:51:45 +0000 (18:51 -0400)]
Add 1px border to mixer strip so buttons don't overlap selection border.

9 years agoUse text to specify combo box padding for better font/display tolerance.
David Robillard [Wed, 30 Jul 2014 22:27:12 +0000 (18:27 -0400)]
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.

9 years agouse FocusEntry for the peak_display, so it matches the size of gain_display
Ben Loftis [Wed, 30 Jul 2014 17:30:15 +0000 (12:30 -0500)]
use FocusEntry for the peak_display, so it matches the size of gain_display

9 years agoMore colour tweaks according to IRC discussion.
David Robillard [Wed, 30 Jul 2014 17:10:35 +0000 (13:10 -0400)]
More colour tweaks according to IRC discussion.

9 years agoShrink minimum width a bit by using the same hpad for all toolbar selectors.
David Robillard [Wed, 30 Jul 2014 03:44:57 +0000 (23:44 -0400)]
Shrink minimum width a bit by using the same hpad for all toolbar selectors.

30 was already being used for some, and looks like more than enough padding,
for me.  Hopefully is enough everywhere.

9 years agoConsistent styling for toolbar buttons.
David Robillard [Wed, 30 Jul 2014 03:39:01 +0000 (23:39 -0400)]
Consistent styling for toolbar buttons.

All the different looks here didn't seem to convey anything useful to me, and
looked sloppy.  I went with the style of the transport button.

It would be nice if we could style button elements like Inset in the
configuration, but this would require some work.

9 years agoVarious UI tweaks.
Ben Loftis [Tue, 29 Jul 2014 21:40:19 +0000 (16:40 -0500)]
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

9 years agoIn the mixbus mixer, the rec/mon buttons are smaller
Ben Loftis [Tue, 29 Jul 2014 16:48:35 +0000 (11:48 -0500)]
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

9 years agogrouped faders should have relative gain by default
Ben Loftis [Mon, 28 Jul 2014 21:20:24 +0000 (16:20 -0500)]
grouped faders should have relative gain by default

9 years agoremove some cruft with group button, move it under fader
Ben Loftis [Mon, 28 Jul 2014 21:16:51 +0000 (16:16 -0500)]
remove some cruft with group button, move it under fader