13
0
Commit Graph

81 Commits

Author SHA1 Message Date
34f3d35ded monitoring section on diet (75% original width) 2015-12-20 00:48:11 +01:00
696b89b71a rework 8b80fe0, use std::string, not char* 2015-10-15 11:24:15 +02:00
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
eebbf64484 provide Main/cancel-solo as an action and make rude solo button(s) use it 2015-10-02 07:32:56 -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
c256075e63 Remove tooltips() member from ARDOUR_UI and use Gtk_UI::set_tip 2015-09-16 16:55:17 -04:00
b8e9ee50e0 Use Forward declaration for non-MSVC compilers in ardour_ui.h
I can't test this with MSVC so John might have to fix this, just
adding the necessary header includes inside MSVC specific ifdef
but I think it should be OK
2015-09-16 16:55:17 -04:00
553c3ef557 Remove ui_config.h inclusion from ardour_ui.h 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
318c919c41 fix crash during session deletion as monitor section tries to update 2015-05-07 22:36:07 -04:00
2702dd9dc0 add detent to Monitor Section Dim & Level knobs 2015-04-25 17:00:02 +02:00
b13cedd56c monitoring section UI scaling 2015-04-23 00:29:56 +02:00
nick_m
70338bfbd6 Monitor section - init _output_selector to 0. 2015-04-22 00:17:17 +10:00
f44e2e55fd merge monitor_section branch 2015-04-21 08:18:10 -05:00
aef6805114 fix issue with logic controlling rude isolate button 2015-04-13 09:02:25 -04:00
48d6361097 for those who translate decibel. 2015-04-05 02:31:10 +02:00
958b410359 translatable monitor section labels 2015-04-05 01:23:55 +02:00
b5c9a92a58 Move Timers/Timeouts from ARDOUR_UI into functions in timers.h and use PBD::Timers 2015-01-01 19:04:14 +07:00
318a9edab9 massive reworking of color selection implementation 2014-11-26 18:22:22 +02:00
37937d9c69 synchronize preferences and monitor-section 2014-11-18 03:49:20 +01:00
bd5713f009 remove cruft (monitor section knobs are cairo now) 2014-11-18 02:15:06 +01:00
f39286f92f NOOP, re-indent and remove trailing whitespace 2014-11-18 02:15:06 +01:00
a07dc44b4d remove pixel based Button LED diameter setting
Diameter is calculated depending on font-scaling.
Besides, all explicit calls simply set the default
value, anyway. If some API is needed in the future,
it should set the diameter in [em].
2014-09-06 02:08:59 +02:00
3f297f7dab Fix ArdourButton event sequence.
Always give ArdourButton a chance to handle Press or Release events if you override them.
This allows ArdourButtons to do the "Pressed" animation
And it now correctly eats the event so button clicks don't select the channelstrip.
2014-08-28 10:31:57 -05:00
b128271f29 consistently use mixed-case labels 2014-08-01 14:31:18 -05:00
fdaa6a151a 3 monitor tweaks for the_CLA. shift+click to default, and new preset vals 2014-07-22 16:05:51 -05:00
b2b736d596 tweaks for the monitor section. refactoring of some buttons, using new ArdourKnob instead of VolumeController. New ArdourDisplay shows a controllables user value, and provides support for preset values (hardcoded at present). Further refactoring to come, so that ArdourWidgets are derived from a common class. Controllable now has more responsibility for scaling between internal, user, and interface (knob percent) values. This also needs more refactoring and might have some unintended consequences. tested with audio and nothing seems amiss, yet. 2014-07-18 08:47:45 -05:00
a3c378cf62 move utility functions into a dedicated namespace 2014-06-25 21:47:54 +02:00
a9c711d488 i18n fixes from alexandre
git-svn-id: svn://localhost/ardour2/branches/3.0@14051 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-02-05 18:24:41 +00:00
2eb43c8310 add copyright comments
git-svn-id: svn://localhost/ardour2/branches/3.0@13859 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 18:22:15 +00:00
6922dc9d69 fix from roy vegard for an error from my previous attempts to fix monsection channel numbering
git-svn-id: svn://localhost/ardour2/branches/3.0@13838 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-14 13:49:24 +00:00
ec7f4dc217 fix channel numbering in monitor section
git-svn-id: svn://localhost/ardour2/branches/3.0@13824 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-09 21:46:39 +00:00
6fa6514cfd Remove over 500 unnecessary includes (including 54 of session.h).
It's slightly possible that this causes trivial build failures on different
configurations, but otherwise shouldn't cause any problems (i.e. no actual
changes other than include/naming/namespace stuff).  I deliberately avoided
removing libardour-config.h since this can mysteriously break things, though a
few of those do seem to be unnecessary.

