Commit Graph

365 Commits

Author SHA1 Message Date
Robin Gareus a0b032efe2
Revert more "frame/sample" replacements
- Coverage concerns rectangles (frames, not sample)
- frame-handles are rectangles
- layout container boxes are frames
- inline display boxes are display_frame
2019-04-08 22:42:47 +02:00
Robin Gareus 8244026533
Consolidate ToggleAction cast, use new API
Furthermore we can assume that all Actions are registered and
Unregistered actions will ::abort() execution.
2019-02-28 23:54:42 +01:00
Paul Davis 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
Paul Davis fc83d044f8 use ActionManager namespace, rather than ActionMap objects, and remove all per-context action maps 2018-12-10 08:34:01 -05:00
Paul Davis 4f96aa8f18 use new action map API instead of ActionManager::get_action 2018-12-10 08:34:01 -05:00
Robin Gareus 41827a546a
Fix crash when closing session, recursive mon-section removal 2018-12-08 20:15:53 +01:00
Ben Loftis 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
Paul Davis 4423945643 start using ActionMap in preference to ActionManager 2018-12-05 17:33:06 -05:00
Robin Gareus 110317aad6 Keep track of unacknowledged log-level (error-indicator)
This code was incorrectly removed in 97fb3a5557.
2018-02-20 11:18:41 +01:00
Ben Loftis 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
Ben Loftis 33bee41288 Move cpu and disk gauges into the status bar at top. 2018-02-17 09:13:05 -06:00
Ben Loftis 97fb3a5557 Remove display_message(); No more scary log message popups on osx. 2018-02-17 09:11:41 -06:00
Ben Loftis 7127fa2c9b If the gauges arent clickable, perhaps they look best with hard edges, matching the master-bus meters in the toolbar. 2018-02-14 15:05:49 -06:00
Ben Loftis c206fa98a1 Re-pack the master meters (in the toolbar) so the editor_meter_peak_display button is more clickable. 2018-02-14 14:47:00 -06:00
Ben Loftis 7cb1219df8 Re-pack dsp_load_indicator next to feedback_indicator et al. 2018-02-14 12:55:48 -06:00
Robin Gareus d03352cfac Add Toolbar disk-space widget. 2018-01-14 18:49:27 +01:00
Robin Gareus c7ed461bcf Add DSP-load & x-run widget to the toolbar. 2017-12-28 15:53:40 +01:00
Robin Gareus aab787f686 Separate and consolidate Transport-Control-UI code 2017-12-22 22:15:50 +01:00
Robin Gareus 15150c57c1 Implement clock delta modes
* use new config variable
* update GUI to select delta-modes
* delegate delta-calculation to MainClock
* save offset to calculate absolute-time
2017-11-23 00:13:32 +01:00
Paul Davis ea5fa64c0b manually fix up various cases where Gtk:Frame foo_frame had been changed to foo_sample 2017-09-18 14:59:11 -04:00
Paul Davis 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
Robin Gareus eb1e423b75 Remove <gtkmm.h> include from header files. 2017-07-17 21:06:04 +02:00
Robin Gareus b5e9451bc7 Remove unused sources & includes 2017-07-17 21:06:04 +02:00
Robin Gareus f6e182b937 Move Gtkmm2ext widgets into libwidget 2017-07-17 21:06:04 +02:00
Robin Gareus 5c92613698 Separate Ardour UI widgets into dedicated library 2017-07-17 21:06:04 +02:00
Ben Loftis d2b823b3c5 Toolbar spacing: Add back one pixel of vertical padding, and preserve it regardless of which button sections are hidden. 2017-02-16 14:37:56 -06:00
Robin Gareus 2d0200209f Prevent "punch" and "mon" buttons from increasing toolbar height. 2017-02-16 20:49:18 +01:00
Robin Gareus 9ce55c1b3d remove unused background expose 2017-02-13 18:44:59 +01:00
Paul Davis 5c26a21d49 NO-OP: whitespace 2017-02-08 22:24:17 +01:00
Paul Davis aef942da1b make rude alert buttons expand vertically to use all available space. 2017-02-08 22:23:43 +01:00
Robin Gareus 0092442a64 mark loop button insensitive when there's no loop-range 2017-01-28 12:05:50 +01:00
Daniel Sheeler e315b25eb3 Update metronome tooltip on gain change 2017-01-21 01:38:53 +01:00
Robin Gareus e35f11e515 Allow to change metronome level via mouse-wheel 2017-01-19 19:12:25 +01:00
Ben Loftis 09e15909e0 Tweak some tooltip text. 2017-01-18 18:25:25 -06:00
Ben Loftis 6a486c0bf5 tweak table packing for more consistent spacing between buttons. 2017-01-18 10:33:38 -06:00
Ben Loftis bc9b2f01f3 Shuffle the layout of new monitor section, so it is recognizably different than punch section; Standardize the button heights. 2017-01-18 10:33:38 -06:00
Robin Gareus cf31233cd1 Cleanup global monitor options:
- rely on parameter-changed signal emission to update buttons
- use dedicated button/style names
- improve tooltip
2017-01-18 12:25:02 +01:00
Robin Gareus 17d54a0d1c Configurable toolbar rec/punch & monitoring buttons 2017-01-16 21:58:53 +01:00
Robin Gareus cf5a0de709 Add initial GUI support for global monitor states 2017-01-16 19:54:42 +01:00
Paul Davis a5e0f1ff10 make entire transport bar have its own background, specifically themeable 2017-01-05 22:22:14 +00:00
Ben Loftis 4c7fcc11f7 Attempt to lighten the transport area slightly. A little help needed here, Paul 2017-01-05 10:01:22 -06:00
Robin Gareus 1bf0ed533d Update links to preference pages 2017-01-03 10:05:05 +01:00
Robin Gareus a2bf54c041 re-group preferences part eight and nine of 27 (probably) 2016-12-30 17:04:50 +01:00
Robin Gareus b315ff531e amend 91321272b 2016-12-21 23:36:00 +01:00
Robin Gareus 91321272b5 Add option to hide the 2ndary clock 2016-12-21 23:04:15 +01:00
Robin Gareus 73ad6b3766 Allow to customize parts of the main toolbar 2016-12-20 03:59:15 +01:00
Robin Gareus 58124e7544 Don't dynamically allocate ShuttleCtrl
With manage() both the button and shuttle were free'ed when the table
was destroyed.
2016-12-20 00:20:00 +01:00
Robin Gareus 2561b98f8a Move shuttle/speed text outsize 2016-12-19 22:11:53 +01:00
Ben Loftis 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
Robin Gareus a5f61340ef Show relevant preferences on sync-button right-click 2016-12-19 19:21:38 +01:00
Ben Loftis b44889a55b Reinstate spacer between Punch In,Out. 2016-12-18 17:14:02 -06:00
Robin Gareus aec3b5d4ad Have the computer count columns for us. 2016-12-18 23:20:14 +01:00
Robin Gareus bd0fc8cafc Shorten sync-button label/size 2016-12-18 23:17:29 +01:00
Robin Gareus 2cb9f4167a fix table layout typo 2016-12-18 22:59:17 +01:00
Robin Gareus 06938105a4 Simplify spacer code 2016-12-18 21:39:36 +01:00
Ben Loftis ab37491614 repack widgets, and add some spacer elements 2016-12-18 13:34:15 -06:00
Robin Gareus 76c3337159 consistent size of sync-button 2016-12-18 18:18:11 +01:00
Ben Loftis 448f921dd8 Transport Layout:
* Remove some redundant containers and frames, for a cleaner look.
* Adjust transport button spacing and sizes to more closely match the editor toolbar.
2016-12-18 09:02:13 -06:00
Ben Loftis 511e9d2d09 Transport Layout: Attempts to standardize button sizes and padding. 2016-12-17 22:32:38 -06:00
Robin Gareus 705a7262a3 Refine transport tool bar layout 2016-12-17 02:43:42 +01:00
Robin Gareus 4a83bd80a5 Prepare mini-timeline widget for toolbar 2016-12-17 02:43:42 +01:00
Robin Gareus 9dad10f691 Add UI to set global track layered mode 2016-12-17 02:43:42 +01:00
Robin Gareus 85e4b1d98f Move selection/punch clocks to editor Sidebar 2016-12-17 02:43:42 +01:00
Robin Gareus 1a25b906b3 Commence transport tool bar re-layout 2016-12-17 02:43:42 +01:00
Julien "_FrnchFrgg_" RIVAUD 78b7e07690 Make a right click on metronome really show click preferences
Solve http://tracker.ardour.org/view.php?id=6906
2016-07-26 03:19:22 +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 c2e4cd2c6a use same tooltip timeout throughout Ardour -- part two 2016-05-02 20:24:54 +02:00
Robin Gareus 9c622e3c99 add optional buttons to trigger lua scripted actions. 2016-04-25 00:16:08 +02:00
Paul Davis 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
Paul Davis 1e537cb539 remove tab-related code for tabbed notebook, add tooltips to new buttons 2016-02-22 15:31:25 -05:00
Paul Davis 47cf908998 try using top-menu-bar buttons and not notebook tabs to control window visibility 2016-02-22 15:31:25 -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 bc487bb4b0 replicate the remove-all-trailing whitespace commit(s) in master 2016-02-22 15:31:24 -05:00
Paul Davis d5bcf90b1a remove all tearoffs except the monitor section.
We don't need this functionality anymore as we build on 15 years experience plus the new tabbed structure
2016-02-22 15:31:23 -05:00
Paul Davis 8933d53271 get current tab on startup correct.
Note that Gtk::Notebook will not switch to a page with an invisible widget. This took me TOO LONG to discover.
Also move code around between files
2016-02-22 15:31:23 -05:00
Paul Davis 1be30e0401 handle main window delete events sensibly 2016-02-22 15:31:23 -05:00
Paul Davis 1bdf6d8a68 handle button events on main window notebook so that we can handle close button clicks 2016-02-22 15:31:23 -05:00
Paul Davis 90845af8fa hopefully get dynamic tabbable menu state right this time 2016-02-22 15:31:22 -05:00
Paul Davis 291575683c dynamically update menus/actions controlling tabbable show/hide/attach/detach operations 2016-02-22 15:31:22 -05:00
Paul Davis cf93eaec98 break out window ops for Tabbables into show/hide/attach/detach 2016-02-22 15:31:22 -05:00
Paul Davis ea1616916a compile time fixes for top-menubar (i.e. OS X) systems 2016-02-22 15:31:22 -05:00
Paul Davis 558167a5dd some changes for top menubar systems (i.e. OS X) 2016-02-22 15:31:22 -05:00
Paul Davis e3db5c5c05 save & restore the main window geometry 2016-02-22 15:31:22 -05:00
Paul Davis 50e4ebff36 update main window title appropriately 2016-02-22 15:31:22 -05:00
Paul Davis d84f655495 add suggestive tooltips for tabs; remove position argument for Tabbable since it isn't really usable 2016-02-22 15:31:21 -05:00
Paul Davis 77b6b25f2d hide tabs in main window when there's only 1 tab left.
This helps with space and also prevents tearing off the last tab
2016-02-22 15:31:21 -05:00
Paul Davis b17cb184a2 make sure preferences are visible 2016-02-22 15:31:21 -05:00
Paul Davis 98b14ad0e6 get normal GTK accelerators working again 2016-02-22 15:31:21 -05:00
Paul Davis 9010262bed first compilable version of tabbable design.
I would have loved to split this apart, but there are just so many interrelated changes,
it makes little sense and would be a huge effort that would break future git bisect
use because so many intermediate commits would not compile
2016-02-22 15:31:21 -05:00
Paul Davis 02c8d6d648 the basics of tabbed 2016-02-22 15:31:21 -05:00
André Nusser 7a846b7e6d Make capitalization consistent and other minor spelling corrections. 2015-12-01 00:39:35 +01: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
Paul Davis eebbf64484 provide Main/cancel-solo as an action and make rude solo button(s) use it 2015-10-02 07:32:56 -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 45d487f16e Move ARDOUR_UI::ui_scale into UIConfiguration class 2015-09-16 16:55:17 -04:00
Tim Mayberry 2d47183dc9 Move util functions into UIConfiguration as they depend on it anyway 2015-09-16 16:55:17 -04:00
Paul Davis 5c8e239f95 Revert "start work on auto return target dropdown rather than button"
This reverts commit d1cbb3fb0e.
2015-06-29 14:18:16 -04:00
Paul Davis b531c878b0 Revert "properly track, update, maintain and set auto return state"
This reverts commit 07d0539526.
2015-06-29 14:18:16 -04:00
Paul Davis 745a235b9d properly track, update, maintain and set auto return state
Conflicts:
	gtk2_ardour/ardour_ui_options.cc
2015-06-29 14:18:13 -04:00