summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ui_config.cc
AgeCommit message (Collapse)Author
2019-12-27Preferences/Config changes for image-surface settingsRobin Gareus
2019-08-03Update GPL boilerplate and (C)Robin Gareus
Copyright-holder and year information is extracted from git log. git history begins in 2005. So (C) from 1998..2005 is lost. Also some (C) assignment of commits where the committer didn't use --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-05Make an info string translatableRobin Gareus
2017-07-01NO-OP whitespace (updated GH PR #357)Thomas Brand
2017-06-22Remove LocaleGuards from UIConfiguration classTim Mayberry
all float <=> string conversions are done via PBD::to_string/string_to. Either via XMLNode::get/set_property or directly in HSV and SVAModifier classes
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.
2017-04-19Use XMLNode::set_property API in UIConfiguration classTim Mayberry
2017-04-19Use PBD string conversion functions in PBD::ConfigurationVariableTim Mayberry
No longer need a specialization for bool as PBD::to_string/string_to already has specializations for bool Remove template specialization for float as string_to/to_string handles string representations of infinity
2017-01-20Leave some notes about memory-leaksRobin Gareus
2017-01-20Free some one time alloc of the UI (cleaner valgrind output)Robin Gareus
No incremental leaks here.. * downcase (const char*) uses strdup, caller needs to free * free allocated cursors when the editor is destroyed * drop static editor lua-instance & bindings * delete allocated gtk image/icons
2016-11-27Don't include program-name with <Option name="color-file" />Robin Gareus
This allows for e.g. mixbus and mixbus32c to share the config, but use different color-files at runtime.
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-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-07-14UIConfig needs C numeric locale while setting GTK color themePaul Davis
2016-06-21fix some more thinkos related to user color file managementPaul Davis
2016-06-21tweaks to how UIConfiguration::color_file_name() operatesPaul Davis
2016-06-08fix user color file nameRobin Gareus
2016-05-31show color theme file search path when a file is not foundPaul 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-31remove debug outputPaul Davis
2016-05-31the return of the theme selector, plus 3 new themes from cooltehnoPaul Davis
2016-05-07GUI part of LocaleGuard optimization.Robin Gareus
2016-05-07fix LocaleGuard contstructor (3dc77280)Robin Gareus
2016-05-05we always only use the "C" locale when saving.Robin Gareus
2016-05-04OMNIBUS COMMIT: prefer const XMLNode::property method (and provide a real one)Paul Davis
2015-10-05use quotes for in-tree pbd/glib wrapper includeRobin Gareus
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-09-17use pbd's gstdio compatibility wrapper (GUI)Robin Gareus
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-16Remove inclusion of ardour_ui.h from ui_config.ccTim 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-09-15remove unused variableRobin Gareus
2015-09-07image-surface/software rendering as preferenceRobin Gareus
2015-05-28only use and present the buggy gradient parameter if built with a suitably ↵Paul Davis
patched version of Cairo
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.
2015-01-19use C locale, because POSIX locale is not supported on windows, and ↵Ben Loftis
operation is undefined. C works on all platforms
2014-12-22fix color parsing on 32bit systemsRobin Gareus
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 localeguard to read floating point values correctly when loading theme ↵Paul Davis
modifiers
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-14initial pass to replace all UIConfiguration::get_XXXXXX() calls with ↵Paul Davis
UIConfiguration::color(name). IMPORTANT: names have not been downcased and spaced yet, so many colors are not found