summaryrefslogtreecommitdiff
path: root/gtk2_ardour/utils.h
AgeCommit message (Collapse)Author
2013-10-16merge with master and fix 2 conflictsPaul Davis
2013-09-23move rate_as_string() from EngineControl to utils.ccPaul Davis
2013-08-08get meter color from gtkrc style fileRobin Gareus
2013-07-24get meter color from gtkrc style fileRobin Gareus
2013-06-13merge with masterPaul Davis
2013-06-10move emulate_key_event() to utilsRobin Gareus
2013-04-04initial commit of hand merging, plus getting "ancient" waf script to work ↵Paul Davis
correctly
2012-06-12Escape angled brackets in playlist names for tooltips.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12672 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-07Remove unused color_from_style / gc_from_style.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11618 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07move 2 other non-ardour-specific utility functions into gtkmm2extPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10932 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-30Give route groups their own colour, settable from the routeCarl Hetherington
group dialogue. Americanise spelling of color in a few places to avoid confusion. Fixes #4224. Addresses parts of #2650 and #4064. git-svn-id: svn://localhost/ardour2/branches/3.0@10030 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-11use volume controller widget for monitor section, drop some now-unused codePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@8828 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-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-09-14remove Glib::ustring from gtk2_ardourPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7774 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-22forward port of 7539 from 2.xPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7667 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-04-06MIDI/Controllables for monitor section, and related fixesPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@6863 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-11save/restore monitor processor state; key handling in torn off monitor ↵Paul Davis
section window git-svn-id: svn://localhost/ardour2/branches/3.0@6748 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-15Escape underscores in port matrix menus correctly so that track names etc. ↵Carl Hetherington
with underscores get displayed properly. git-svn-id: svn://localhost/ardour2/branches/3.0@6491 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-30restore excess calls to sync-order stuff (for now); allow MIDI controllers ↵Paul Davis
to use the same non-linear fader response as the gui; add various flags to PBD::Controllable and remove URI from that class git-svn-id: svn://localhost/ardour2/branches/3.0@6414 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-25carl's wondrous DnD VBox patch - processor boxes are now vboxes and not ↵Paul Davis
listviews - which included a couple of minor marker/time axis view patches for opaqueness etc. git-svn-id: svn://localhost/ardour2/branches/3.0@6174 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-17allow use of Return, KP_Enter and more in key binding editor; better display ↵Paul Davis
of such bindings; potential fix for "crashes" caused by an endless loop of enter/hide events involving the verbose canvas cursor git-svn-id: svn://localhost/ardour2/branches/3.0@6109 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-12tidy up (a bit) locations editing widget ; use pixbuf/string code from ↵Paul Davis
2.0;remove edit point clock git-svn-id: svn://localhost/ardour2/branches/3.0@6074 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14Strip trailing whitespace and fix other whitespace errors (e.g. space/tab ↵David Robillard
mixing). Whitespace changes only. Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent... git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-29Modify hacks associated with initial sizing of port matrices to try and make ↵Carl Hetherington
things work with both fluxbox and metacity. git-svn-id: svn://localhost/ardour2/branches/3.0@5604 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-27lots of MIDI editing stuff. to be explained on the website when its donePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@5596 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-28remove all MIDI-specific editing modes by making standard work either at ↵Paul Davis
object level or within (e.g. notes, etc) ; make tool buttons proxies for GtkActions ; internal sends have their own BufferSet now, instead of using Session ones; don't make internal sends to the monitor bus active when added to the Route git-svn-id: svn://localhost/ardour2/branches/3.0@5434 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-03Pull snapshots code out of Editor class.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5313 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-20Optional tabs down the LHS of the editor window to indicate edit group ↵Carl Hetherington
membership. git-svn-id: svn://localhost/ardour2/branches/3.0@5220 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-21A different fix for record crash, use pixfufs instead of canvas text in ↵Nick Mainsbridge
markers, use leftmost_frame instead of querying canvas coords when scrolling (speeds up canvas scrolling somewhat), remove old include, remove first_action_message and some other unused methods. git-svn-id: svn://localhost/ardour2/branches/3.0@5108 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25*** NEW CODING POLICY ***David Robillard
All #include statements that include a header that is a part of a library bundled with ardour MUST use quotes, not angle brackets. Do this: #include "ardour/types.h" NOT this: #include <ardour/types.h> Rationale: This is best practice in general, to ensure we include the local version and not the system version. That quotes mean "local" (in some sense) and angle brackets mean "system" (in some sense) is a ubiquitous convention and IIRC right in the C spec somewhere. More pragmatically, this is required by (my) waf (stuff) for dependencies to work correctly. That is: !!! FAILURE TO DO THIS CAN RESULT IN BROKEN BUILDS !!! Failure to comply is punishable by death by torture. :) P.S. It's not that dramatic in all cases, but this (in combination with some GCC flags specific to the include type) is the best way I have found to be absolutely 100% positive the local ones are being used (and we definitely want to be absolutely 100% positive on that one). git-svn-id: svn://localhost/ardour2/branches/3.0@4655 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-02Fix missing namespaceSampo Savolainen
git-svn-id: svn://localhost/ardour2/branches/3.0@4379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-02GC from style utility functionSampo Savolainen
git-svn-id: svn://localhost/ardour2/branches/3.0@4378 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-10merge from 2.0-ongoing @ 3581Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@3711 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-17merge with 2.0-ongoing @ rev 3147Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@3152 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-08merged with 2.0-ongoing changes 2582-2605 (not thoroughly tested but it ↵Paul Davis
compiles, start up, and creates a new session) git-svn-id: svn://localhost/ardour2/trunk@2606 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-03remove static Pango::FontDescriptions, they cause glib errors because of ↵Paul Davis
initialization before Glib::thread_init() has been called git-svn-id: svn://localhost/ardour2/trunk@2100 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-06fix nasty logic error that leads to crashing bugs when trying to operate on ↵Paul Davis
regions that have been subject to undo/redo git-svn-id: svn://localhost/ardour2/trunk@1670 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-03audun's tempo redraw fix; sort-of cache time axis view item name widths and ↵Paul Davis
avoid pango-width-computation when unnecessary git-svn-id: svn://localhost/ardour2/trunk@1657 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-28remove Id: lines from many/all headers and some more source filesPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1535 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-29small change to region creation for make-mono-regions; add untested ↵Paul Davis
short_path(); fix double-redraws when canvas zoom/position changes git-svn-id: svn://localhost/ardour2/trunk@1396 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-12-14fix for crash when loading a session after running another, caused by not ↵Paul Davis
checking for _view != 0 in route_time_axis.cc; make fit_to_pixels() more useful and use it to truncate redirect and redirect parameters names in track control area git-svn-id: svn://localhost/ardour2/trunk@1212 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-12-08make follow-playhead available again; remove special pane handlingPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1197 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-30frame for fader belt; better focus behaviour for gain display text entry ↵Paul Davis
(generalized) git-svn-id: svn://localhost/ardour2/trunk@1171 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-10-10fix audio clock field widths, change minsec display to include fractional ↵Paul Davis
seconds, add and use thorwil's new icons git-svn-id: svn://localhost/ardour2/trunk@971 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-09-29many important changes to configuration system and specific parametersPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@935 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-04-25All included libraries now link dynamically instead of statically.Taybin Rutkin
Moved items from gtk2_ardour/utils to pbd3/convert. Various cleanups. git-svn-id: svn://localhost/trunk/ardour2@475 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-04-20a) use ink extents in most places where we used to use logical extentsPaul Davis
for text sizing b) add back scroll-wheel functionality to plugin parameter controls git-svn-id: svn://localhost/trunk/ardour2@460 d708f5d6-7413-0410-9779-e7cbd77b26cf