Commit Graph

5330 Commits

Author SHA1 Message Date
Paul Davis
e2f0c5f91e merge resolution with master 2013-05-02 20:21:54 -04:00
Paul Davis
3973ce81b3 remove all of Gtk::Window::set_position (WIN_POS_MOUSE) for anything deriving from ArdourDialog or ArdourWindow; move the set_position() call into those classes' constructors, so that they are called before the windows are realized, and thus it actually works 2013-05-02 18:13:35 -04:00
Paul Davis
d14f43ccf2 fix operation of right-click on selected MIDI note to bring up the note editor. this is still not really right long term, but it is better than displaying the channel selector 2013-05-02 15:16:56 -04:00
Paul Davis
81485faa83 remove CMT code - has not been used for years, and will become irrelevant with VTL and cairocanvas 2013-05-02 12:21:41 -04:00
Paul Davis
7df1654947 make PluginUIWindow inherit from ArdourWindow not GtkWindow 2013-05-02 10:11:57 -04:00
Paul Davis
d88999312a force ArdourWindows to be TYPE_UTILITY so that they float "with" TYPE_DIALOG windows (at least on OS X - still to be tested on X Window 2013-05-02 10:10:05 -04:00
Paul Davis
88f7524118 hack up AU GUI support to handle AUSampler resizing better. Note that this is still one buggy plugin 2013-05-01 18:41:51 -04:00
Paul Davis
ebb1271b6f Merge branch 'license-fix' of https://github.com/adiknoth/ardour 2013-05-01 13:01:37 -04:00
Paul Davis
35842fd5ee forward port recent mixbus change so that side-scroll is now shift-wheel and height adjustment is alt-wheel, rather than vice versa, to match OS X convention 2013-04-30 16:38:48 -04:00
Paul Davis
a9341bd5f0 improve relationship between ArdourDialog and Splash on OS X, where window restacking doesn't really work the way we need it to. more complex than anticipated because it seems that destroying a Gtk::Dialog does not emit its hide() or unmap() or unmap_event() signals 2013-04-30 13:50:45 -04:00
Paul Davis
63e4c37def remove unnecessary sigc++ header 2013-04-30 13:50:44 -04:00
Paul Davis
d54a35a671 cleanup AU GUI support, which was broken because prefheight and prefwidth were left unset after a cleanup attempt some months ago. add a few more tweaks based on current 2.x code and some tricks found elsewhere that dont' change behaviour but are just better 2013-04-30 11:15:23 -04:00
Paul Davis
07a5372eea fixups for building on OS X where apple define silly macros 2013-04-30 11:14:06 -04:00
Robin Gareus
03310a587c zero/reset closed file-descriptors
should fix issues with LinuxDSP plugins (X11 thread) & xjadeo
2013-04-30 03:28:46 +02:00
Paul Davis
47f9d7fa12 do not lower waveforms to the bottom of their group - they are supposed to be above the time axis view item frame, not below it 2013-04-27 09:23:08 -04:00
Paul Davis
54bf06e63c Merge branch 'master' into cairocanvas 2013-04-26 14:20:11 -04:00
Paul Davis
db34831b18 redesign toggling of editor/mixer stacking to use Gtkmm2ext::VisibilityTracker 2013-04-26 14:12:52 -04:00
Paul Davis
7de31d5a41 use virtual bool canvas_group_event () in TimeAxisViewItems to get suitably delegatable/inherited event handling 2013-04-25 16:06:12 -04:00
Paul Davis
b604dd2413 make MIDI rubber band selects use the correct canvas item so that event processing works 2013-04-25 16:05:21 -04:00
Paul Davis
298d0efc31 reduce playhead line width to 1.5 2013-04-25 16:04:33 -04:00
Paul Davis
737433c446 tweaks to improve enter/leave event handling - fixes at least some crashes caused by this stuff 2013-04-24 18:31:00 -04:00
Paul Davis
6f664c1f67 many pervasive changes primarily related to waveform drawing, particular content-dragging, colors, and more 2013-04-24 15:42:14 -04:00
Adrian Knoth
5e2e8e2cae Drop obsolete file gtk2_ardour/imageframe.cc 2013-04-22 20:57:00 +02:00
Adrian Knoth
7d8ada01d2 Drop obsolete file canvas-imageframe.h 2013-04-22 20:57:00 +02:00
Adrian Knoth
e2d8f25d0c Merge important bits from canvas-image.h into imageframe.h 2013-04-22 20:56:34 +02:00
Adrian Knoth
7ca29e7c75 Add proper GPL license to gtk2_ardour/canvas-imageframe.h
Since the file has been part of libgnomecanvas, it is GPL, too.
2013-04-22 20:47:52 +02:00
Adrian Knoth
61153f7b87 Drop obsolete gtk2_ardour/canvas-imageframe.c
The code is not referenced in the build system anymore.
2013-04-22 20:43:02 +02:00
Paul Davis
0a2a876248 remove probably premature-or-no-longer-necessary optimization of measure line drawing 2013-04-21 15:35:20 -04:00
Paul Davis
b02a7445bf Revert "add Group::clear(), do not clear _canvas member of Item when unparented (only the parent is changed)"
This reverts commit a4df65a56f83823aba27432685977f420458a213.
2013-04-21 15:35:20 -04:00
Paul Davis
fca81c9a6a add Group::clear(), do not clear _canvas member of Item when unparented (only the parent is changed) 2013-04-21 15:35:20 -04:00
Paul Davis
f88cfdb478 remove Editor::redraw_measures to improve efficiency of tempo measure line redraws 2013-04-20 16:11:40 -04:00
Paul Davis
05905d3ec8 thicken up playhead line (again?) 2013-04-20 16:11:40 -04:00
Paul Davis
9fdf60b637 change widths of fade lines 2013-04-20 16:11:40 -04:00
Paul Davis
e55ed5d642 revert to "old" waveform fill color for unselected waveforms 2013-04-19 10:12:40 -04:00
Paul Davis
41abef90d0 fix up "other" fade line colors in xfades, and switch to using canvas var "CrossfadeLine" for crossfade "lines" rather than "GainLine" 2013-04-18 21:30:12 -04:00
Paul Davis
ddd21c110c fix various event coordinate system problems with button events on the rulers 2013-04-18 15:14:48 -04:00
Paul Davis
55d7e8da19 reset xfade colors after theme change 2013-04-18 14:21:53 -04:00
Paul Davis
19b6b45a2a get xfade drawing back to pre-cc days 2013-04-18 11:18:18 -04:00
Paul Davis
ec8d521e98 semi-fix xfade display, and reduce number of calls to Curve::get_vector() by a factor of two 2013-04-18 09:56:01 -04:00
Paul Davis
731b2c1ae9 tweak up waveform fill colors 2013-04-17 15:32:39 -04:00
Paul Davis
fce1733808 fix playhead dragging from rulers 2013-04-17 15:29:03 -04:00
Paul Davis
3737f346ee Merge branch 'cairocanvas' of git.ardour.org:ardour/ardour into cairocanvas 2013-04-17 15:23:01 -04:00
Paul Davis
ec102f94e1 various work waveview amplitude mgmt; fix playhead cursor drag from timebar click 2013-04-17 15:22:09 -04:00
Robin Gareus
8f2a2877b5 ArdourCanvas::Image allow to set custom data instead of class pre-allocated memory. 2013-04-17 20:26:09 +02:00
Paul Davis
9727a23111 Merge branch 'cairocanvas' of git.ardour.org:ardour/ardour into cairocanvas 2013-04-17 11:01:03 -04:00
Paul Davis
b9c94f6dbf remove all calls to Outline::set_outline_width (1) because this is "wrong" when using Cairo - the default is 0.5 and it can remain that way 2013-04-17 10:56:04 -04:00
Paul Davis
d1a05240ef fix clamping of line and rect coordinates to avoid issues with cairo when drawing way outside a surface's dimensions; move various coordinate methods down to Canvas, because they don't require GTK information; make visible_area() a Canvas virtual method so that we don't have to cast to call it 2013-04-17 10:53:17 -04:00
Robin Gareus
74f2472c7d vtl: more frame->sample renames and cleaning 2013-04-17 09:10:47 +02:00
Paul Davis
96eee9e7a1 change UIConfig to use accessor/setter methods like RCConfig so that ParameterChanged methods can actually be emitted; add variable (over a small range) background shading for all TimeAxisViewItems 2013-04-16 23:46:22 -04:00
Paul Davis
eed0201c07 fix bug with tempo lines not extending far enough in the y-axis - since this is the cairo canvas now, just extend them to COORD_MAX .. yay! 2013-04-16 22:22:45 -04:00