summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext/utils.cc
AgeCommit message (Collapse)Author
2015-10-16API to add system-specific file chooser shortcutsRobin Gareus
2015-10-15prepare better solution of Glib's << operatorRobin 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-17associate label more closely with VST path button. the plugin tab needs a ↵Ben Loftis
complete layout rethink, someday
2015-09-06consistent pango-text layout size - fixes #6490Robin Gareus
Use gdk_pango_layout() for all text-size calculations. In Canvas::Text always use the same context (local image surface) for layouting (prior to this, local and window-context mix resulted in different sizes).
2015-08-11add API to get combobox option count.Robin Gareus
The data model needs to be checked to count available options. Directly using ComboBoxText::children()::size() counts widgets.
2015-06-29add new Gtkmm2ext::pixel_size() to conveniently get width&height for a given ↵Paul Davis
font + string
2015-03-16add API to query Gtk::ComboBoxText entriesRobin Gareus
..the overly complex C++ style variant. iterate twice.. hell yeah.
2015-01-14Fix setting command key bindings on OSX.David Robillard
2014-11-02add Gtkmm2ext::event_inside_widget_window()Paul Davis
2014-07-30Use text to specify combo box padding for better font/display tolerance.David Robillard
Consistent mixer strip button height. The latter works by setting all the button size request heights to the calculated height of the alphabet. Thus, all buttons of the same class will be the same height regardless of their actual text.
2014-07-09add std::string variant of set_size_request_to_display_given_string()Paul Davis
2014-05-10Bug fix imported from Mixbus2 (SVN r11025)John Emmas
Fix a crashing bug when trying to launch in a non-English locale (possibly only affects Windows)
2014-01-16add Gtkmm2ext::event_type_string()Paul Davis
2014-01-10fix merge errors with masterPaul Davis
2014-01-09add [missing] left_half_rectangle utilRobin Gareus
2014-01-02tweak design of time axis view item name text handlingPaul Davis
2013-05-08merge with masterPaul Davis
2013-05-07various changes to window visibility mgmt, including use of the mixbus2 code ↵Paul Davis
for toggling editor + mixer windows. no longer attempt to track changes made outside of ardour, which is a lost cause
2013-04-04initial commit of hand merging, plus getting "ancient" waf script to work ↵Paul Davis
correctly
2013-01-23more i18n fixes, this time removing a hack that broke i18n in bundles, and ↵Paul Davis
also only initializing NLS stuff if ENABLE_NLS is in effect. note that if translations are disabled by the user, we set the localedir used to look for message catalogs to a dir that is assumed to not exist (/this/cannot/exist) which should block all translation from happening. git-svn-id: svn://localhost/ardour2/branches/3.0@13975 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-21start passing around the (possibly-bundle-modified) localedir so that we ↵Paul Davis
call bindtextdomain() correctly, and thus (hopefully) find message catalogs correctly inside a bundle git-svn-id: svn://localhost/ardour2/branches/3.0@13965 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-10remove rounded corners from non-mobile ends of pixfadersPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13828 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-06several theme changes. changed drawing of rounded_rectangle to be more ↵Ben Loftis
correct. operation and feel should be more consistent. rec-mute-solo buttons are now dull until enabled. this might be debatable. otherwise if it looks weird, try loading Window->Theme Manager and clicking Restore Defaults git-svn-id: svn://localhost/ardour2/branches/3.0@13611 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-14provide the ability to enable + disable tooltipsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13505 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-11Factor out 'persistent' tooltip code from the pannerCarl Hetherington
interface and use it for processor box sliders (#4461). git-svn-id: svn://localhost/ardour2/branches/3.0@12661 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-05Marginal cleanup.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12565 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-07remove additional "mid" color from ArdourButton; replace Active/Mid widget ↵Paul Davis
state with ExplicitActive/ImplicitActive; represent implicit-active state with colored border around ArdourButton; tune button colors; new rounded_foo() functions, some in use, some not in use right now git-svn-id: svn://localhost/ardour2/branches/3.0@11466 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-03add some more variants of the cairo rounded rectangle codePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11434 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07switch to benjamin otte's implemention of fit_to_pixels() but leave ↵Paul Davis
uncommented because this prototype is not used; move 2 other non-ardour-specific utility functions into gtkmm2ext git-svn-id: svn://localhost/ardour2/branches/3.0@10931 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23Pack toolbar combo boxes with expand=false and remove size kludges.David Robillard
Turns out gtk these days sizes combo boxes with precisely enough space if packed to not expand, none of this mess is necessary any more. git-svn-id: svn://localhost/ardour2/branches/3.0@10790 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-17all new implementation of audio clocks, with entirely new editing model. not ↵Paul Davis
entirely finished, but lookable, and usable git-svn-id: svn://localhost/ardour2/branches/3.0@10662 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-14Comment typo.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@10575 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-26provide C API for rounded rectangle cairo utilityPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10310 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20add (commented) new version of fit-to-pixels function, from Company on #gtk+Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10248 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-07lots of clock tweaks, but still, STILL! not done, reallyPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9678 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02audio clock switchover part2: remove most egregious include-time dependency ↵Paul Davis
on audio_clock.h, and alter API for a few utilities along the way git-svn-id: svn://localhost/ardour2/branches/3.0@9673 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-08added Gtkmm2ext::rounded_rectangle() cairo pseudo-methodPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@8787 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-27merge 3.0-panexp (pan experiments) branch, revisions 8534-8585 into 3.0, ↵Paul Davis
thus ending 3.0-panexp. THIS COMMIT WILL BREAK ALL EXISTING 3.0 SESSIONS IN SOME WAY (possibly not fatally). git-svn-id: svn://localhost/ardour2/branches/3.0@8586 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-30resize all editor comboboxes when DPI is reset. involved a minor refactoring ↵Paul Davis
of some code and the spreading of the awful COMBO_FUDGE+10 hack git-svn-id: svn://localhost/ardour2/branches/3.0@8398 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-14Don't try to do sub-pixel text placement as cairo doesn't support it. Fixes ↵Carl Hetherington
#3534. git-svn-id: svn://localhost/ardour2/branches/3.0@8033 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-26correct version of: port cairo ARGB/BGRA -> pixbuf RGBA patch from recent ↵Paul Davis
2.X commit (restores text on canvas), in which i move some functions around, rename stuff and add comments git-svn-id: svn://localhost/ardour2/branches/3.0@7846 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-25split out sndfile manager code into its own file; move a couple of utility ↵Paul Davis
functions into gtkmm2ext ; add knob PNG generating tool ; break appearance of monitor section for now git-svn-id: svn://localhost/ardour2/branches/3.0@7160 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-15dynamically resize text in the big clock, first versionPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@6494 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-09add Gtkmm2ext::detach_menu() that was needed by my previous commitPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@6471 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-15first half of the mega-by-hand-commit-by-commit merge from 2.XPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@4980 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-06combobox width fixes from mtaht, backported from 2.XPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@4742 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-02rollback to 3428, before the mysterious removal of libs/* at 3431/3432Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@3435 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-02remove empty sigc++2 directoryDoug McLain
git-svn-id: svn://localhost/ardour2/branches/3.0@3432 d708f5d6-7413-0410-9779-e7cbd77b26cf