summaryrefslogtreecommitdiff
path: root/gtk2_ardour/utils.cc
AgeCommit message (Collapse)Author
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)
2014-06-13do most of the work related to adding new anchored trim cursors (but ↵Paul Davis
debugging/analysis continues)
2014-06-10add ::get_icon_sets() to utilsPaul Davis
2014-06-10change ::get_icon_path() and ::get_icon() to accept an "icon set" name to ↵Paul Davis
provide ability to use different sets of icons; use when creating MouseCursors
2014-06-09substantial changes in color management, involving a reduction in the use of ↵Paul Davis
Gdk::Color and more consistent logic for region coloring. Group tabs now also get the text drawn in an appropriately contrast-y color
2014-03-04mingw build fixes (tested with i686-w64-mingw32 on linux-x86_64)Robin Gareus
2013-10-14'gtk2_ardour' - Harmonize '__WIN32__', 'OS_WIN32' etc, etc. Use ↵John Emmas
'PLATFORM_WINDOWS' instead
2013-10-06Merge branch 'master' into windows+ccJohn Emmas
Conflicts (hopefully resolved): gtk2_ardour/ardour_ui.cc gtk2_ardour/ardour_ui.h gtk2_ardour/ardour_ui_options.cc
2013-09-23move rate_as_string() from EngineControl to utils.ccPaul Davis
2013-09-23major rearrangement of startup/session loading codePaul Davis
first-time user code remains in ArdourStartup session selection/setup moved to SessionDialog many other cleanups, logic improvements, and so forth to the overall session loading process. Not 100% finished yet.
2013-09-21Merge remote-tracking branch 'remotes/origin/cairocanvas' into windowsJohn Emmas
Conflicts (hopefully resolved): gtk2_ardour/marker.cc gtk2_ardour/midi_region_view.h gtk2_ardour/region_gain_line.h gtk2_ardour/utils.cc gtk2_ardour/video_image_frame.cc gtk2_ardour/wscript libs/backends/jack/wscript