summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_axis_view_item.cc
AgeCommit message (Collapse)Author
2014-03-11avoid multiple requests for redraws when resetting a TimeAxisViewItem name ↵Paul Davis
highlight
2014-03-10improve (though not 100% perfect) handling of region trim handles and mouse ↵Paul Davis
mode interaction
2014-03-07don't show frame trim handles when in internal editing modePaul Davis
2014-03-05do not show region trim handles unless in (effective) object mouse modePaul Davis
2014-02-25fix height of time axis item view trim frame handlesPaul Davis
2014-02-25fiddle with single pixel adjustments to time axis view item heights; fix ↵Paul Davis
region gain envelope visibility
2014-02-13fix up details of time axis view item drawing.Paul Davis
* remove top and bottom edges - rely on track edges for that. * move right edge of time axis view items 1 pixel right to get a much nicer effect when splitting regions. the end line and start line of two adjacent regions are now on the same pixel. * adjust audio region view components to be properly placed. still need to do ghost regions and MIDI regions
2014-01-10tweak pixel-level dimensions and positioningPaul Davis
2014-01-02use new DragHandle canvas objectPaul Davis
2014-01-02tweak design of time axis view item name text handlingPaul Davis
2014-01-02remove debug output, try a new approach to name text placementPaul Davis
2014-01-02debug output for time axis item name font handlingPaul Davis
2013-12-29try to rationalize logic for displaying/hiding regionview (time axis view ↵Paul Davis
item) name highlights and text
2013-10-30notable changes to try to improve most of enter/leave handling for canvas itemsPaul Davis
2013-10-25fix up ordering/timing of naming for TimeAxisViewItem (so that canvas ↵Paul Davis
debugging is more useful)
2013-06-28more waveform drawing/coloring changesPaul Davis
* move color-regions-using-track color into UI config, not RC config * consolidate all waveform coloring into AudioRegionView::set_one_waveform_color()
2013-06-27workaround/hack/fix for cairo pattern gradient space exceeding 2^16 size limitPaul Davis
2013-06-26use W3C color difference computation to select black or white text for ↵Paul Davis
region name text
2013-06-24an awful lot of tweaks to drawing detailsPaul Davis
2013-05-08merge with masterPaul Davis
2013-04-25use virtual bool canvas_group_event () in TimeAxisViewItems to get suitably ↵Paul Davis
delegatable/inherited event handling
2013-04-24tweaks to improve enter/leave event handling - fixes at least some crashes ↵Paul Davis
caused by this stuff
2013-04-24many pervasive changes primarily related to waveform drawing, particular ↵Paul Davis
content-dragging, colors, and more
2013-04-17fix clamping of line and rect coordinates to avoid issues with cairo when ↵Paul Davis
drawing way outside a surface's dimensions; move various coordinate methods down to Canvas, because they don't require GTK information; make visible_area() a Canvas virtual method so that we don't have to cast to call it
2013-04-16change UIConfig to use accessor/setter methods like RCConfig so that ↵Paul Davis
ParameterChanged methods can actually be emitted; add variable (over a small range) background shading for all TimeAxisViewItems
2013-04-15tweak time axis view item text positioning; allow ArdourCanvas::Text to have ↵Paul Davis
its width clamped, and use this as TAVI's get narrow so that text doesn't overflow
2013-04-15Fix dragging objects on the canvas and remove redundant canvas groupsPaul Davis
Delivery of fake motion events to the editor needed the event coordinates to be in canvas space, as they are with "real" events. Editor and other objects had many redundant groups from timbyr's work on gnomecanvas to scroll by moving groups. We don't need this anymore with cairo-canvas (though possibly a stationay background group for the canvas might be useful again one day as in the SAE logo. Its implementation would be fairly different though, since we would have to explicitly move the group on every scroll, since nothing else ever moves on scroll). Also tweaks to text item placement, and switch TimeAxisViewItem from name_pixbuf to name_text, since ArdourCanvas::Text is already "pixbuf optimized".
2013-04-12change frames_per_pixel to samples_per_pixelPaul Davis
2013-04-12change all frame_to_pixel and pixel_to_frame to sample_to_pixel and ↵Paul Davis
pixel_to_sample
2013-04-10remove incorrect merge of cairocanvas patch that stopped most tracks from ↵Paul Davis
displaying; add more debugging info
2013-04-04commit immediately post linkingPaul Davis
2013-04-04initial commit of hand merging, plus getting "ancient" waf script to work ↵Paul Davis
correctly
2013-01-05improve international understanding.Robin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13787 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-05pluralis suckusmatisRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13786 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-23Fix extended region names on reloading sessions with short regions (part of ↵Carl Hetherington
#4493). git-svn-id: svn://localhost/ardour2/branches/3.0@12408 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-07hide xfades while dragging region(s)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12202 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-30Patch from colinf to fix selection of short regions (#4744).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12128 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-25remove the apparently unnecessary "ui_bind()" macro from entire source basePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-14Fix a few framecnt / framepos type confusions.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11975 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-18make Stateful::_id private and provide appropriate methods to set it, and ↵Paul Davis
use them throughout ardour git-svn-id: svn://localhost/ardour2/branches/3.0@10222 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-30fixes for 98% of all the warnings/errors reported by OS X gcc on tigerPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10179 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-06-01Delete trailing whitespaceDavid Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-05Fix non-appearance of MIDI region names (#3891).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@9483 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-14add separate color for the border of a selected time axis view itemPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9146 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-04forward unhandled button events from MidiRegionView back to EditorPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9068 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-03deframe audio regions as well as MIDI when entering internal edit modePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9057 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-03experiment with making MIDI region boxes vanish when in note/internal edit ↵Paul Davis
mode ... to be continued git-svn-id: svn://localhost/ardour2/branches/3.0@9054 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-08Option to colour region background using the track colour (#3759).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8778 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-08Change the background colour of regions when they are small enough to not ↵Carl Hetherington
show the name bar (#3575). git-svn-id: svn://localhost/ardour2/branches/3.0@8771 d708f5d6-7413-0410-9779-e7cbd77b26cf