summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext/pixfader.cc
AgeCommit message (Collapse)Author
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-09-12plug some memory leaks in libsRobin Gareus
2015-06-17Fix some workflow problems wrt automation.nick_m
- clearing automation points sets control to "off" rather than touch. - multiple touches on the same pass acts consistently (no more fader jumps on mouse button press - use actual value for initial point rather than some arbitrary default. clarify new semantics of add () (with_default->with_initial). - clean some whitespace - add guard points as needed in stop. - catch grab broken signal (i can't trigger it, but the docs seem to think it is essential).
2015-01-28fix #6117 - fader prelightRobin Gareus
2014-12-05Fix stuck faders on very fine adjustments.David Robillard
I attempted to preserve the "don't draw unless different" by ditching rounding for more precise display_span, but that didn't work. An alternative solution would be to draw on adjustment change if there's text, since then we need to redraw regardless of slider position, but it seemed weird even just with respect to the slider, so I opted for this, which really definitely redraws when the adjustment changes, period. If this proves to be a performance issue we'll have to figure that out.
2014-12-01exclude fader-reserve from rangeRobin Gareus
2014-11-30CLA approved consistent fine-grained scale modifierRobin Gareus
2014-11-30consistent step+page sizes for fader+spinboxRobin Gareus
2014-11-29don't move faders on click.Robin Gareus
for one, it can mess up the value when switching to numeric-entry. It is also rather useless and not Fader-like (faders are not scrollbars). Besides, "stepvalue" is way to large and causes jumps (sometimes step-value is even negative, see "fast lookahead limiter", "release time" -> some other bug)
2014-11-01increase fine grained control (Ctrl+Alt+[drag|scroll])Robin Gareus
2014-10-28turn pixfader into a cairowidgetRobin Gareus
2014-09-06pass-though PixFader tweaks API for scroll eventsRobin Gareus
2014-09-05add pixfader tweaks API:Robin Gareus
* change API to hide unity/default value line * allow to override vertical scroll [1] * allow changing button event forwarding [2] [1] override scrolling in track-headers [2] dbl-click is needed for BarControllers -> switch to SpinBtn but a plain Slider on a track-header should not forward these events to the TAV (they may trigger name-edit)
2014-09-03revert pixfader to sane state (reverts parts of bb70d426)Robin Gareus
2014-09-03bring back old pixfader outline radius to demonstrate its issuesRobin Gareus
2014-09-03revert pixfader radius to defaultRobin Gareus
2014-09-02pixfader bg has reverse gradient from fgBen Loftis
2014-09-02tweak pixfader:Robin Gareus
* update reserve so that round corners don't overlap * draw complete 1px outline * add API to hide/show the unity line * don't show unity line at either end * allow to shrink when the font-scaling changes
2014-09-02unify BarController with Slider/Pixfader.Robin Gareus
2014-09-02clean up pixfader API, prepare for merge w/BarControllerRobin Gareus
2014-09-01rework pixfader:Robin Gareus
* re-introduce static pattern cache (cairo's cache is not nearly large enough for A3 + plugins) * only use cairo_clip on rectangles (not arbitrary paths -> major performance boost * re-add fader pixel reserve * fix mouse + scroll interaction * fix unity line display (1px wider, brighten by 150%) * cache text size * fix various other issues and consistent whitespace This reverts large parts of commit d439e93b1e71e84452bf52ddc69ff0be6aa04ef5.
2014-08-30disconnect pixfader style-change signal in dtor (amend 5a688b672)Robin Gareus
2014-08-30pixfader: use parent's background colorRobin Gareus
2014-08-27Standardize drawing of PixFader and BarController; implement flat_buttons ↵Ben Loftis
and prelight. Prepare for using Controllable interfaces, instead of passing in Adjustments. ToDo: reimplement image caching in a standardized way across widgets
2014-01-05fix fader default-value line positionRobin Gareus
2014-01-05update slider rendering & set style for fadersRobin Gareus
* render background -- outside of rounded corners * visually align unity-location with fader at 0. * sharp lines (no more AA blur) x/y offset, radius
2014-01-04fix PixFader size allocationRobin Gareus
previously faders in the processor box were only sized correctly after the 2nd iteration: allocate -> request -> allocate
2013-07-12implement visual-sensitivity (gray out) for fadersRobin Gareus
Note: bar-controller sensitivity state is not yet set if automation-mode changes to/from play, but the widget now supports that.
2013-07-10Episode VI: Return of the ZeroDBlineRobin Gareus
2013-07-10Episode V: the gainfader line strikes backRobin Gareus
2013-07-10Task Force Viking: operation green lineRobin Gareus
2013-01-24fix up rather odd sizing model for ProcessorBox that affected Pixfaders used ↵Paul Davis
as controls git-svn-id: svn://localhost/ardour2/branches/3.0@13994 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-24patch/fix for crash when pixfader is exposed after being allocated only 1xN ↵Paul Davis
or Nx1 pixels git-svn-id: svn://localhost/ardour2/branches/3.0@13986 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-21pixfaders should invalidate their patterns and layout on style change, helps ↵Paul Davis
fix #5275 git-svn-id: svn://localhost/ardour2/branches/3.0@13949 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17fix issue with color and position of mixer strip plugin control sliders (#5275)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13876 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17cache cairo_pattern_t's for PixFader so that we don't generate one per ↵Paul Davis
fader, but rather one per size+color combination git-svn-id: svn://localhost/ardour2/branches/3.0@13874 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17fix problem with size of patterns used by pixfaders when they get ↵Paul Davis
re-size-allocated git-svn-id: svn://localhost/ardour2/branches/3.0@13871 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17prevent button1/2 clicks on pixfaders from being used to drive event ↵Paul Davis
processing in parent containers (#5272) git-svn-id: svn://localhost/ardour2/branches/3.0@13868 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17fix up handling of size allocation + settingPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13866 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-12fixed unity-line alignment for horiz faders.Robin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13837 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-12round outside corners of pixfadersPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13834 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-12rework pixfader design again: remove texture, draw entire (double-sized) ↵Paul Davis
pattern ahead of time and render appropriate part of it at expose (this may turn out to be the wrong idea if/when we use a "real" fader design); fix up color(s) in track headers for these things git-svn-id: svn://localhost/ardour2/branches/3.0@13833 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-11space pixfader dots betterPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13832 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-11substantive changes to pixfaders and derived classes. now fully dynamically ↵Paul Davis
sizable and have an added texture that currently just emulates the ardour2 belt pattern. mild color changes, not finalized yet. git-svn-id: svn://localhost/ardour2/branches/3.0@13830 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-10remove rounded corners from non-mobile ends of pixfadersPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13828 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-10goodbye pixmaps and pixbufs (no longer) used by Gtkmm2ext::PixFaderPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13827 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-04fix #5249- small faders in the processor box are not draggable when tooltips ↵Robin Gareus
are disabled. git-svn-id: svn://localhost/ardour2/branches/3.0@13768 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-25fix step increment direction for mouse-click on fadersRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13727 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-13remove debug outputPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13655 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-13reinstate the windows way for GUIIdle's but limit the scope of the ↵Paul Davis
connection to just the time when a long-running action is active (for now, just adding > 8 routes) git-svn-id: svn://localhost/ardour2/branches/3.0@13654 d708f5d6-7413-0410-9779-e7cbd77b26cf