Commit graph

11684 commits

Author SHA1 Message Date
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
Paul Davis
acf586b058 add MidiByteArray::compare_n() 2016-09-27 14:59:31 -05:00
Paul Davis
69a789c513 push2: make quantize and duplicate buttons do something useful 2016-09-27 14:59:31 -05:00
Paul Davis
f35c5fd5a6 push2: master button now does something useful 2016-09-27 14:59:31 -05:00
Paul Davis
3aa0676f70 push2: substantial improvements to track mix mode, and a few other details 2016-09-27 14:59:31 -05:00
Paul Davis
f12150a1ed push2: always use a contrasting color when flashing played pads 2016-09-27 14:59:31 -05:00
Paul Davis
cb340bf190 push2: when playing pads, flash all pad LEDs for the same note number for the pressed pad 2016-09-27 14:59:31 -05:00
Paul Davis
0add64d4ab push2: fix color map store/lookup for rgba<=>color index mapping 2016-09-27 14:59:31 -05:00
Paul Davis
9e1c7ccaf8 push2: don't send ScaleChanged unless something did actually change 2016-09-27 14:59:31 -05:00
Paul Davis
33713d6f68 push2: reset pad colors when necessary 2016-09-27 14:59:31 -05:00
Paul Davis
a4cd0d7dae push2: set and use selected track color for root notes on pads 2016-09-27 14:59:31 -05:00
Paul Davis
06683b1bda header file now included in push2.h 2016-09-27 14:59:31 -05:00
Paul Davis
13295cf060 use ArdourCanvas::Color not uint32_t for push2 color decls 2016-09-27 14:59:31 -05:00
Paul Davis
87ab1625ff push2: volume pots now work like non-linear faders, as desired 2016-09-27 14:59:31 -05:00