summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_axis_view_item.cc
AgeCommit message (Collapse)Author
2011-08-18remove use of Glib::ustring from gtk2_ardourPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@10006 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-26reverse another small mistakenly applied commitPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@7845 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-26reverse mistakenly applied commitPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@7844 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-02make marker labels and regionview name text (now drawn with pixbufs) be ↵2.8.9Paul Davis
color-adjustable just like all other canvas items git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@7212 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-02Fix memory leak in name text pixbuf generation, move RegionView::_height to ↵Nick Mainsbridge
TimeAxisViewItem, clean up name_highlight vs name_text code (removes assumpton that one implied the other), fix mouse offset when track resizing past the smallest size, reinstate zooming to 1 frame per pixel. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5117 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-22Fix tape region view crash, remove unneeded include.Nick Mainsbridge
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5109 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-19Fix record crash, use pixfufs instead of canvas text in markers, use ↵Nick Mainsbridge
leftmost_frame instead of querying canvas coords when scrolling (speeds up canvas scrolling somewhat). git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5101 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-07Fix crash for TAV items that don't contain a name pixbuf.Nick Mainsbridge
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5060 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-05Speed up regionview creation by using pixbufs for name labels instead of ↵Nick Mainsbridge
Gnome::Canvas::Text. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5053 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-10Don't set colours twice in new TimeAxisViewItems (from 3.0), fix the nostar ↵Nick Mainsbridge
ruler hiding bug, rejig ruler bars again, this time making them physical_screen_width wide and never moving them - preventing artefacts while hiding. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3910 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-29Backport drobilla's tempo bar cache from 3.0, fix track display regression, ↵Nick Mainsbridge
rework canvas layers and region_motion_group, remove duplicate code, make track heights consistent (track zero is no longer different). git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3831 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-07Fix disappearing regionviews during rapid mouse movement plus grab/copy ↵Nick Mainsbridge
grab, update canvas less on OSX, RegionView::get_canvas_group() returns a group, not an Item, clean up reparenting of moving regions a bit. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3709 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-03Unify the canvases by moving groups around rather than using ↵Nick Mainsbridge
set_scrolling_region () (eliminates the double-draw during zoom on linux), fix verbose_time_cursor clamping, make fonts smaller on location dialog buttons, hopefully improve performance when dragging multiple regions on the same track, reduce some redrawing of clocks (still not done for samples clock), allow NLS=1 on OSX, other canvas performance improvements on OSX, build SAE-us.bindings (even though they are incomplete for now). git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3707 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-23remove autostools files that should be there, and remove WIP stuff that ↵Doug McLain
shouldnt be there either git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3405 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-22Remove sigc 2.0.18Doug McLain
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3399 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-02many changes related to region zooming; proto-visual state undo/redo stack; ↵Paul Davis
fill-tracks command steals "f" (follow-playhead now on shift-f git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3306 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-04-17What used to be the pink recording rectangle is now blended into the ↵Doug McLain
recording regions so that they appear to be the same thing. Then recording specific colors are added so the waveform and region base when recording are all various shades of red during recording. *** Open Theme Manager and click Restore Defaults for these changes to apply *** git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3259 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-05New theme manager from trunk, backported to 2.0-ongoingDoug McLain
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2110 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/branches/2.0-ongoing@2099 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-26do not unnecessarily recompute streamview item heights; set axis view item ↵Paul Davis
name text to an empty string, not just hidden if no text will fit git-svn-id: svn://localhost/ardour2/trunk@1749 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-05wash that pango right out of your hairPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1668 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-04-02Make colors for clip markers controllable by ardour.colors. Default Sampo Savolainen
color is totally transparent. Thanks Torben! git-svn-id: svn://localhost/ardour2/trunk@1656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-03-19make rec-regions insensitive to events; fix up diskrate dialog textPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1626 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-03-05new design for region dragging; make add route dialog float over the correct ↵Paul Davis
window(s); try to remove confusion from different export dialogs regarding file/directory requirements ; minor cleanups git-svn-id: svn://localhost/ardour2/trunk@1555 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-27tweak placement of region name text; patch from b0ef for color manager ↵Paul Davis
window mgmt git-svn-id: svn://localhost/ardour2/trunk@1527 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-22remove all lines to avoid recompiles after commitsPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1488 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-13Decreased region opacity, smoothed out canvas/tempo line colours.David Robillard
git-svn-id: svn://localhost/ardour2/trunk@1322 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-28crossfade views are only as long as the crossfades themselves, show verbose ↵Nick Mainsbridge
time cursor when copy-grabbing regions (instead of upon motion), translucent regions while dragging/trimming git-svn-id: svn://localhost/ardour2/trunk@1164 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-10-17reduce calls to fit_to_pixels(); flip back to old fix for rec regions botch; ↵Paul Davis
executable stack fix; avoid delete this in MementoCommand lifetime management git-svn-id: svn://localhost/ardour2/trunk@988 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-09-28fixes for destructive track offsets of various kinds; move from ↵Paul Davis
jack_nframes_t -> nframes_t git-svn-id: svn://localhost/ardour2/trunk@933 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-07-13destructive track work: regions now display offset by bwf timeline ↵Paul Davis
reference, cannot rec-enable before session start git-svn-id: svn://localhost/ardour2/trunk@681 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-07-11make waveforms centered when height hits NAME_HIGHLIGHT_THRESHOLDPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@678 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-21the return of VST supportPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@629 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-20fixes for libsndfile conversion issues, tape track waveform display and ↵Paul Davis
overloaded virtual functions git-svn-id: svn://localhost/ardour2/trunk@624 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-04-27"The In-Flight Hack, 2006"Paul Davis
a) measure lines extend the full height of the canvas b) region name color bars and text positioning now adjusted to match font size for different display resolutions c) vertical scrollbar limited to cover visible tracks only git-svn-id: svn://localhost/trunk/ardour2@486 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-02-11miscellaneous fixes post-jesse's 24 bit file format changesPaul Davis
git-svn-id: svn://localhost/trunk/ardour2@317 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-14Use ARDOUR::stringcr_t (read: const std::string &) instead of std::string to ↵Karsten Wiese
avoid unnecessary constructor calls. I'll commit a bunch of those soon, if this 1st example is accepted. git-svn-id: svn://localhost/trunk/ardour2@193 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-11-27convert set_property("foo", bar) to property_foo() = barKarsten Wiese
git-svn-id: svn://localhost/trunk/ardour2@133 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-11-26compiles and runs, but crashes ... duhPaul Davis
git-svn-id: svn://localhost/trunk/ardour2@113 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-13time_axis_view now compilesPaul Davis
git-svn-id: svn://localhost/trunk/ardour2@86 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-11-13some C++-ification of GnomeCanvasBlahNick Mainsbridge
git-svn-id: svn://localhost/trunk/ardour2@82 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-11-12incomplete changes based on karsten's megapatchPaul Davis
git-svn-id: svn://localhost/trunk/ardour2@81 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-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-10-09"finalmunge" patch from nick, plus work on editor region list and actions ↵Paul Davis
infrastructure from me git-svn-id: svn://localhost/trunk/ardour2@52 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-10-06fix compose mess, and a number of 64 bit printf specsPaul Davis
git-svn-id: svn://localhost/trunk/ardour2@51 d708f5d6-7413-0410-9779-e7cbd77b26cf