This commit only targets includes of ardour/*.h.  There is also a very large
number of unnecessary includes of stuff in gtk2_ardour; tackling that should
also give a big improvement in build time when things are modified.


git-svn-id: svn://localhost/ardour2/branches/3.0@12420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 06:09:29 +00:00
ec1ef5d6b5 remove the apparently unnecessary "ui_bind()" macro from entire source base
git-svn-id: svn://localhost/ardour2/branches/3.0@12088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-25 12:58:19 +00:00
4969266d06 fix some packing issues in the monitor section when using high-channel-count master/monitor busses (eg. ambi)
git-svn-id: svn://localhost/ardour2/branches/3.0@11805 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-06 11:18:22 +00:00
b08d13706f remove additional "mid" color from ArdourButton; replace Active/Mid widget state with ExplicitActive/ImplicitActive; represent implicit-active state with colored border around ArdourButton; tune button colors; new rounded_foo() functions, some in use, some not in use right now
git-svn-id: svn://localhost/ardour2/branches/3.0@11466 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-07 17:43:55 +00:00
508c5eb5bd make monitor section an optional feature than can be added/removed as needed. this is a big commit, and breakage is possible. it has been moderately tested. this commit also locks the remote control ID of the master bus to 318 and the monitor section (if any) to 319. the numbers are based on MIDI Machine Control limits
git-svn-id: svn://localhost/ardour2/branches/3.0@11256 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-18 01:30:44 +00:00
Carl Hetherington
d8425b4a0f Slightly hacky fix for AFL/PFL button misbehaviour
(#4484).


git-svn-id: svn://localhost/ardour2/branches/3.0@10705 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-19 17:04:48 +00:00
cf136a59ba use "mute" not cut in monitor section
git-svn-id: svn://localhost/ardour2/branches/3.0@10534 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-11 03:05:34 +00:00
f96ccb1958 ardour-button-ize zoom buttons; move MIDI panic button to transport bar
git-svn-id: svn://localhost/ardour2/branches/3.0@10528 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-10 18:04:34 +00:00
cad92bfa4e fix initial display of solo-model in monitor section
git-svn-id: svn://localhost/ardour2/branches/3.0@10433 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-04 02:46:59 +00:00
708fb03e87 use ArdourButton for the (radio) buttons in the monitor section; fix ArdourButton, MonitorSection and CairoWidget to work with radio semantics
git-svn-id: svn://localhost/ardour2/branches/3.0@10430 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-03 21:35:20 +00:00
592bfa3616 mute and send-alert buttons are now ArdourButtons
git-svn-id: svn://localhost/ardour2/branches/3.0@10397 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-02 16:46:49 +00:00
5ef27b84dc tweak monitor section spacing, and add tooltips
git-svn-id: svn://localhost/ardour2/branches/3.0@10394 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-02 14:56:58 +00:00
337be49839 clean up display of channel buttons in monitor section so that it looks optimal for both normal people and ambisonics freaks
git-svn-id: svn://localhost/ardour2/branches/3.0@10393 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-02 13:55:06 +00:00
521937a9d1 catchup on previous commit relating to who owns ActiveState and VisualState
git-svn-id: svn://localhost/ardour2/branches/3.0@10372 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 01:22:08 +00:00
b8e7be546c tweak some aspects of the monitor section
git-svn-id: svn://localhost/ardour2/branches/3.0@10343 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-29 20:32:59 +00:00
bde8437387 make ArdourButtons be MIDI-learnable; tweaks to ArdourButton design and implementation; use ArdourButtons (all gray for now) in the Monitor section.
git-svn-id: svn://localhost/ardour2/branches/3.0@10338 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-29 15:54:30 +00:00
0938a42440 fixes for 98% of all the warnings/errors reported by OS X gcc on tiger
git-svn-id: svn://localhost/ardour2/branches/3.0@10179 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-30 17:55:14 +00:00