summaryrefslogtreecommitdiff
path: root/gtk2_ardour/canvas-waveview.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-08-01 19:17:49 +0000
committerDavid Robillard <d@drobilla.net>2006-08-01 19:17:49 +0000
commitc37b6417021e3ddb3a9f690d2dc04580af8d3dee (patch)
treee8a14a1ca9d94f2c6c97f2b3a3fdf92026f1cfa4 /gtk2_ardour/canvas-waveview.h
parent49ab8ea4551ec82ae8b561cb256f762fd7f831f2 (diff)
Minor changes from MIDI branch
git-svn-id: svn://localhost/ardour2/trunk@734 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/canvas-waveview.h')
-rw-r--r--gtk2_ardour/canvas-waveview.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/canvas-waveview.h b/gtk2_ardour/canvas-waveview.h
index 97ac91f622..75281f69eb 100644
--- a/gtk2_ardour/canvas-waveview.h
+++ b/gtk2_ardour/canvas-waveview.h
@@ -80,10 +80,10 @@ struct _GnomeCanvasWaveView
void (*gain_curve_function)(void *arg, double start, double end, float* vector, guint32 veclen);
void *gain_src;
- /* x-axis: samples per canvas unit. */
+ /** x-axis: samples per canvas unit. */
double samples_per_unit;
- /* y-axis: amplitude_above_axis.
+ /** y-axis: amplitude_above_axis.
*
* the default is that an (scaled, normalized -1.0 ... +1.0) amplitude of 1.0
* corresponds to the top of the area assigned to the waveview.
@@ -92,8 +92,8 @@ struct _GnomeCanvasWaveView
* smaller values will decrease the vertical scale, moving peaks/troughs toward
* the middle of the area assigned to the waveview.
*/
-
double amplitude_above_axis;
+
double x;
double y;
double height;