Commit graph

87 commits

Author SHA1 Message Date
Robin Gareus
6981e0495d disable light theme until it gets fixed
(or at most past the 4.0 release tag)
2015-03-20 22:40:47 +01:00
nick_m
44d4652995 Introduce theme preference "transients follow front" which, when enabled,
sets transient windows to be transients for the front window when switching
between the editor and mixer. This is the current behavior on non-osx
builds.
When disabled, there is no reparenting of transient windows. This is the
current behavior on osx.
This preference defaults to off.

Also fix "all windows are dialogs" checkbox being out of sync with the ui
state.
2015-03-10 02:25:25 +11:00
Robin Gareus
c7c8cc7dc7 set Theme buttons on state reset
cleaner version of last commit, set GUI elements
on state-reset.
2015-01-21 20:24:39 +01:00
Robin Gareus
0c8947491a initialize theme > gradient sliders. 2015-01-21 19:41:15 +01:00
Robin Gareus
f282884094 apply Theme > “Show waveform clipping”
fixes http://tracker.ardour.org/view.php?id=5589#c15515
2015-01-21 19:35:04 +01:00
Paul Davis
64fa63212f move all (G)UI related configuration parameters into UIConfiguration, not RCConfiguration 2014-12-22 13:39:46 -05:00
Paul Davis
f8ae456aaa fix editing of nested/group item colors in theme manager 2014-12-15 15:54:10 -05:00
Paul Davis
4791c51d0f tweak up transparency editor in theme panel 2014-12-15 12:48:31 -05:00
Paul Davis
f6e88ead01 move theme manager into preferences window 2014-12-15 12:32:41 -05:00
Paul Davis
8b23001441 add editor to Theme Manager for modifiers 2014-12-15 12:07:05 -05:00
Paul Davis
59f32dc80f remove base color concept from UIConfiguration and ThemeManager.
What used to be "relative colors" (defined relative to base colors) are now defined
in absolute terms.
2014-12-14 16:14:18 -05:00
Paul Davis
b7c5f27b14 remove debug output 2014-12-08 22:09:37 -05:00
Paul Davis
0bb8e80f87 more tweaking of color management.
User's own modification to NAME.colors are stored in $CONFIG/my-NAME.colors now.
2014-12-08 22:02:38 -05:00
Paul Davis
9ac551abab another metric ton of color work 2014-12-08 22:02:38 -05:00
Paul Davis
624a86c39d lots more color work, closer and closer to being ready for ... being taken apart again 2014-12-08 22:02:38 -05:00
John Emmas
894192ca23 When we pass an integer clarify which overloaded version of sqrt() to call 2014-12-08 10:29:45 +00:00
Paul Davis
d425a43b26 fix up various issues with UIConfiguration, saving state, RC file loading etc. 2014-12-07 14:20:17 -05:00
Paul Davis
b37be190f3 fix up a logic problem when editing palette colors 2014-12-07 13:44:12 -05:00
Paul Davis
700edbdf39 big strides in color management 2014-12-07 13:12:48 -05:00
Paul Davis
d586289be5 first mostly-working build supporting GTK rethemeing via the Theme Manager 2014-12-07 13:12:48 -05:00
Robin Gareus
38a874ecb8 fix/amend pre commit 2014-12-06 08:24:21 +01:00
Robin Gareus
12a4ddc952 fix another ambiguity, this time: WINAPI Rectangle 2014-12-06 07:40:17 +01:00
Robin Gareus
d223e2ed57 fix ambiguous reference.
OSX CoreServices typedef's struct Rect
2014-12-06 05:52:31 +01:00
Paul Davis
2449fc9681 several steps closer to more sane color system 2014-12-05 09:01:55 -05:00
Paul Davis
318a9edab9 massive reworking of color selection implementation 2014-11-26 18:22:22 +02:00
Paul Davis
dcf4d7b38a change all GUI config files (GTK RC and our own XML config files) to use product-neutral names
Conflicts:

	gtk2_ardour/ui_config.cc
	gtk2_ardour/ui_default.conf.in
	gtk2_ardour/wscript
2014-09-07 10:25:46 -04:00
Robin Gareus
0ae8dd4bdb connect "blink-rec-arm" only when needed.
This also fixes rec-arm button display when Mixer strip
is showing an aux-send instead of the current route.

