summaryrefslogtreecommitdiff
path: root/gtk2_ardour/utils.cc
AgeCommit message (Collapse)Author
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
2013-09-16Merge branch 'master' into cairocanvasPaul Davis
2013-09-16fix conflicts and merge with masterPaul Davis
2013-09-16check for an existing PublicEditor instance AFTER attempting to handle a key ↵Paul Davis
press in a window that has called relay_key_press(), so that normal key handling works there (e.g. audio/MIDI setup)
2013-09-14fix merge conflicts with masterPaul Davis
2013-09-13Merge branch 'master' into windowsPaul Davis
2013-09-12prevent key press in pre-main-window dialog(s) from crashing the program ↵Paul Davis
because there is no editor window to forward key presses to
2013-09-12incomplete merge of master into windows (requires upcoming changes to master ↵Paul Davis
to be complete)
2013-09-06Rename SearchPath class SearchpathTim Mayberry
Windows headers define SearchPath which means we have to undefine it where necessary. This is a pain and can be tricksy, so I feel renaming the class slightly is the easiest solution.
2013-08-08get meter color from gtkrc style fileRobin Gareus
2013-08-05fix conflicts after merge with masterPaul Davis
2013-07-31fix merge conflict from masterPaul Davis