nick_m
bc15146560
Fix inoperative keyboard modifiers when leaving autoscroll.
2015-12-06 22:33:32 +11:00
22b07e0233
NOOP, remove trailing tabs/whitespace.
2015-10-05 16:17:49 +02:00
4dc63966f0
globally remove all trailing whitespace from ardour code base.
...
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
6b019a4953
Move UIConfiguration Singleton into UIConfiguration header
...
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-16 16:55:17 -04:00
fc1e7dbb55
Move DPIReset and ColorsChanged signals into UIConfiguration
2015-09-16 16:55:17 -04:00
8a8b5db2c3
add synth when drag/drop importing .mid - fixes #6474
2015-08-05 17:53:03 +02:00
46c8369328
merge fix
2015-07-16 16:13:24 -05:00
9370a80966
show selection trim cursors in Range mode
2015-06-28 00:52:49 -05:00
nick_m
e0a076d2b6
Mkae automation line / gain line cursors consistent.
2015-06-21 22:14:03 +10:00
42915c19a4
fix cursor in smart mode, when moving up and down the frame handles
2015-06-01 16:18:10 -05:00
22435bb53d
make MouseCursors invalid cursor API be static; use to initialize default cursor value in Drag API; use C API to set canvas cursor
2015-01-24 12:26:58 -05:00
90c1e0ffd2
allow use of null pointer as a valid cursor (implies using cursor of parent window)
2015-01-23 15:19:36 -05:00
a58730e8f9
Revert "Kludgey fix for invisible playhead when scrolled."
...
This reverts commit 8f823388d9
.
2015-01-16 22:06:10 -05:00
8f823388d9
Kludgey fix for invisible playhead when scrolled.
...
The problem this is avoiding makes absolutely no sense. Either I'm dumb, or
something is more deeply wrong with scroll group bounding boxes, or both, but I
don't care anymore. This works. Viva release mode.
2015-01-16 21:04:38 -05:00
b759fd5879
Put playhead on top of everything.
...
Achieve this by adding a new hscroll group just for cursors.
That requires a slightly smarter window_to_canvas() to deal with overlapping
sensitive scroll groups. New rule is that scroll groups can overlap, but the
most sensitive one found from the top down will be chosen to translate
coordinates. This basically means don't overlap scroll groups with different
sensitivities.
In the presence of scroll groups, having a canvas-wide window_to_canvas()
and/or canvas_to_window() fundamentally makes no sense. At some point in the
glorious future we should kill those and use only item-relative coordinate
translation.
2015-01-16 19:13:56 -05:00
cd15d27033
Put tempo lines below tracks.
2015-01-12 01:05:01 -05:00
43e58911a4
Remove unused vertical scroll group.
2015-01-12 01:05:01 -05:00
e79af77a18
Revert "hotfix z-stacking"
...
This reverts commit 03f0229bcf
.
Mitigate the fallout from said overly aggressive revert: preserve the alpha
values to not break the color configuration for when the lines are fixed.
2015-01-12 01:03:17 -05:00
03f0229bcf
hotfix z-stacking
...
This reverts commit 780c1762
and e70c9a3
Both combined introduced various bugs:
* rubberband-selection has a scroll-offset
* region drag/drop has wrong y-offset
* ranges (loop etc) are above the playhead
* possible scroll performance hit (long unclipped
lines in h_scroll_group)
on the downside: time-grid is now no longer visible behind
the rulers. Doing that will require a different approach…
2015-01-11 14:17:47 +01:00
780c17620e
Raise regions about tempo lines.
2015-01-10 19:38:21 -05:00
e70c9a3da1
Show tempo lines under marker bars.
2015-01-08 15:24:14 -05:00
58a4e01430
Update background color when theme is changed.
2015-01-07 01:23:13 -05:00
486d47db0e
Fix smart mode cursor on audio regions.
2014-12-30 12:50:15 -05:00
62355de33a
Fix cursor update on nested entry.
...
For example, if you're in a note and something about the mode changes, it's the
underlying region context that needs to change. So, seems we need a stack of
entry contexts to deal with this sort of thing.
Switching in/out of smart mode still doesn't update immediately because we
don't have the y-coordinate needed to update it.
2014-12-23 13:47:59 -05:00
e00c579fb2
Update canvas cursor on pop.
2014-12-23 13:47:59 -05:00
64fa63212f
move all (G)UI related configuration parameters into UIConfiguration, not RCConfiguration
2014-12-22 13:39:46 -05:00
David Robillard
670938c8c4
Fix various cursor problems.
...
Add a new scoped cursor system that makes it much harder to screw up and end up
with stick cursors and so on.
2014-12-20 01:13:25 -05:00
5fef655380
Remove internal edit mode and add "content" tool.
2014-12-18 20:21:01 -05:00
e90ecdd5c5
Fix marker bars "gradient" colors.
2014-12-16 00:02:06 -05:00
5471ef8a79
make editor rubber band rect have appropriate transparency
2014-12-15 13:37:25 -05:00
7b023f4ee0
next modifier
2014-12-15 10:11:21 -05:00
ccbedaee51
next modifier
2014-12-15 10:00:20 -05:00
04a1893ffd
next modifier, and remove color 102 since nothing uses it
2014-12-15 09:47:39 -05:00
56ca52651e
fix up requested color names everywhere.
...
Thank <deity> for emacs ... space-uncamelcase-word-at-point FTW
2014-12-14 16:15:38 -05:00
48a7a11974
initial pass to replace all UIConfiguration::get_XXXXXX() calls with UIConfiguration::color(name).
...
IMPORTANT: names have not been downcased and spaced yet, so many colors are not found
2014-12-14 12:27:07 -05:00
603748d68a
Unify gain and draw tools.
...
There might be a few special cases lingering around from attempts at magic tool
business, but this seems to work fine as far as I can tell.
2014-12-07 20:37:46 -05:00
8e54baa65f
working compilation for new color code
2014-12-05 09:01:55 -05:00
bd577a0663
Avoid possible use of uninitialized values.
...
This could only happen with a broken widget, but it shuts up clang and doesn't
hurt.
2014-11-18 02:55:03 -05:00
5d5d9cb9e2
Fix various sticky/broken cursor issues.
...
This still isn't quite right, but it's a lot less broken than before, at least.
2014-11-14 02:37:36 -05:00
73e25ec571
redraw entire canvas when ColorsChanged is emitted
2014-11-10 10:45:33 -05:00
0960122686
set canvas background color
2014-11-10 10:45:18 -05:00
db98083f20
Remove unused variable.
2014-10-31 20:46:09 -04:00
ba4d1cd1c1
remove "canvasvar_" from all functions related to obtaining values from ARDOUR_UI::config()
2014-10-21 22:58:58 -04:00
b73f725676
remove mouse zoom mode; bind z to zoom-to-range
2014-10-21 12:47:53 -04:00
46f5c0c769
fix note 15897 on #5589 - only use fader cursor for region gain line when in mouse gain mode
2014-10-21 11:50:06 -04:00
4d0f30f5a8
fix note 0015900 on #5589 (cursor doesn't change when switching edit point
2014-10-13 15:19:07 -04:00
451e48de5f
fix compiler warnings
2014-09-15 14:09:12 -04:00
885f1c71ec
Remove unused variables (fix warnings).
2014-08-31 17:54:16 -04:00
b69870dfe6
add Editor::trackviews_height() convenience function to determine height of trackview area of canvas; use to help fix set_visible_track_count(); don't consider hidden tracks in that function; add "Selected" to that selector menu
2014-07-15 18:09:04 -04:00
d0bc4b55fa
scroll up/down by tracks uses top edge as "focal point"; fix some other nasty code details
2014-07-14 12:36:51 -04:00