13
0
Commit Graph

446 Commits

Author SHA1 Message Date
8f5f0f298b
Remove hardcoded project-name from Actions 2019-04-08 21:36:27 +02:00
56e950b189 rename Main_menu action to Main menu
So that if it ever does show up in a list, it looks nice
2019-02-16 13:05:41 -07:00
e746ca3645 get ordering correct of global binding set creation and action registration (part2) 2019-02-16 01:15:12 -07:00
9d1fa8f820 re-order startup process, registering actions early
Mostly to stop an error when UIConfiguration::map_parameters()
looks for an action that has not yet been registered
2019-01-13 12:01:18 -06:00
fc6f90aefc fix commentary 2018-12-11 12:22:51 -05:00
098b0f8a8b full (?) set of changes required to make MonitorSection an "always-there" component of the MixerUI
Obviously, it is not always shown, but it always exists, which means that its actions are always accessible
2018-12-11 10:28:47 -05:00
685c4f8955 change action group owner pointer to be the relevant keybindings; reorder setting keybindings value and defining actions
The reorder is required so that the value of "bindings" has been set and is meaningful
2018-12-11 05:06:26 -05:00
5981b7f1b8 add nominal owners for all action groups
Note: this is not yet correct. The owner (pointer) values passed in are not yet usable
2018-12-10 18:44:05 -05:00
12a88c9706 show-editor and show-mixer actions are now part of Common, not Window or Mixer action groups
This is a bit arbitary but they are supposed to be invokable from anywhere, and since they control Tabbables and note
pure windows, they are not part of WM::Manager's purview (Window/* actions). Thus ... Common
2018-12-10 18:39:14 -05:00
fc83d044f8 use ActionManager namespace, rather than ActionMap objects, and remove all per-context action maps 2018-12-10 08:34:01 -05:00
53df8350dd use new action map API instead of ActionManager::get_action 2018-12-10 08:34:01 -05:00
65bda27d42 Tweaks to Mixer and Monitor keybindings:
Add Mixer-specific view keybindings for list, vca, mon.  (thanks to: the_CLA)
Move monitor keybindings (mute, dim, mono) to be globally-accessible.

Implement new mixer-specific actions to show/hide monitor,vcas,mixbuses (the_CLA)
Move monitor funcs (mute,dim,mono) to globally-accessible actions.
Make a new Monitor group insted of using Transport group.
Allow use-monitor-section to be controlled by both menu and session-options dialog.
2018-12-07 12:57:26 -06:00
510a0314cf move select-all-tracks,deselect-all,invert-selection to be global actions (and bindings) 2018-08-24 10:08:08 -04:00
bf694199ab Add method to show/hide VCA (and Mixbus) Mixer pane 2018-08-08 22:42:12 +02:00
f5bbbe321c Plugin Order: Use the new plugin_manager function to save plugin order. 2018-05-08 13:26:08 -05:00
66732e4791 Use standard Labels again.
Since the Gauges become little more than text with colored background,
prepare their removal. If color is wanted, use named widget-style.
2018-02-20 12:15:29 +01:00
984cacfa92 Replace missing widget-name that got lost. 2018-02-19 09:50:30 -06:00
1a293bb480 Add drop-shadow decorators to menu bar and transport toolbar.
Allow status bar to fill available width.
2018-02-19 08:05:55 -06:00
28f73cf8ea Revert some theme tweaks. Left-justify gauge text. 2018-02-17 12:11:02 -06:00
9fe534ede8 Shuffle order of items in status bar; change behavior per oofus on irc.
( note: this essentially reverts ed459a )
2018-02-17 09:24:46 -06:00
fa22689b70 Consistently use Gauge to avoid the overloaded term Indicator. 2018-02-17 09:24:15 -06:00
cfed95fd0b Remove unused status labels. (using gauges instead) 2018-02-17 09:24:14 -06:00
309ca938e6 Add Disk IO gauge. 2018-02-17 09:24:14 -06:00
33bee41288 Move cpu and disk gauges into the status bar at top. 2018-02-17 09:13:05 -06:00
5200885fb8 GTKOSX is not a valid check. Use __APPLE__ 2018-02-17 09:12:51 -06:00
5c741bf8c5 MacOS: Move status info to top, just like win+linux. (but no menu up there of course.) 2018-02-17 09:12:03 -06:00
0299229e41 SoloSelection: gui part. 2018-02-11 09:39:45 -06:00
37991bf4a5 Add Panic-button sensitivity for consistency 2017-12-23 15:58:00 +01:00
867460cd30 Add seconds as clock-unit 2017-11-22 20:36:28 +01:00
30b087ab3d globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
2017-09-18 12:39:17 -04:00
cbe342c357 some structure/code for managing menu sensitivity now that VCAs are selectable 2017-08-07 12:04:11 -04:00
1b5354632f Fix Session > New (cancel retains the current session if any) 2017-08-03 19:25:14 +02:00
36f70d2bc2 Main Menu: some re-organization of session- and global-centric windows. 2017-07-21 14:44:37 -05:00
f9e5e4360e Move more Gtkmm2ext widgets into libwidget 2017-07-17 21:06:04 +02:00
Johannes Mueller
610d9fd3b9 First draft of a template management dialog
Goal is to a simple dialog that can rename and remove templates. This is
helpful in order to keep the template list tidy.

