summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ui_config.h
AgeCommit message (Collapse)Author
2016-08-21Merge set_pango_fontsize() into reset_dpi()Julien "_FrnchFrgg_" RIVAUD
… since reset_dpi() is the only caller.
2016-07-18turn back towards color theme files ALWAYS including the program name. also ↵Paul Davis
load both default and user colors (if present)
2016-06-21tweaks to how UIConfiguration::color_file_name() operatesPaul Davis
2016-05-31rework of color theme file managementPaul Davis
Use program-name + version when saving user color files (and search for them) Preset XML-defined theme name, but use filename in config files (could be wrong).
2016-05-31the return of the theme selector, plus 3 new themes from cooltehnoPaul Davis
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-09-17fix clang compilation. Robin Gareus
pbd/configuration_variable.h:84:6: error: call to function 'operator>>' that is neither visible in the template definition nor found by argument-dependent lookup ardour/types.h defines std::istream& operator>> and must be included prior to pbd/configuration_variable.h
2015-09-16Move UIConfiguration Singleton into UIConfiguration headerTim Mayberry
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-16Move ARDOUR_UI::ui_scale into UIConfiguration classTim Mayberry
2015-09-16Move DPIReset and ColorsChanged signals into UIConfigurationTim Mayberry
2015-09-16Move util functions into UIConfiguration as they depend on it anywayTim Mayberry
2015-05-28rearrange and redesign UIConfiguration/ARDOUR_UI APIs to allow correct ↵Paul Davis
initialization. We need to be able to set an environment variable *before* gtk_init() is called, but also to load the color theme right after gtk_init() and before the rest of the GUI is created.
2014-12-22move ARDOUR::Configuration and ARDOUR::ConfigVariable into libpbdPaul Davis
2014-12-16Various color tweaks.David Robillard
This commit changes some color names, nuke your theme. This isn't quite ideal yet, but takes some steps towards where I think things should go aesthetically: Make automation tracks/regions colors correspond to their parent's type. Make selected MIDI notes outlined in red like most everything else, and scrap separate min/mid/max fill colors for selected MIDI notes. Color automation ghost MIDI notes based on original note color. Try to kill 90's looking brightish gray gradients in general.
2014-12-15add editor to Theme Manager for modifiersPaul Davis
2014-12-15Add UIConfiguration::color_mod (colorname, modifiername) to get a modified colorPaul Davis
2014-12-14add missing UIConfiguration::modifier()Paul Davis
2014-12-14basic code to use SVModifier plus one definition in dark.colorsPaul Davis
2014-12-14remove base color concept from UIConfiguration and ThemeManager.Paul Davis
What used to be "relative colors" (defined relative to base colors) are now defined in absolute terms.
2014-12-11allow UIConfiguration::color() to tell caller that it could not find the ↵Paul Davis
named color
2014-12-08more tweaking of color management.Paul Davis
User's own modification to NAME.colors are stored in $CONFIG/my-NAME.colors now.
2014-12-08another metric ton of color workPaul Davis
2014-12-08lots more color work, closer and closer to being ready for ... being taken ↵Paul Davis
apart again
2014-12-08more color work, including removing rgba{_p_}_from_style()Paul Davis
2014-12-07fix up various issues with UIConfiguration, saving state, RC file loading etc.Paul Davis
2014-12-07big strides in color managementPaul Davis
2014-12-07first mostly-working build supporting GTK rethemeing via the Theme ManagerPaul Davis
2014-12-05save and restore color aliasesPaul Davis
2014-12-05remove CANVAS_STRING_VARIABLE (it was replaced by CANVAS_FONT_VARIABLEPaul Davis
2014-12-05several steps closer to more sane color systemPaul Davis
2014-12-05make new color aliases actually workPaul Davis
2014-12-05working compilation for new color codePaul Davis
2014-11-26continue tweaks on the color roadPaul Davis
2014-11-26massive reworking of color selection implementationPaul Davis
2014-06-25move utility functions into a dedicated namespaceRobin Gareus
2014-06-19change the way font specifications are used in UI config filesPaul Davis
If no font family is specified, enforce use of Sans to match GTK behaviour (which we inadvertently relied on, it appears)
2014-06-13rename UIConfigVariable as ColorVariable since that is really it should be ↵Paul Davis
used for; use ARDOUR::ConfigVariable for everything else in UI config
2014-06-13add CANVAS_STRING_VARIABLE, the first step in being able to avoid using GTK ↵Paul Davis
rc files for font specifications Still needs a way to generate the font specs at build time to account for platform differences
2013-06-21properly restore newer (cairo-canvas related) UI config parametersPaul Davis
2013-04-16change UIConfig to use accessor/setter methods like RCConfig so that ↵Paul Davis
ParameterChanged methods can actually be emitted; add variable (over a small range) background shading for all TimeAxisViewItems
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
2009-10-15rework Stateful::set_state() patch to avoid default version argumentPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@5787 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-15Part 1 of loading 2.X sessions; some things work, some things don't, hacks ↵Carl Hetherington
a-plenty. LOADING 2.X SESSIONS WITH THIS COMMIT IN PLACE WILL (PROBABLY) CORRUPT THE .ardour FILE, MAKING THE SESSION UNLOADABLE ON 2.X AND LOSING INFORMATION. So don't do that unless you make a backup of the session file first. git-svn-id: svn://localhost/ardour2/branches/3.0@5786 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-05-14First stage of options rework.Carl Hetherington
- Split Configuration into RCConfiguration and SessionConfiguration; the first for options which are saved to .rc files and the second for options which are saved in a session file. - Move some options from the old `master' Configuration object into SessionConfiguration; this needs more refinement. - Reflect many RCConfiguration options in an expanded Edit->Preferences dialog; my intention is to remove the corresponding menu items eventually. git-svn-id: svn://localhost/ardour2/branches/3.0@5075 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
2008-02-02Merge with trunk R2978.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@2988 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-29fix compiler warningDoug McLain
git-svn-id: svn://localhost/ardour2/trunk@2090 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-29Moved canvas colors and theme file selection into new ui specific config ↵Doug McLain
system, added rest of the files git-svn-id: svn://localhost/ardour2/trunk@2087 d708f5d6-7413-0410-9779-e7cbd77b26cf