It's still only a half-baked solution. If "blink-rec-arm" is
to stay a lot of details related to this will need addressing.
2014-09-05 04:20:15 +02:00
Ben Loftis
61c11157c0 add option to blink rec-enables 2014-08-28 13:00:59 -05:00
Robin Gareus
a3c378cf62 move utility functions into a dedicated namespace 2014-06-25 21:47:54 +02:00
Tim Mayberry
cd12698b9c Rename PBD::find_file_in_search_path to just PBD::find_file
saves a bit of typing and not necessary if you look at how it is used.
2014-06-25 12:40:10 -04:00
Paul Davis
a50569e787 rename UIConfigVariable as ColorVariable since that is really it should be used for; use ARDOUR::ConfigVariable for everything else in UI config 2014-06-13 12:22:39 -04:00
Paul Davis
c56d309bd7 make the icon set selector actually do something 2014-06-10 14:39:28 -04:00
Paul Davis
324ef3b085 add icon set selector to theme manager 2014-06-10 14:39:28 -04:00
Paul Davis
af3056769c changes to waveform clipping display
* clip level is now -0.9dbFS
   * display of clipping is optional (see Theme Manager window)
   * clipping is based on disk data, unscaled by region gain
2013-06-28 20:21:30 -04:00
Paul Davis
7a7e937d8e more waveform drawing/coloring changes
* move color-regions-using-track color into UI config, not RC config
   * consolidate all waveform coloring into AudioRegionView::set_one_waveform_color()
2013-06-28 11:31:26 -04:00
Paul Davis
a1f858d3b2 an awful lot of tweaks to drawing details 2013-06-24 16:28:53 -04:00
Paul Davis
11becd4a6b properly restore newer (cairo-canvas related) UI config parameters 2013-06-21 17:15:56 -04:00
Paul Davis
bebe2af95a merge with master 2013-05-08 14:48:28 -04:00
Paul Davis
87d502c15b work work on window mgmt: offer the change to mark all floating windows as Dialogs (in th theme manager), and mark ArdourWindow and ArdourDialog as transient-for on creation, based on current WindowManager (ardour-object) settings 2013-05-07 18:09:12 -04:00
Paul Davis
ad4412ee7f fix missing content of theme manager 2013-05-05 15:13:03 -04:00
Paul Davis
96eee9e7a1 change UIConfig to use accessor/setter methods like RCConfig so that ParameterChanged methods can actually be emitted; add variable (over a small range) background shading for all TimeAxisViewItems 2013-04-16 23:46:22 -04:00
Paul Davis
381d4debf4 make waveform gradient depth continuously variable. color probably needs adjusting as do color stops to get a pleasing effect at most settings 2013-04-16 21:23:50 -04:00
Paul Davis
ccc9b6adee change rendering technique for waveforms, add back optional gradient, add back amplitude scaling, add rgb/hsv conversion utilities to canvas 2013-04-16 14:04:59 -04:00
Paul Davis
19bd641915 commit immediately post linking 2013-04-04 18:45:27 -04:00
Paul Davis
176fc3dd97 save user UI config (colors) file as soon as colors change or "restore defaults" is used
git-svn-id: svn://localhost/ardour2/branches/3.0@13729 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-26 16:32:11 +00:00
Paul Davis
1eb4f9a2da add option to not use gradients when rendering waveforms (#4944)
git-svn-id: svn://localhost/ardour2/branches/3.0@13015 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-10 18:43:09 +00:00
Tim Mayberry
105caf23da Use std::string instead of PBD::sys::path in pbd/search_path.h, pbd/file_utils.h and ardour/session_dir.h
git-svn-id: svn://localhost/ardour2/branches/3.0@12829 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:06:54 +00:00
David Robillard
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
Paul Davis
930f9a34c1 use the theme manager dialog to provide control over flat button option, and turn it off by default
git-svn-id: svn://localhost/ardour2/branches/3.0@12382 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-22 16:36:59 +00:00
Paul Davis
813c5f0af9 major rationalization of use of search paths. ardour now has just 4 functions used to define how external resources are located: ardour_config_search_path() (for system or user specific configuration data), ardour_data_search_path() (for machine, user and system independent data), ardour_dll_directory() (base directory where shared libraries are found) and user_config_directory(). These are now used throughout the code. the config, data and dll paths/directories can be overridden by environment variables. the user config dir is added as the first element of the first two search paths, and use selectively when searching for a few other things.
This commit re-enabes ./waf install, and it is believed that it works fully at this point (more testing likely required)

git-svn-id: svn://localhost/ardour2/branches/3.0@12326 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-18 17:24:06 +00:00