summaryrefslogtreecommitdiff
path: root/gtk2_ardour/utils.h
AgeCommit message (Collapse)Author
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
2006-03-22significant changes in code to handle import/embedding - much cleaner and ↵Paul Davis
less code, plus the import progress bar now works; unify response handling for Gtkmm2ext::Choice git-svn-id: svn://localhost/trunk/ardour2@415 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-03-14fix problems with pixmaps/xpm filesPaul Davis
git-svn-id: svn://localhost/trunk/ardour2@392 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-03-12create xpm files from hard coded pixmaps, added function get_xpm() to make ↵Doug McLain
sure any xpm only gets load from disk once git-svn-id: svn://localhost/trunk/ardour2@379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-03-09new mix group interface, not yet finished and still to propagate to edit_groupPaul Davis
git-svn-id: svn://localhost/trunk/ardour2@366 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-01-19add GUI support to create tape/destructive tracksPaul Davis
git-svn-id: svn://localhost/trunk/ardour2@278 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-01-13Moved strip_whitespace_edges() to pbd/whitespace.hTaybin Rutkin
Gtkmm2ext::Prompter::get_result() calls strip_whitespace_edges(), so you don't have to. Removed unused/unecessary/forgotten headers from libpbd. git-svn-id: svn://localhost/trunk/ardour2@270 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-01-06modified rgba_from_style() so that it can be used to retrieve any attribute ↵Doug McLain
from any style, return rgb or rgba, then used to to remove hard coding of colors in transport buttons and whole_file region names. Theme changes too git-svn-id: svn://localhost/trunk/ardour2@245 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-01-01add ability to specify row colors for region treeviewDoug McLain
git-svn-id: svn://localhost/trunk/ardour2@220 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-12-22s/stringcr_t/const string &/Karsten Wiese
git-svn-id: svn://localhost/trunk/ardour2@201 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-12-16use stringcr_t and gain 1/1000 binary size reduction. not thaat much...Karsten Wiese
git-svn-id: svn://localhost/trunk/ardour2@194 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-11-29Fixed veclib support on OSX.Taybin Rutkin
git-svn-id: svn://localhost/trunk/ardour2@150 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-11-28mega commit to remove gtk_object cruft, and much other stuffPaul Davis
git-svn-id: svn://localhost/trunk/ardour2@139 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-11-23Gnome::Canvas -> ArdourCanvas and some other small fixesNick Mainsbridge
git-svn-id: svn://localhost/trunk/ardour2@107 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-11-22plugin selector from doug; lots and lots of fixes from karstenPaul Davis
git-svn-id: svn://localhost/trunk/ardour2@105 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-10-10more work on actions and general compilabilityPaul Davis
git-svn-id: svn://localhost/trunk/ardour2@56 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-10-09new registration system for editor actions set up and compilesPaul Davis
git-svn-id: svn://localhost/trunk/ardour2@54 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-10-09fixes for utils.cc in gtk2_ardour and gtkmm2ext, including switch to ↵Paul Davis
Pango::FontDescription rather than string git-svn-id: svn://localhost/trunk/ardour2@53 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-09-26got ardour_dialog compilingPaul Davis
git-svn-id: svn://localhost/trunk/ardour2@41 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-09-26initial changes to get about.cc compiledPaul Davis
git-svn-id: svn://localhost/trunk/ardour2@36 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-09-25Switched to use libgnomecanvas (not the C++ one).Taybin Rutkin
git-svn-id: svn://localhost/trunk/ardour2@30 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-09-25Initial import of gtk2_ardour.Taybin Rutkin
git-svn-id: svn://localhost/trunk/ardour2@24 d708f5d6-7413-0410-9779-e7cbd77b26cf