Julien "_FrnchFrgg_" RIVAUD
907c56234c
Add missing return
2016-08-18 16:32:38 +02:00
Julien "_FrnchFrgg_" RIVAUD
534ca81613
Make buttons in track headers behave more like Gtk::MenuToolButton
...
Make their popup menus show attached, and on mouse down, but keep the
context menu behavior on middle- and right-click for the group button
that reacted to those (probably an oversight but some users might have
got the habit of right-clicking).
This also makes the group deletion on Ctrl+click happen on mouse down
instead of mouse up which is not a great difference and avoids
complicating the code.
2016-08-18 13:24:00 +02:00
Paul Davis
cf52d6e4b4
enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h
2016-07-14 14:45:23 -04:00
Robin Gareus
140258d8ab
remove reference "const int32_t&" -> const int32_t"
...
this simplifies lua-bindings and also let's the compiler worry about
constant primitive types.
2016-07-10 15:30:41 +02:00
nick_m
93c24e4433
Paste uses exact beats. rework _start_beats calculation in copy-with-offset ctor.
2016-07-10 02:18:36 +10:00
Paul Davis
da7d7f9502
many changes associated with rationalizing selection flow
2016-07-06 13:39:10 -04:00
Paul Davis
01812f53c3
use, or mostly use PresentationInfo for selection status of Routes.
...
Needs extension to Surfaces, replacing GuiSelectionChanged signal concept
2016-06-05 20:50:57 -04:00
Paul Davis
1d5d98589a
catch up on change in definition of various AxisView {set,is}_selected() implementations
2016-06-05 16:33:02 -04:00
Paul Davis
518f7f9892
RouteUI connects to Route's PropertyChange signal; derived types implement route_property_changed()
2016-06-05 16:33:02 -04:00
Paul Davis
2161c5d507
use new RouteGroup property names
2016-06-05 16:33:01 -04:00
Paul Davis
c31435b474
RouteUI is now also derived from SessionHandlePtr but NOT AxisView. Fix initialization.
...
Only "most derived" classes can initialize virtual base classes (SessionHandlePtr)
2016-06-05 16:33:01 -04:00
Paul Davis
384d05dd35
change AxisView color API to be virtual and implement per-type variants
2016-06-05 16:33:01 -04:00
Paul Davis
171b70927a
make AxisView::marked_for_display() be virtual so we can use the a Stripable's PresentationInfo hidden() status
2016-06-05 16:33:01 -04:00
Robin Gareus
e627a9681a
show existing automation lanes regardless if they were visible before.
...
Automation can be recorded with the automation time axis not being
visible.
2016-06-04 18:52:57 +02:00
Paul Davis
260058a4a9
move from PresentationInfo::global_order() to PresentationInfo::order, and fix up part of reordering behaviour
...
Dragging tracks/busses in the editor *below* VCAs still does not work
2016-06-03 15:15:39 -04:00
Paul Davis
8818e1887a
there is no explicit "Remote Control ID" control anymore - all done by ordering in the GUI
2016-06-02 19:19:22 -04:00
Paul Davis
eee83c25a9
make all TimeAxisView derived types return PresentationInfo for sorting
2016-06-02 14:46:35 -04:00
Paul Davis
0d999ea4ec
remove un-used name_hbox widget from TimeAxisView
2016-06-01 21:57:43 -04:00
Paul Davis
428ed8ae1b
stop playing silly games with widget packing when editing a route name in the edito
...
Use a FloatingTextEntry instead. All clever functionality from previous
implementation has been retained.
2016-05-31 15:30:44 -04:00
Paul Davis
653ae4acd6
universal change in the design of the way Route/Track controls are designed and used. The controls now own their own state, rather than proxy for state in their owners.
...
Massive changes all over the code to accomodate this. Many things are not finished. Consider this a backup safety commit
2016-05-31 15:30:40 -04:00
Robin Gareus
6605b52c17
centralize rec-en sensitivity & prepare for rec-safe
2016-05-24 03:01:27 +02:00
Paul Davis
17ace643e4
OMNIBUS COMMIT: prefer const XMLNode::property method (and provide a real one)
2016-05-04 23:09:45 -04:00
Robin Gareus
106851b33a
add option to limit track-header meters to stereo
2016-05-04 17:36:40 +02:00
Paul Davis
157b4b6b72
fix variable naming/scope issues
2016-02-22 15:31:24 -05:00
Paul Davis
6991a07902
remove all trace of SAE from source code.
...
This had become incoherent over time, and posed a development hazard and burden going forward
2016-02-22 15:31:24 -05:00
Paul Davis
dd32c05cda
GainMeter(Base) now has an explicit gain control given to it
2016-01-25 11:47:44 -05:00
André Nusser
7a846b7e6d
Make capitalization consistent and other minor spelling corrections.
2015-12-01 00:39:35 +01:00
Ben Loftis
6f955aa0bd
add Duplicate action to track and mixer context menus
2015-11-17 16:55:11 -06:00
Robin Gareus
be69dd279b
rework dbf28e3 (hidden parameters)
2015-10-28 21:25:01 +01:00
Robin Gareus
ebbe96aa08
note to self: at least test compilation before git push.
2015-10-28 19:00:59 +01:00
Robin Gareus
dbf28e320c
don't display hidden automation-controls.
2015-10-28 18:58:46 +01:00
Robin Gareus
696b89b71a
rework 8b80fe0, use std::string, not char*
2015-10-15 11:24:15 +02:00
Robin Gareus
8b80fe04ad
Avoid calls to Glib::ustring << operator at all cost.
...
Glib::operator<<(std::ostream&, Glib::ustring const&) involves
loadlocale which is not thread-safe on OSX.
This fixes various seemingly random crashes on OSX.
2015-10-14 22:46:15 +02:00
Robin Gareus
22b07e0233
NOOP, remove trailing tabs/whitespace.
2015-10-05 16:17:49 +02:00
Paul Davis
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
Tim Mayberry
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
Tim Mayberry
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
Tim Mayberry
fc1e7dbb55
Move DPIReset and ColorsChanged signals into UIConfiguration
2015-09-16 16:55:17 -04:00
nick_m
63269b3063
Automation selection fixes.
...
- display selected comtrol points in region gain lines
- display selected points in internal edit mode
- allow dragging of region gain lines in MouseContent mode
2015-06-21 05:27:45 +10:00
Robin Gareus
8dbd55236a
amend 3f5d17d, clear changes to MIDI as well.
2015-05-28 14:41:17 +02:00
Robin Gareus
3f5d17dd24
Fix region paste (ctrl+v) undo.
2015-05-28 13:19:50 +02:00
Robin Gareus
af884b4174
meter-change: don’t update track-headers if not needed
2015-04-30 17:30:10 +02:00
Robin Gareus
abcc51d089
remove not-an-error error message.
2015-04-26 01:21:08 +02:00
Robin Gareus
52d67203a1
Trim Automation UI
2015-04-25 21:25:19 +02:00
Paul Davis
15fc481776
make wording consistent
2015-04-06 20:14:24 -04:00
Paul Davis
803853b4a4
rationalize incorrect design for removing tracks.
...
Still requires a way to make this work correctly from the mixer window
2015-04-06 17:56:23 -04:00
Robin Gareus
6d531b82e0
add context to single-letter translatable
2015-04-05 00:17:53 +02:00
Paul Davis
d6574c9c40
remove duplicated calls to update solo/mute state from RouteUI descendants.
...
RouteUI::set_route() already does the right thing. Also remove RouteUI::mute_changed() since its
only role was to handle the mute change signal from a route, which boost::bind() makes unnecessary
since we can connect update_mute_display() directly.
2015-03-31 12:31:06 -04:00
Paul Davis
75e0f5a023
remove GUI object state when tracks/busses are removed.
...
Not doing this results in accumulation of useless GUI object state which is never cleaned up.
Taken from work by Grygorii Zharun.
2015-03-30 15:27:23 -04:00
Robin Gareus
f1ce87a699
add API to select TAV height mode.
...
preparation for further Summary and Number of visible
track count fixes.
* “Only Self”: don’t resize child-views (old default)
* “Total Height”: distribute height equally among
all visible child [automation] lanes
* “Height per Lane”: given height should be applied
to all sub-views.
2015-03-19 21:47:34 +01:00