So far it works for session templates. Track templates tbd.
2017-07-12 16:15:03 +02:00
9695fd4ca9 Re-introduce toggle-editor-and-mixer (for ctrl-surfaces)
6af51b52 moved to dedicated show-editor/show-mixer actions for
keybindings because the Mixer has a dedicated handler.
For Control-surfaces a common action is still practical.

Note: This is still broken for detached windows. it currently only
toggles tabs correctly.
2017-07-03 01:41:35 +02:00
Thomas Brand
63ea7b6516 NO-OP whitespace (updated GH PR #357) 2017-07-01 19:28:26 +02:00
7e3a970c1e Remove LocaleGuard from ARDOUR_UI::save_ardour_state method
All float <=> string conversions are now done using PBD::to_string/string_to()
in ConfigVariable class or via XMLNode::get/set_property()
2017-06-22 10:48:38 +10:00
b21c4b41a3 when creating a new session after working on one, the "Cancel" button should be a quit button.
This avoids ending up with a null Session pointer in the GUI (#7369)
2017-05-29 15:35:03 -04:00
346123e619 Use XMLNode::set_property API in ARDOUR_UI class 2017-04-19 09:36:55 +10:00
6fbe3f6408 Fix label for show-mixer 2017-04-01 10:02:04 -05:00
962e7a214a Revert "consistent use of context-menu popups"
This reverts commit b3722f7063.

In some cases ardour shows context-menu on right-mouse-button
release. In this case selecting a menu-entry should happen
with the left-mouse button (or any button?!)

Using ev->button is only correct if the menu is temporary and only
visible while the button is held, button release then activates the
menu-item.

This needs further work, in some cases allowing any button (0) to work
makes sense and overall consistency needs to be improved.
Different places use different strategies for context-menus which
don't always match the button used in the event-handler.

This is a hotfix (to make TAV context menus work again with left-click)
2017-03-24 14:48:46 +01:00
b3722f7063 consistent use of context-menu popups 2017-03-16 02:36:48 +01:00
6af51b52ff Use dedicated "show editor/mixer" actions 2017-03-10 17:52:42 +01:00
b15bebd3c0 Remove unused ArdourUI code to add/remove Lua Session Scripts. 2017-02-19 01:29:08 +01:00
65b38322db GUI action Transport/RecordCountIn 2017-02-13 23:01:11 +01:00
d5f150b51b Add several new categories and re-sort some keybindings so they display more nicely in html printout. 2017-02-06 18:05:53 -06:00
f50c99e2a9 additional commit for removal of TransportControllables 2017-02-02 13:05:05 +01:00
80ee2f2c4d move 10 more actions from Editor/* to Common/* 2017-01-28 18:51:03 +01:00
3c2e69ea42 move 15 actions out of Editor/* namespace, and into Common/* 2017-01-28 18:02:28 +01:00
645402bc42 Add GUI action to record with preroll 2017-01-18 15:16:05 +01:00
cf5a0de709 Add initial GUI support for global monitor states 2017-01-16 19:54:42 +01:00
c6464e9c34 Move some actions into the global group:
This allows common keyboard shortcuts from any Tab (Editor, Mixer).
Discuss: should those actions/methods also be moved to ArdourUI instead of
PublicEditor?
2017-01-12 18:22:56 +01:00
3afe3f32df Remove cruft (old MIDI feedback API) 2016-12-30 17:29:08 +01:00
3e214eb4ea Tweak behavior of Play-With-Preroll action 2016-12-19 13:14:44 -06:00
628c99d555 Follow Edits => Follow Range
* "Follow Edits" button had several behaviors that confused users.
* "Follow Range" only has 2 behaviors:
** Click anywhere in Range mode (or Smart mode) to locate the playhead.
** When you select a Range, "Play" will play the selected range.
2016-12-19 13:14:44 -06:00
Olivier Humbert
47d186d1a3 Make menu item for Add Track/Bus/VCA dialog consistent with window title 2016-11-21 09:22:13 +10:00
8fd4d32789 add a new action to allow surfaces to access Keyboard::close_current_dialog() 2016-09-27 14:59:29 -05:00
5232e0f2af GUI support to archive session 2016-09-20 19:52:56 +02:00
835b874e1e add ActionManager::rec_sensitive_actions and put "add track/bus" in this group, which is disabled during active recording 2016-09-06 16:56:51 -04:00
7336a05110 fix focus-on-clock action 2016-08-28 09:05:31 -04:00
653b113607 fix unused variable warnings and code tidy 2016-07-18 14:39:32 -04:00
cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
dc43189c7e fix save/restore of preferences torn-off-window state 2016-07-13 16:39:26 -04:00
54e8a21a09 Remove references to a "master faders" window. We went the other way. 2016-06-02 19:19:22 -04:00
4cd6d52013 make Escape (cancel drag or selection) work in mixer as well as editor 2016-05-31 15:30:44 -04:00
2c9c210213 manually fix rebase/merge issues caused by addition of plugin presets to methods which add a new track/bus 2016-05-31 15:30:42 -04:00
9197116a1a change API for ARDOUR_UI::add_route() to no longer require a float window 2016-05-31 15:30:41 -04:00
99b0712be4 remove the entire idea of a tabbable for VCA master faders
Conflicts:
	gtk2_ardour/master_faders.cc
2016-05-31 15:30:38 -04:00
89a4d689d1 make the master faders visibility button work 2016-05-31 15:30:38 -04:00
5c658db4bf most of the changes required to add a new master faders tabbable
the visibility button isn't actually working correctly
2016-05-31 15:30:38 -04:00
Sven Gestegård Robertz
89361e0833 fix typo, restore preference tab 2016-05-15 14:45:34 +02:00
2f9d5077dc GUI part of LocaleGuard optimization. 2016-05-07 17:17:41 +02:00
5c9660b62e re-introduce "add track/bus" from mixer window 2016-05-06 03:08:46 +02:00
9b3b1d945f fix another menu typo in fda03d1 2016-05-05 01:59:32 +02:00
abb3c0f220 fix typo in fda03d1f1 2016-05-03 19:24:49 +02:00
fda03d1f17 consistent menu labels 2016-05-03 14:33:37 +02:00
e025c45cda fix crash when loading a session with non-default clock modes.
set_mode() emits ModeChanged which results in save_extra_xml().
If this happens during session-load, the XML iterator is invalidated.
2016-04-24 14:43:18 +02:00
d30b901d8c save-as/snapshot tweaks:
* allow to take snapshots and save-as read-only session.
* change ambiguous "Save as" window title for "Snapshot & Switch"
* start save-as in configured session-dir
2016-04-23 14:45:19 +02:00
b7768becb5 use correctly named action to put preferences into the global menu bar on OS X 2016-04-13 13:00:04 -04:00
Mathias Buhr
914027ecf8 Fixes a minor typo 2016-03-05 16:27:48 +01:00
78bd97ac9a cleanup: remove duplicate null checks.
ARDOUR_UI::save_ardour_state () checks on entry if the windows exist.
and also uses these pointers below without check..
2016-02-28 12:17:57 +01:00
d25d583dad add previous-tab and next-tab actions and bind to PRIMARY-page-up/down by default 2016-02-25 15:08:06 -05:00
67c4d45aac move window visibility buttons to have less impact on minimum width
And as a side effect, be in a consistent location on windows/linux AND OS X
2016-02-25 11:08:41 -05:00
341758674b Add GUI to instantiate session-scripts 2016-02-23 15:42:26 +01:00
6b940afa36 Lua Script Console Window 2016-02-23 15:42:13 +01:00
25a24e0805 rework dialog-close-focus-reset change to work in Tabbed 2016-02-22 15:31:26 -05:00
4ed2cb67b7 fix merge mixup after rebase from master 2016-02-22 15:31:25 -05:00
c932c56233 cleanup post-rebase-against-master messes 2016-02-22 15:31:25 -05:00
30b065f6ef provide an alternate action for controlling prefs visibility in the main menu 2016-02-22 15:31:25 -05:00
6d3ee152fe add context menus for tabbable visibility buttons 2016-02-22 15:31:25 -05:00
a29fd4542e a bunch of stuff to make tab/window switching work better, and provide Alt-m to toggle between editor+mixer in a sane way 2016-02-22 15:31:25 -05:00
64de2b415a use Tabbable::change_visibility to make tab/window control buttons do the right thing 2016-02-22 15:31:25 -05:00
336d321a1b prevent dragging the last tab from the notebook 2016-02-22 15:31:25 -05:00
1e537cb539 remove tab-related code for tabbed notebook, add tooltips to new buttons 2016-02-22 15:31:25 -05:00
51879285c5 tab-free tabbed display, part 1.2 2016-02-22 15:31:25 -05:00
47cf908998 try using top-menu-bar buttons and not notebook tabs to control window visibility 2016-02-22 15:31:25 -05:00
56770ff0af change GTKOSX macro constant to use __APPLE__ instead 2016-02-22 15:31:25 -05:00
bc487bb4b0 replicate the remove-all-trailing whitespace commit(s) in master 2016-02-22 15:31:24 -05:00
9b9a7beb13 cleanup various merge conflict resolution errors/omissions 2016-02-22 15:31:24 -05:00