summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_axis_view_item.cc
AgeCommit message (Collapse)Author
2014-06-27make time axis view item name text be insensitive to eventsPaul Davis
We don't really need to be able to click on this to do anything - dbl-click on the item brings up the edit menu etc.
2014-06-25move utility functions into a dedicated namespaceRobin Gareus
2014-06-23reset time axis view item name text color when selected status changesPaul Davis
2014-06-22more canvas refactoring.Paul Davis
Remove Canvas::Layout, use Canvas::Container for the same purpose, move child-rendering into Item::render_children() so that it could theoretically be used by any derived type.
2014-06-21use newly factored canvas in gtk2_ardourPaul Davis
2014-06-19various fixes for places that used get_font_for_style() ... converted to use ↵Paul Davis
UIConfiguration::get_canvasvar_*Font()
2014-06-13rationalize and coordinate handle of region (time axis view item) opacity.Paul Davis
There are still some bugs with this because of the waveview image cache - fixes coming soon.
2014-06-12use the alpha/opacity value for the region base whether track colors are in ↵Paul Davis
use or not
2014-06-12drag handles no longer exist as distinct item types (failed experiment)Paul Davis
2014-06-09substantial changes in color management, involving a reduction in the use of ↵Paul Davis
Gdk::Color and more consistent logic for region coloring. Group tabs now also get the text drawn in an appropriately contrast-y color
2014-06-08Use a dumb cache for waveview ImageSurfaces. This halves the size of thenick_m
previous one, but usually ends up using three of them at the current CACHE_HIGH_WATER setting. Should result in a smaller memory footprint for sessions with multiple copies of nearby audio segments (electronic style). The downside is the larger memory footprint for linear recording sessions if CACHE_HIGH_WATER > 1 (1 giving a max of two half - sized cache entries per audio stream).
2014-06-05remove needlessly-added methodPaul Davis
2014-06-05reinstate a canvas group where we reparent regions while dragging, so that ↵Paul Davis
they are always on top. I mistakenly removed this during the onecanvas changes.
2014-06-05tweak logic for region coloring, particularly when mutedPaul Davis
2014-06-05remove unused label_color from TimeAxisViewItemPaul Davis
2014-06-05hopefully fix up selection of color for region name text, under all conditionsPaul Davis
2014-04-18put back bottom line of region views if name highlight is not shown.Paul Davis
Also remove redundant line that replicated the one we modified.
2014-04-16improve comment textPaul Davis
2014-04-16fix logic for Config->show_name_highlight (reversed from inital experiments)Paul Davis
2014-04-16use new config option to control name highlight and name placementPaul Davis
2014-04-14make frame/trim handles transparent for now.Paul Davis
This is a new GUI feature that will not be completed for the 3.6 release, so just hide them.
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