summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ui_config.h
AgeCommit message (Collapse)Author
2017-07-17Clean up library inheritance (colors.h, utils.h)Robin Gareus
make libwidget independent of libcanvas. Confine basics to pbd and gtkmm2ext.
2017-07-17Separate Ardour UI widgets into dedicated libraryRobin Gareus
2017-07-01NO-OP whitespace & foratting of header filesRobin Gareus
2017-04-19Changes needed for building Tim's new 'string_convert' stuff with MSVC ↵John Emmas
(gtk2_ardour)
2017-04-19Use snprintf instead of std::stringstream when converting color values to ↵Tim Mayberry
strings std::ostream/stringstream will use the current locale to determine the numeric formatting. If the locale uses grouping then thousands separators will be inserted in the output which produces an invalid color string in UIConfiguration::reset_gtk_theme() and when converting colors to strings in UIConfiguration::store_color_theme() This has not been a problem so far because it appears that LocaleGuard does not reset the LC_NUMERIC value for the global C++ locale. So if a LocaleGuard is created at any time before these functions are called(even if it goes out of scope) the numeric formatting used by std::streams will use the "C" locale formatting facets.
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