Valeriy Kamyshniy
f33695946f
[Summary] Pixel hunting
2014-12-18 19:12:09 +02:00
VKamyshniy
acf4135208
[Summary] Corrected vertical position for marker texts.
2014-12-18 11:18:01 +02:00
Paul Davis
fa0ffa8190
fix badly worded comment
2014-12-16 12:30:20 -05:00
Paul Davis
e95d95c19e
fix horrendous indentation. Doesn't anybody have any standards around here?
2014-12-16 12:29:32 -05:00
Greg Zharun
b703913a27
[Summary] Added conditional text width correction due to the Pango issue with text length calculation on MAC
2014-12-16 18:29:18 +02:00
GZharun
d547bbb451
[Summary] Added "Locked" inscription for markers when they are locked
2014-12-16 17:35:00 +02:00
Paul Davis
044530ff6c
fix copy-paste error and related bug that stopped new scene change from causing a marker redraw correctly
2014-12-03 14:29:42 -05:00
Paul Davis
9b9ea7576a
more correct connections to location scene change signals.
2014-12-03 13:53:28 -05:00
Paul Davis
104309dedb
attach to Location::SceneChangeChanged to pick up newly-added (or deleted) scene changes; redraw marker when scene change's active status is altered
2014-12-03 13:32:35 -05:00
Valeriy Kamyshniy
274755807c
[Summary] Fixing the bug: marker name label shifted +20 pixels right every time _have_scene_change was set to true.
2014-12-03 02:30:09 +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
ea4222b7f9
when setting marker colors, use the scene change color if appropriate
2014-11-10 21:44:40 -05:00
Paul Davis
02911bcbb5
any bounds change for a Location should raise the marker to the top of its canvas group, to implement "last moved is highest" rule from Igor
2014-11-06 10:54:42 -05:00
Paul Davis
2447af64f4
various work on Marker appearance
...
* restore selectable functionality previously removed
* removed all hard-coded colors
* adjust position of "MIDI" text upward to deal with rounding issue
2014-11-05 11:09:47 -05:00
Paul Davis
83904ef575
remove event sensitivity from marker vertical lines
2014-11-03 09:32:08 -05:00
Paul Davis
3ed57606ca
remove event handling from marker start line, as per Igor's comment on skype
2014-11-02 13:14:04 -05:00
VKamyshniy
43a80f8266
[Summary] Changing contents of Marker and RangeMarker objects in order to change request from Igor
2014-10-30 17:47:42 +02:00
Paul Davis
10189647dc
move [ MIDI ] icon in markers up by 1 pixel to deal with height change in marker lane
2014-10-20 17:23:13 -04:00
Paul Davis
06dfa57561
ensure that MIDI-scene-change markers show their [ MIDI ] icon
2014-10-20 16:43:22 -04:00
Paul Davis
c727b1022d
ruler markers (i.e. loop) never ever show their name
2014-09-30 15:33:16 -04:00
Paul Davis
ea17268558
skip marker appearance should change to reflect global skip-playback setting
2014-09-29 12:05:23 -04:00
Paul Davis
f25f965e3d
make sure vertical line on single-position Marker is visible at creation
2014-09-24 13:00:56 -04:00
Paul Davis
01fa5ba3a2
use Waves' approach to GUI layout (pixel by pixel) to get vertical alignment in arrange area correct (or at least more correct)
2014-09-24 11:37:49 -04:00
Paul Davis
e1fc76485e
fix behaviour of range markers when zoom changes.
...
Ardour-style markers don't change width when zoom changes; Tracks-style markers do
2014-09-23 23:27:32 -04:00
Paul Davis
048b6835c5
remove Marker::_shift and fix up order of execution in RangeMarker::_set_position() to stop "wobbling" end line
2014-09-23 15:16:33 -04:00
Paul Davis
e9de0a5415
get initial length of a range marker correct
2014-09-23 15:16:33 -04:00
Paul Davis
0472453d94
many substantive changes in the handling of ARDOUR::Location, Markers and drags/clicks on Markers.
...
It would have been nice to split this commit into parts, but it is all very interconnected and was not possible to
subdivide.
2014-09-23 10:49:21 -04:00
Paul Davis
5bf9f621c4
remove gradient for RulerMarker; retheme loop (RulerMarker) color; tweak vertical placement of marker start/end lines
2014-09-23 10:49:21 -04:00
Paul Davis
e29836232a
add ::canvas_height_set() virtual method back to Marker, so we can track canvas height
2014-09-23 10:49:21 -04:00
Paul Davis
2bff69b2fa
skip markers respond to single-click by toggling skipping state
2014-09-21 17:38:48 -04:00
Paul Davis
12e7de3f48
start moving responsibility for color management for Markers from Editor into Markers
2014-09-21 17:38:48 -04:00
Paul Davis
f6e9f26045
Markers now hold ptr-to-ARDOUR::Location where appropriate
2014-09-21 17:38:47 -04:00
Paul Davis
9560c4a69e
tweak, extend, alter & derive Marker class to match Tracks PRD
2014-09-19 16:24:40 -04:00
Paul Davis
a95ec7ca5b
various changes to accomodate skip markers (which span the entire range of an ARDOUR::Location) and to add drag-to-create-skip
2014-09-17 21:42:33 -04:00
Paul Davis
c75b7a3f0f
tweak marker drawing and add default_new_marker_prefix string to consolidate default name of new GUI-created markers
2014-09-11 17:00:18 -04:00
Paul Davis
0c326926ab
numerous small changes to get close to PRD spec for marker bar display
2014-09-03 14:45:53 -04:00
Paul Davis
8895d86383
initial hacks to display markers as per PRD
2014-09-03 12:16:19 -04:00
Paul Davis
49867edf83
show marker vertical line at all times
2014-09-03 10:28:10 -04:00
Robin Gareus
a17616f1da
move utility functions into a dedicated namespace
...
Conflicts:
gtk2_ardour/about.cc
gtk2_ardour/editor_ops.cc
2014-08-17 18:51:22 -04:00
Paul Davis
28fdc71d70
more canvas refactoring.
...
Remove Canvas::Layout, use Canvas::Container for the same purpose, move child-rendering into Item::render_children() so that it
could theoretically be used by any derived type.
2014-08-17 17:44:17 -04:00
Paul Davis
3be5f658ea
use newly factored canvas in gtk2_ardour
2014-08-17 17:43:03 -04:00
Paul Davis
678b836853
introduce Drag::_trackview_only which indicates that all y-axis positions for the pointer during a drag should be relative to the top of the trackview group.
...
More or less all drags except for Cursor (playhead) and drags in the range marker bars have this true (which is the default value)
2014-08-17 14:56:20 -04:00
Paul Davis
b74c871094
remove timebar canvas item from markers
2014-08-17 13:38:40 -04:00
Paul Davis
38ff5bb7ca
clamp marker name text appropriately
2014-01-13 09:49:09 -05:00
Paul Davis
c074a8d504
define marker height in one location, to avoid duplicated magic numbers and allow easy changing
2014-01-13 09:39:50 -05:00
Paul Davis
283e3ceb04
move marker text up by 2 pixels
2013-06-26 17:39:27 -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
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
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
64c861a791
fix markers so that the blue line spans both canvases
2013-04-15 16:10:13 -04:00