summaryrefslogtreecommitdiff
path: root/gtk2_ardour/theme_manager.cc
AgeCommit message (Collapse)Author
2013-05-07work work on window mgmt: offer the change to mark all floating windows as ↵Paul Davis
Dialogs (in th theme manager), and mark ArdourWindow and ArdourDialog as transient-for on creation, based on current WindowManager (ardour-object) settings
2013-05-05fix missing content of theme managerPaul Davis
2012-12-26save user UI config (colors) file as soon as colors change or "restore ↵Paul Davis
defaults" is used git-svn-id: svn://localhost/ardour2/branches/3.0@13729 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-10add option to not use gradients when rendering waveforms (#4944)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13015 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Use std::string instead of PBD::sys::path in pbd/search_path.h, ↵Tim Mayberry
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-05-24Remove over 500 unnecessary includes (including 54 of session.h).David Robillard
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-22use the theme manager dialog to provide control over flat button option, and ↵Paul Davis
turn it off by default git-svn-id: svn://localhost/ardour2/branches/3.0@12382 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-18major rationalization of use of search paths. ardour now has just 4 ↵Paul Davis
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-04-11Patch from epitech_user to fix statement with no effectCarl Hetherington
(#4816). git-svn-id: svn://localhost/ardour2/branches/3.0@11890 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-29stupid hack to fix issues with OS X Carbon headersPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11107 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-06use color selector renderer for theme managerPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10916 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-19Only use ArdourDialog (and thus Gtk::Dialog) for actual dialogs.David Robillard
Fixes #4364. I havn't fully tested every single dialog and window (heck, I don't even know how to get at half of them), and there may be some packing niggles, but this is the bulk of the work. The Gnome 3 kiddies can close their dialogs now, anyway :) git-svn-id: svn://localhost/ardour2/branches/3.0@10699 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-102 level structure for theme manager window, to help with all these buttonsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10526 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-26new ArdourButton class, to start to provide more control over how our ↵Paul Davis
buttons work and appear; use ArdourButtons for monitor, solo isolate and solo safe buttons, and in the processor box; don't save UI config file (canvas colors) to the user's home dir unless one or more parameters were modified by the user git-svn-id: svn://localhost/ardour2/branches/3.0@10311 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-02add configurable colors to stereo panner, plus keybindings for zero width ↵Paul Davis
(0), 1 (alt-up) or -1 (alt-down), plus M when its mono git-svn-id: svn://localhost/ardour2/branches/3.0@8153 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-18Make the session start/end location a single location (with start and end) ↵Carl Hetherington
rather than two separate ones. Fixes #1298. git-svn-id: svn://localhost/ardour2/branches/3.0@6929 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-18Fix some i18n bugs; hopefully most if not all of #2999.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@6927 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-15finalize PROGRAM_NAME change for ardour3Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@6759 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-11make all use of bind/mem_fun be explicitly sigc:: Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@6354 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-22Use info stream for infoey things.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@5867 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-19Tidy up window titles, according to GNOME HIG and as suggested in mantis 2803.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5805 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14Strip trailing whitespace and fix other whitespace errors (e.g. space/tab ↵David Robillard
mixing). Whitespace changes only. Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent... git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-21Fix some unused parameter warnings.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5403 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27Waf: install stuffDavid Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@4702 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25*** NEW CODING POLICY ***David Robillard
All #include statements that include a header that is a part of a library bundled with ardour MUST use quotes, not angle brackets. Do this: #include "ardour/types.h" NOT this: #include <ardour/types.h> Rationale: This is best practice in general, to ensure we include the local version and not the system version. That quotes mean "local" (in some sense) and angle brackets mean "system" (in some sense) is a ubiquitous convention and IIRC right in the C spec somewhere. More pragmatically, this is required by (my) waf (stuff) for dependencies to work correctly. That is: !!! FAILURE TO DO THIS CAN RESULT IN BROKEN BUILDS !!! Failure to comply is punishable by death by torture. :) P.S. It's not that dramatic in all cases, but this (in combination with some GCC flags specific to the include type) is the best way I have found to be absolutely 100% positive the local ones are being used (and we definitely want to be absolutely 100% positive on that one). git-svn-id: svn://localhost/ardour2/branches/3.0@4655 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-18Fix ardour2 -> ardour3 issues.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@4622 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-03Improve GNOME HIG compliance a bit.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@4383 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-12most of the 2.X->3.0 commit (up to rev 4299) except for ↵Paul Davis
gtk2_ardour/editor_canvas.cc; builds and runs and does a few specific things but expect it to be buggy for a while yet git-svn-id: svn://localhost/ardour2/branches/3.0@4313 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-02Merge with trunk R2978.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@2988 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-13Install everything to *ardour3* instead of *ardour2*.David Robillard
Fix initial display of keys and scroomer on new MIDI tracks. Remove console barf. git-svn-id: svn://localhost/ardour2/trunk@2909 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-10Merge with 2.0-ongoing R2883.David Robillard
git-svn-id: svn://localhost/ardour2/trunk@2885 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-10Make theme manager dialog's title similar in style to the others on the same ↵Carl Hetherington
menu. git-svn-id: svn://localhost/ardour2/trunk@2535 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04Rename PBD::SearchPath::get_string to PBD::SearchPath::to_stringTim Mayberry
git-svn-id: svn://localhost/ardour2/trunk@2369 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-29only do the widget packing style hack once, instead of everytime there is a ↵Doug McLain
theme change git-svn-id: svn://localhost/ardour2/trunk@2091 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-29fixed typoDoug McLain
git-svn-id: svn://localhost/ardour2/trunk@2088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-29Moved canvas colors and theme file selection into new ui specific config systemDoug McLain
git-svn-id: svn://localhost/ardour2/trunk@2086 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-29quick fix for weird colorselection bug where alpha gets set to 0 if it wasnt ↵Doug McLain
changed from previous value git-svn-id: svn://localhost/ardour2/trunk@2083 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27Use signal_toggled instead of signal_clicked in ThemeManager so a theme is ↵Tim Mayberry
only "loaded" once. git-svn-id: svn://localhost/ardour2/trunk@2060 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27Move some code from ARDOUR_UI::setup_theme to ThemeManager::setup_themeTim Mayberry
git-svn-id: svn://localhost/ardour2/trunk@2059 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27Move ARDOUR_UI::ThemeChanged signal into Gtkmm2ext::UITim Mayberry
This means ThemeManager no longer depends on ARDOUR_UI git-svn-id: svn://localhost/ardour2/trunk@2057 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27Use PBD::find_file_in_search_path in ThemeManager to find the rc file.Tim Mayberry
git-svn-id: svn://localhost/ardour2/trunk@2056 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-24Disable excessive colour debugging print statements.David Robillard
git-svn-id: svn://localhost/ardour2/trunk@2030 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-15Major Theme Manager changes, see ardour-devDoug McLain
git-svn-id: svn://localhost/ardour2/trunk@1987 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-28make ARDOUR2_UI_RC work againDoug McLain
git-svn-id: svn://localhost/ardour2/trunk@1923 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-25New theme manager, with option to select between dark and light theme. ↵Doug McLain
Cleanups to ardours handling of the ui rc file during startup, and changed the monitoring options to be global instead of session specific. More details about the theme stuff comign to ardour-dev git-svn-id: svn://localhost/ardour2/trunk@1917 d708f5d6-7413-0410-9779-e7cbd77b26cf