summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext/fastmeter.cc
AgeCommit message (Collapse)Author
2017-07-17Move Gtkmm2ext widgets into libwidgetRobin Gareus
2017-03-20Towards a consistent render() API.Robin Gareus
This fixes an -Woverloaded-virtual ambiguity introduced in b5e613d45 void render (cairo_t*, cairo_rectagle*) void render (Cairo::RefPtr<Cairo::Context> const&, cairo_rectangle_t*) ArdourCanvas prefers cairomm and CairoWidget itself uses Cairo::Context, this improves overall API consistency.
2016-08-04workaround changes in glibmm 2.49.xNils Philippsen
Glib::RefPtr defines the operator bool() as explicit which breaks comparisons like "some_ref_ptr == 0" or "... != 0". https://bugzilla.gnome.org/show_bug.cgi?id=769502
2015-09-07properly clean up meter-pattern cacheRobin Gareus
2015-09-05remove a float loop counterRobin Gareus
2014-10-25skip meter re-draw when no pixels are changed.Robin Gareus
2014-09-11API flush static cairo pattern cacheRobin Gareus
(should probably be cleaned regularly e.g. meterbridge resize)
2014-03-21Avoid some ambiguous calls to 'floor()' which were upsetting MSVCJohn Emmas
2014-03-21tweak meter-peak hold when using LED-striped metersRobin Gareus
2014-03-20change the meters into CairoWidget, add expose_area to CairoWidget::render()Robin Gareus
2013-08-26'libs/gtkmm2ext' - Remove "using namespace Gdk;" to avoid confusion (in ↵John Emmas
'fastmeter.cc') over whether we want namespace ::Cairo or namespace Gdk::Cairo
2013-07-31clean up some valgrid "Uninitialised value was created by a heap allocation" ↵Robin Gareus
wanings
2013-07-31initialize some uninitialized valuesRobin Gareus
2013-07-31minimize meter-peak re-draw areaRobin Gareus
2013-07-28use 3px for peak-hold in LED mode -> display 2 bright linesRobin Gareus
2013-07-28tweak meter-LED styleRobin Gareus
2013-07-26cache shaded meter-background regardless of colorRobin Gareus
previously, shaded patterns were assumed to have different colors as well.
2013-07-26fix meter background redraw issue #5601Robin Gareus
2013-07-25[re]implement horizontal meterRobin Gareus
2013-07-24align gradient with meter-metricsRobin Gareus
2013-07-24increase saturation of meter-shaderRobin Gareus
2013-07-24allow to en/disable shade and LED meter styleRobin Gareus
2013-07-17add a stripe-pattern to the metersRobin Gareus
2013-07-16add option to disable cairo-RGBA overlays for meters.Robin Gareus
2013-07-12minor peak-meter performance tweakRobin Gareus
* redraw only missing parts of the outside rectangle, * don't redraw RMS meter if value has not changed
2013-07-10with RMS meters: use "peak indicator" as DPMRobin Gareus
2013-07-10use digital max-peak with RMS meterRobin Gareus
2013-07-10don't reset meter background/highlight on click.Robin Gareus
2013-07-10prepare meter-widget for dual background colorRobin Gareus
2013-07-10less prominent meter shadeRobin Gareus
2013-07-10add shade gradient to meterRobin Gareus
2013-07-10fix meter gradient y-axis onlyRobin Gareus
2013-07-10make all meter-colors configurable,..Robin Gareus
2013-07-10refactor level-meter widget: 5x2 stops meter colorsRobin Gareus
2013-07-10remove b0rked horizontal meter code.Robin Gareus
2013-07-10reduce peak-hold indicator to 2px heightRobin Gareus
2013-07-10meter rounded rectangleRobin Gareus
2013-07-10configurable meter background colorRobin Gareus
2013-07-10meter borderRobin Gareus
2013-07-10remove border around meter gradients, again.Robin Gareus
2013-07-10meter background gradient (hardcoded colors so far)Robin Gareus
this is a quick test w/black borders only left+right for Mr oofus to assess.
2013-07-10fastmeter: 1px padding left&rightRobin Gareus
2011-08-31Fix meter colour range to again have a hard knee at 0dB and twiddle colours ↵David Robillard
so >0dB levels are red and stand out. I am not sure if this is the original intent here, but it seems the most informative/useful/standard/etc. Unfortunately the colour names in the configuration (min, mid, max, clip) are a bit confusing (starting to clip = "mid"?) but changing them would break things. Oh well. git-svn-id: svn://localhost/ardour2/branches/3.0@10042 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-31Fix meter colour gradients (mid and top were swapped).David Robillard
I removed the double stop around the knee because... well, this is the way I figured out that actually follows the colour configuration as expected. It may be less correct for some reason, but it looks like what I expect when twiddling the colours, anyway. git-svn-id: svn://localhost/ardour2/branches/3.0@10041 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-31Make meters with different colour parameters actually work.David Robillard
Particularly, audio meters and MIDI meters would more or less randomly use each other's colours. Now they each use their own configured colours as it should be. git-svn-id: svn://localhost/ardour2/branches/3.0@10040 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-25remove more unneeded header includesPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9922 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-25remove unneeded header includesPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9921 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-25change FastMeter drawing implementation to use Cairo instead of GDK; some ↵Paul Davis
subtle changes to meter drawing will be visible and are subject to a revisit git-svn-id: svn://localhost/ardour2/branches/3.0@9919 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-21Fix some unused parameter warnings.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5403 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