Robin Gareus
d8291550e7
Rectangle is ambiguous on Windows
...
In file included from /usr/share/mingw-w64/include/windows.h:71:0,
from /home/ardour/win-stack-w32/include/pthread.h:198,
from /home/ardour/ardour-w32/libs/pbd/pbd/event_loop.h:29,
from /home/ardour/ardour-w32/libs/pbd/pbd/signals.h:42,
from /home/ardour/ardour-w32/libs/midi++2/midi++/parser.h:26,
from ../libs/surfaces/push2/mix.cc:30:
/usr/share/mingw-w64/include/wingdi.h:3049:67: note: candidates are: WINBOOL Rectangle(HDC, int, int, int, int)
In file included from ../libs/surfaces/push2/mix.cc:48:0:
/home/ardour/ardour-w32/libs/canvas/canvas/rectangle.h:30:48: note: class ArdourCanvas::Rectangle
2016-09-29 13:56:10 +02:00
Paul Davis
0a9c12f250
MacOS [sic] required changes for Rect in Push 2 code
2016-09-28 17:24:14 -04:00
Paul Davis
1aab360b7d
remove unnecessary method
2016-09-28 17:23:52 -04:00
Paul Davis
c8ae41d598
fix errors reported by pixman for meter redraws (and add more comments to help the coordinate challenged
2016-09-28 13:37:19 -05:00
Paul Davis
67e415e14c
make Ben's cool range select hack work with Push 2
2016-09-28 11:28:45 -05:00
Paul Davis
e25a4371cb
output more stuff to the error channel if/when a session fails to load/be created
2016-09-28 11:28:45 -05:00
Paul Davis
6c4627b1b7
fix for push2 code on Windows (no random())
2016-09-28 10:51:01 -05:00
Paul Davis
b6e62c6654
move mode/scale/key definitions out of push2 code and into libardour; Aeolian is the same as Minor
2016-09-28 10:47:17 -05:00
nick_m
cd9c2cedfb
Prevent overwriting of MidiRegion length and length_beats during session load.
...
- .
2016-09-29 01:27:42 +10:00
nick_m
fa350c7aca
Remove bogus methods from MidiRegion.
2016-09-29 01:27:42 +10:00
nick_m
dcae6c42b6
Remove _length_pulse from MidiSource.
2016-09-29 01:27:42 +10:00
nick_m
8c6e9e15d4
Add headless-chicken session utility.
...
- provides an upgrade path for sessions affected by a nasty bug
present in some 5.0 - 5.3 MIDI sessions.
If testing from source, it can be run from the session_utils directory
using ./run ardour5-headless-chicken -h
2016-09-29 01:27:42 +10:00
Robin Gareus
cf8cc19449
allow to get custom/product/version independent cach dir
2016-09-28 13:13:56 +02:00
Paul Davis
0fc4a61fa0
don't render push2 layouts to PNG
2016-09-27 15:42:36 -05:00
Paul Davis
a6d4bb0432
add missing/moved files from push2 merge
2016-09-27 15:42:26 -05:00
Paul Davis
bbc410dae8
push2: add code to render screen to PNG files for screenshot purposes
2016-09-27 14:59:32 -05:00
Paul Davis
3a7cf72752
push2: tweak layout APIs etc.
2016-09-27 14:59:32 -05:00
Paul Davis
db4edbf3b5
push2: tweak logic of master button
2016-09-27 14:59:32 -05:00
Paul Davis
303358973f
push2: improve logic of ::set_current_layout() to allow reset of same layout
2016-09-27 14:59:32 -05:00
Paul Davis
0006f28511
push2: don't illuminate a button we do not use
2016-09-27 14:59:32 -05:00
Paul Davis
5e6249b7b1
push2: null handle on failed open
2016-09-27 14:59:32 -05:00
Paul Davis
81f2ed452b
provide ArdourCanvas::Text::{width,height}()
2016-09-27 14:59:32 -05:00
Paul Davis
0cd60747a5
push2: fix issue with solo/mute display when entering mix layout
2016-09-27 14:59:32 -05:00
Paul Davis
33015a7173
push2: many improvements to track mix and mix layouts
...
Including meters and clocks
2016-09-27 14:59:32 -05:00
Paul Davis
a5e112a73f
push2: correct knob origin translation for drawing
2016-09-27 14:59:32 -05:00
Paul Davis
df5bb70616
optimize canvas meter redrawing (as in the non-canvas version)
2016-09-27 14:59:32 -05:00
Paul Davis
726c10b6ac
correct comment
2016-09-27 14:59:32 -05:00
Paul Davis
1c94f6490e
bug fixes for vertically-drawn Canvas::Meter
2016-09-27 14:59:32 -05:00
Paul Davis
fccd0da9c6
bug fixes for Canvas::Box
2016-09-27 14:59:32 -05:00
Paul Davis
8be313932e
use new canvas meter in push2 track mix layout
2016-09-27 14:59:32 -05:00
Paul Davis
29b8072555
add canvas-based Meter object
2016-09-27 14:59:32 -05:00
Paul Davis
85c1523611
add new Box container for Canvas.
...
API subject to change and improvement
2016-09-27 14:59:32 -05:00
Paul Davis
ba82e673fd
add variant of Rect::expand() that allows different amounts in each direction
2016-09-27 14:59:32 -05:00
Paul Davis
5d43d2e43f
don't do as much work if a Rectangle has no outline width or outline what values
2016-09-27 14:59:32 -05:00
Paul Davis
f66f7ba136
make inclusion/exclusion of hidden children optional in Item::add_child_bounding_boxes
2016-09-27 14:59:32 -05:00
Paul Davis
5672419fff
add Item::add_front()
2016-09-27 14:59:32 -05:00
Paul Davis
095bdb7d40
make Item::child_changed() virtual
2016-09-27 14:59:32 -05:00
Paul Davis
e1fb7fe9fc
working canvas meter code
2016-09-27 14:59:32 -05:00
Paul Davis
7a0e2ceec0
first pass (incomplete) at canvas meters (in push2 context)
2016-09-27 14:59:32 -05:00
Paul Davis
879b09d920
stop crashes from out-of-range values
2016-09-27 14:59:32 -05:00
Paul Davis
7c82792a57
missing includes
2016-09-27 14:59:32 -05:00
Paul Davis
feafcbf61d
fix various aspects of knob function
2016-09-27 14:59:32 -05:00
Paul Davis
7594e7644a
vpot above metronome button controls click gain; master gain knob now works correctly
2016-09-27 14:59:32 -05:00
Paul Davis
0f39f27375
fix issue with initial menu display
2016-09-27 14:59:32 -05:00
Paul Davis
6d5878a926
leave a comment about port reconnection
2016-09-27 14:59:32 -05:00
Paul Davis
0aaf2d1f34
clear filtered note map when entered drum mode
2016-09-27 14:59:32 -05:00
Paul Davis
ae01ac2384
update pad colors when selected track colors chane
2016-09-27 14:59:32 -05:00
Paul Davis
a9a3b71807
change handling of MIDI sysex incoming to be a little more efficient
2016-09-27 14:59:32 -05:00
Paul Davis
44c0ea2095
fix assignment of palette colors by using white-balance = 126; also use ArdourCanvas color macros
2016-09-27 14:59:32 -05:00
Paul Davis
48087c3161
update selection rect color when track color changes
2016-09-27 14:59:32 -05:00