Commit graph

15361 commits

Author SHA1 Message Date
Paul Davis
3551e2a066 change ruler rendering to change tick heights and move text down 2014-11-25 15:31:41 +02:00
Paul Davis
0fffa84333 add outline/border on the right side of all Markers 2014-11-25 15:31:06 +02:00
Paul Davis
d1950f4355 fix/improve ruler-related colors 2014-11-25 15:01:58 +02:00
Paul Davis
8cd0008ad0 fix inadvertent commit of commented line 2014-11-25 12:18:56 +02:00
Paul Davis
d4bcf39cd0 fix case of included header file 2014-11-25 12:13:23 +02:00
VKamyshniy
89b211d59f [Summary] Fixing behavior of the FloatingTextEntry 2014-11-25 00:28:53 +02:00
Paul Davis
4d0a059943 when dragging on the canvas, use x,y pointer coordinates to decide if motion has occured.
Using _last_pointer_frame breaks when dragging to the left of the canvas, because we clamp
the value of the frame to >= 0. Motion would step once the pointer crossed the left edge
of the canvas because the frame value would always be zero.

This is not a problem when using the pointer x,y values which end up appropriately negative
under all conditions.
2014-11-24 21:58:56 +02:00
Paul Davis
b0005fa974 improve comment 2014-11-24 21:56:53 +02:00
Paul Davis
dd130c6e9c realign ruler height to the right value 2014-11-24 19:47:39 +02:00
Paul Davis
10776d498a remove port_sources management from MackieControl
This was necessary due to a bug/design issue between Glibmm and Glib (see https://bugzilla.gnome.org/show_bug.cgi?id=561885)
but the problem needs to be managed by the *creator* of the IOSource and that has now moved inside CrossThreadChannel.
2014-11-24 19:38:35 +02:00
Paul Davis
5b108f6f7d remove port_sources management from MidiControlUI
This was necessary due to a bug/design issue between Glibmm and Glib (see https://bugzilla.gnome.org/show_bug.cgi?id=561885)
but the problem needs to be managed by the *creator* of the IOSource and that has now moved inside CrossThreadChannel.
2014-11-24 19:29:23 +02:00
Paul Davis
07d3af8d88 define and use two new colors for loop range marker, when active and not active 2014-11-24 19:29:23 +02:00
Paul Davis
2a04a082fd avoid crash during button press during shutdown of session 2014-11-24 19:29:22 +02:00
Paul Davis
e0080acc3c define and use 2 new colors for divider line in ruler 2014-11-24 19:29:22 +02:00
Paul Davis
5fe8a7321f add missing API 2014-11-24 19:29:22 +02:00
Paul Davis
cce728a803 set ruler divide height 2014-11-24 19:29:22 +02:00
Paul Davis
ca506df094 add API to Ruler to optionally draw a divider (2 single pixel horizontal lines) at some position within the vertical extent of the ruler 2014-11-24 19:29:22 +02:00
Paul Davis
a515c0d520 realign ruler with track headers 2014-11-24 19:29:22 +02:00
Paul Davis
c6d4c94d78 don't use Rectangle::vertical_fraction() to decide which part of the ruler a button press occurs in, use the ruler_divide_height 2014-11-24 19:29:22 +02:00
Paul Davis
47866dcd91 fix UI XML files to remove loopbarheight and add correct rulerdivideheight value 2014-11-24 19:29:22 +02:00
Paul Davis
32d656560d add Editor::ruler_divide_height to specify where the divide in the ruler is between the "upper" and "lower" section 2014-11-24 19:29:22 +02:00
Paul Davis
b0e314a5b2 different drag objects used for drags in upper/lower part of ruler 2014-11-24 19:29:22 +02:00
Paul Davis
4911ce6db0 correct implementation for Rectangle::vertical_fraction() 2014-11-24 19:29:22 +02:00
Paul Davis
5ffa87b8ad add Rectangle::vertical_fraction() as a convenience method 2014-11-24 19:29:22 +02:00
Paul Davis
bd9d4be764 part two of removing loopbar 2014-11-24 19:29:22 +02:00
Paul Davis
37170e234f remove loopbar as part one of refactoring ruler display and event management 2014-11-24 19:29:22 +02:00
YPozdnyakov
f4c1cb945b [Summary]: Bug fix for Windows 2014-11-24 19:28:11 +02:00
YPozdnyakov
234ac74e7c [Summary]: Main Menu (items View and Window) rework 2014-11-24 18:30:49 +02:00
VKamyshniy
9d77334b50 [Summary] Splash screen ON/OFF 2014-11-24 18:14:27 +02:00
VKamyshniy
cef4f75f41 [Summary] Reworking general message dialogs 2014-11-24 11:49:03 +02:00
VKamyshniy
328afb2160 [Summary] Reworking general message dialogs 2014-11-24 10:42:49 +02:00
Paul Davis
9b921615b6 change SessionEvent::Immediate to -1, and ensure that clear_events() uses it rather than a hard-coded value
This fixes a design error of using zero as the flag for an "Immediate" event's action frame. Zero
is a perfectly legitimate action frame for an event (e.g. a Skip event), and using zero was causing
skip events with action-frame == 0 to be treated as immediate, not scheduled.
2014-11-24 09:52:49 +02:00
VKamyshniy
753096efc5 [Commit] Compilation error fix 2014-11-24 02:54:09 +02:00
VKamyshniy
64df45fd22 [Summary] Reworking general message dialogs 2014-11-24 02:54:00 +02:00
VKamyshniy
04ed45bb19 [Summary] Fixing the range of allowed MMC device IDs 2014-11-24 02:11:12 +02:00
VKamyshniy
11167a6ae9 [Summary] Reworking general message dialogs 2014-11-24 02:11:12 +02:00
Greg Zharun
53391399c4 [Summary] Added error reporting for MIDI device initialization on Windows 2014-11-23 18:47:06 +02:00
Paul Davis
be3724c984 double click on ruler starts transport 2014-11-23 18:06:53 +02:00
Paul Davis
7715fe3918 remove use of CrossThreadChannel::selectable() to allow cross-platform implementation of CrossThreadChannel via Glib::IOSource 2014-11-23 17:53:18 +02:00
Paul Davis
6a3808e0a9 assign minsec_ruler_scale and minsec_mark_modulo when zoomed very far out
Avoids crash when computing % minsec_mark_modulo.
2014-11-23 14:35:09 +02:00
YPozdnyakov
bd1848dbf1 [Summary]: bug fix and small refactoring 2014-11-21 17:58:00 +02:00
Nikolay
af64c72f99 [Summary] Sample rate mismatch dialog rework
[Reviewed and remade] VKamyshniy
2014-11-21 12:34:50 +02:00
VKamyshniy
78745a67c4 [Summary] Change request from Igor 2014-11-21 11:07:49 +02:00
Nikolay
cbb29fd129 [Summary] Fixed bug with sample rate switching in the Editor Window 2014-11-21 10:35:24 +02:00
Nikolay
0bd8d02631 [Summary] Fixed visualisation bug in Add tracks dialog 2014-11-21 10:34:12 +02:00
Nikolay
20ca153a09 [Summary] Sample rate mismatch dialog remade 2014-11-21 10:33:04 +02:00
VKamyshniy
45191a8449 [Summary] Fixing incorrectly changed #define 2014-11-20 21:10:02 +02:00
VKamyshniy
c0defccf67 [Summary] No chance of using cairo image surface 2014-11-20 21:04:51 +02:00
VKamyshniy
e85e5e3436 [Summary] No chance of using cairo image surface 2014-11-20 21:04:24 +02:00
VKamyshniy
f1eb3f67c1 [Summary] Pixel hunting 2014-11-20 15:17:41 +02:00