summaryrefslogtreecommitdiff
path: root/gtk2_ardour/utils.cc
AgeCommit message (Collapse)Author
2016-07-18move show_gdk_event_state() utility function from gtk2_ardour to libs/gtkmm2extPaul Davis
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-06-21provide ARDOUR_UI_UTILS::running_from_source_tree()Paul Davis
2016-06-09color management and handling for VCAsPaul Davis
2016-06-05new color utility functions to convert between uint32_t and Gdk::ColorPaul Davis
2016-05-31clean up some dangling code from ThemeManagerPaul 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
2016-05-31remove stupid, unused functionPaul Davis
2016-05-17group Product/App specific resourcesRobin Gareus
* only install icons relevant to product * use program-name (as-is) as prefix * keep icons/* for all products
2016-02-22replicate the remove-all-trailing whitespace commit(s) in masterPaul Davis
2016-02-22cleanup various merge conflict resolution errors/omissionsPaul Davis
2016-02-22ensure that all callers of ARDOUR_UI_UTILS::relay_key_press() provide a windowPaul Davis
2016-02-22get normal GTK accelerators working againPaul Davis
2016-02-22first compilable version of tabbable design.Paul Davis
I would have loved to split this apart, but there are just so many interrelated changes, it makes little sense and would be a huge effort that would break future git bisect use because so many intermediate commits would not compile
2015-11-04Remove explicit positioning of overwrite_file_dialog.André Nusser
ArdourDialog takes care of this.
2015-11-04Improve behavior of overwrite_file_dialog.André Nusser
- Make overwrite file dialogs transient. - Cancelling the overwrite dialog doesn't close initial dialog.
2015-10-21Confirmation on overwrite for track and session templates. -fixes #6587André Nusser
2015-10-05remove unused fstream includesRobin Gareus
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 a tautologically undefined comparisonRobin Gareus
2015-09-16Move UIConfiguration Singleton into UIConfiguration headerTim Mayberry
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-16Remove unused header includeTim Mayberry
2015-09-16Move util functions into UIConfiguration as they depend on it anywayTim Mayberry
2015-06-27consolidate codeRobin Gareus
2015-01-30use Gtkmm2ext::possibly_translate_mod_to_make_legal_accelerator() in all ↵Paul Davis
cases where we use gtk_accel_groups_activate() Because that function needs it, whereas the old gtk_window_activate_key() did not.
2015-01-29don't wipe out SHIFT from event state when processing keyboard events, as ↵Paul Davis
done in a recent commit
2015-01-28use gtk_accel_groups_active() in preference to gtk_window_activate_key() ↵Paul Davis
since the latter behaves incorrectly The window version will not activate bindings like <Mod4><Super>-space, whereas the former one works correctly. We already used the former one just above, when handling "fakekeys". Also add a utility function to show modifier state.
2015-01-14Fix setting command key bindings on OSX.David Robillard
2014-12-22move all (G)UI related configuration parameters into UIConfiguration, not ↵Paul Davis
RCConfiguration
2014-12-08more color work, including removing rgba{_p_}_from_style()Paul Davis
2014-11-19also load hotspot file (if it exists) for default cursorsRobin Gareus
2014-11-18Remove obviously dead/redundant code.David Robillard
2014-11-14add abort() to non-reached codeRobin Gareus
This cleans up a lot of false-positives in static analysis and also helps compilers to optimize code paths in general. (tagging the fatal stingstream operator as ‘noreturn’ is far less trivial)
2014-11-02slightly increased debugging output for -D acceleratorsPaul Davis
2014-10-01harfbuzzed - also reverts 666de70dRobin Gareus
2014-09-30pango --with-included-modules=yes does not provide explicit pangoft headerRobin Gareus
2014-09-10add extra (default-ed) argument to ::get_icon_path() to allow it to be used ↵Paul Davis
to look for icon-related but non-image files
2014-09-06remove cruftRobin Gareus
2014-07-02display key name when debugging keyboard/accel stuffPaul Davis
2014-06-30move contrasting_text_color() into ArdourCanvasPaul Davis
2014-06-26prepare formatting track-number for mixer (and other places)Robin Gareus
2014-06-25move utility functions into a dedicated namespaceRobin Gareus
2014-06-25Fix finding icon sets by using correct utility functionTim Mayberry
2014-06-25Rename PBD::find_file_in_search_path to just PBD::find_fileTim Mayberry
saves a bit of typing and not necessary if you look at how it is used.
2014-06-25Change PBD::get_files_in_directory to return full paths in resultTim Mayberry
get_files_in_directory uses get_directory_contents internally now
2014-06-25GLib functions for listing directory contents don't include "." or ".." entriesTim Mayberry
2014-06-19explanatory commentPaul Davis
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)