nick_m
aa097c9e9f
Clean up selection history in Editor destructor.
2015-11-03 05:25:15 +11:00
nick_m
00a1d23d83
Grey out unavailable note context menu items rather than hiding them.
2015-11-01 06:06:31 +11:00
nick_m
336f8d47fe
Clarify context menu for midi notes.
...
- right click on a note selects it if unselected or selection empty.
- note_context_menu is shown as described in #6348
2015-11-01 05:22:55 +11:00
4a3413f2d4
suspend timers while flushing the gtk-event queue.
...
This fixes an issues where Ardour never completes to flush the GUI event
queue due to rapid updates for meters and similar events.
ARDOUR_UI::load_session() never returned and the complete session
ran inside Gtkmm2ext::UI::flush_pending(), this later causes a crash
at exit.
as side effect, this also speeds up session load.
2015-10-30 15:55:27 +01:00
nick_m
24142a424e
Fix redo action sensitivity for non-editor undo stack changes.
2015-10-20 00:53:28 +11:00
André Nusser
e807fe2b28
Introduce "Transpose..." also in the context menu of selected notes.
2015-10-17 22:12:55 -04:00
André Nusser
4c26225ddc
Fix "Select All * Edit Point" when used as shortcut. -fixes #6626
2015-10-08 13:46:22 +02: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
1d42ed077e
Use ARDOUR_UI_UTILS::set_tooltip rather than via ARDOUR_UI::set_tip
...
This removes the direct dependence on ARDOUR_UI/Gtk_UI for setting
tooltips. Removes inclusion of ardour_ui.h from 16 files.
2015-09-16 16:55:17 -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
45d487f16e
Move ARDOUR_UI::ui_scale into UIConfiguration class
2015-09-16 16:55:17 -04:00
4a1f5c7f28
GUI part of memleak fixes
2015-09-12 20:05:46 +02:00
fc079a0ea3
initialize some uninitialized variables.
...
really just nitpicking (keep valgrind clean).
2015-09-06 21:54:54 +02:00
84605fdb14
update summary when re-ordering tracks - fixes #6502
2015-08-08 17:42:50 +02:00
e1f168de11
rename Marker class
...
Classes are in the global namespace.
OSX has a flat namespace and OSX32bit/Carbon has a Marker too.
2015-07-23 17:58:40 +02:00
821cc80a35
stationary PH: improve performance and reduce jitter.
2015-07-07 03:21:01 +02:00
025e8db11d
stationary playhead implies follow playhead
2015-07-04 16:35:49 +02:00
a81bfbfc41
use Tracks' MainMenuDisabler during session lock (could be improved with more RAII)
2015-06-29 14:18:09 -04:00
ee791f251a
make the quantize dialog persistent so that settings are retained
2015-06-26 12:47:11 -04:00
d059bdb40c
fix 1024px width layout (remove nudge clock special case)
...
Due to some change somewhere along the road the nudge clock does
no longer fit in the transport-bar on 1024px screen with 100% font-scale,
even if the 2nd clock is hidden.
However, these days it does fit nicely on its default position even
with wide-editor-mixer on a 1024px screen.
2015-06-17 02:20:02 +02:00
9e44e46c4a
Enable stationary playhead mode.
...
stationary playhead needs to follow same rules as regular moving playhead.
2015-06-04 15:49:56 -05:00
3bdb40109b
Stationary Playhead.
...
It is hard to locate/edit while playing, in this mode.
I think it needs to be an action, not a mode.
2015-05-30 08:31:09 -05:00
cc7a368fb6
Rationalize some aspects of region-gain control-point visibility:
...
Visibility is driven by the currently selected mouse mode.
Visibility no longer depends on entering/exiting the region.
Range mode shows the lines but not the points.
Fixed option text to reflect new operation.
2015-05-26 16:41:03 -05:00
f8de080f13
use vectorized TAV expand/shrink icons
2015-05-25 00:26:09 +02:00
670bbde122
use vectorized zoom icons instead of pixmaps.
2015-05-24 23:10:02 +02:00
1d5c6104f5
replace old ArdourButton::Icon API with Gtkmm2ext.
2015-05-24 21:45:39 +02:00
db7d0c59b5
remove explicit VectorIcon Element
2015-05-24 20:28:24 +02:00
nick_m
88477ace25
Fix inverted logic of SnapOff with snap modifiers pressed.
...
- also clean up, rename and comment some previous hanges.
2015-05-23 03:09:48 +10:00
nick_m
65e06fa350
More cleanup
...
- remove "no_magnets" ugh.
2015-05-22 04:26:16 +10:00
nick_m
eaf49f02ff
Fix up modifier behaviour
...
- its now possible to use snap modifiers in combination with others
afaict this hasn't worked for some time.
- use "contains" rather than "equals" during drag. Still uncertain
about this wrt beginning a drag. for now they are all "equals".
- probably solve the "snap modifier modifier" problem using
ArdourKeyboard::indicates_snap () and friend.
2015-05-22 02:12:58 +10:00
nick_m
dc50730059
Revert to old Lock mode (still called Lock).
...
Also make midi notes obey the snap delta modifire
2015-05-19 03:27:50 +10:00
nick_m
aac167a19f
"Lock" mode is now "Constrained", make snap absolute modifier configurable.
...
- user can abs/rel modifier key in prefs->user interaction
suggested for linux - absolute->alt ignore snap->alt-shift
- Constrained mode works the same as button 2 drag (initial move
sets constraint axis).
2015-05-18 06:25:36 +10:00
nick_m
c359f881a1
Relative Snap -make it activated by the tertiary modifier during drag.
...
Disabled/enabled with the shift key. no config stuff at all now.
Move existing (strange) trim feature to primary + tertiary modifiers.
2015-05-17 23:47:01 +10:00
nick_m
91a34c596d
Relative snap - support magnetic mode (hackishly for now)
2015-05-17 04:26:05 +10:00
nick_m
68a8330afc
Relative snap
2015-05-16 04:15:52 +10:00
nick_m
13f34f3922
Layering - the return of "later is higher".
...
Currently we don't do anything special on layering prefs change
(relayer only occurs when each playlist is first edited). The idea here is
that "undo" is still available to restore previous layering in case of any
surprises.
2015-05-10 03:15:50 +10:00
9b385571e7
fix over-optimzation in e3375c3
.
...
Some users of DisplaySuspender expect an implicit redisplay.
2015-04-30 18:28:27 +02:00
fe6b173236
expose set-range-selection-from-region-selection operation in more places
2015-04-24 14:19:40 -04:00
b38ab89d92
clean up GUI scaling
2015-04-22 21:40:43 +02:00
e2afdb21c3
minor tweaks to Cut Time dialog. Use an enum to tell preferred_edit_location what to ignore, so cut and insert dialogs will never use mouse location.
2015-04-21 10:22:28 -05:00
91fac4c96d
merge fix for tempo branch
2015-04-21 08:35:20 -05:00
47110c983c
fix OSX/PPC 10.4 long maths
2015-03-31 16:05:15 +02:00
9cdb0e2765
Change default zoom to Playhead
2015-03-21 19:44:58 +01:00
7dd51f6fb3
properly apply default state
...
Actions that also have a private editor variable
need to be applied regardless of XML state.
2015-03-21 19:44:58 +01:00
614fc8c7bb
fix visual undo.
...
TODO: Check if it’s feasible/required to add a
GUIPropertiesChanged signal and have axis-views
subscribe to it.
2015-03-21 16:50:47 +01:00
1ca9cd228e
update track-height scaling:
...
“number of visible tracks”: count automation lanes
as tracks. Distribute equally.
“Summary View”: the visual lane represents both
track + automation. Set the total height.
Left to do: recursive “Shrink” and “Expand” tools
if there is no explicit selection.
2015-03-19 21:55:28 +01:00
nick_m
1a6bacb1f0
Don't mess with the track selection at all from the editor route list
...
when adding tracks (thinko in last commit).
2015-03-13 04:01:55 +11:00
nick_m
9ec393422f
Add new routes to selection in the editor, rather than the editor
...
route list.
Fixes new tracks not being selected.
Also begin selection op history when adding routes.
2015-03-13 02:47:16 +11:00
c90400364a
prepare saving video-export settings.
...
* migrate dialog from Editor to UI.
* make it a WM proxied window
* prepare applying state after construction..
2015-02-28 02:36:58 +01:00