aboutsummaryrefslogtreecommitdiff
path: root/spectrogram.c
diff options
context:
space:
mode:
Diffstat (limited to 'spectrogram.c')
-rw-r--r--spectrogram.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/spectrogram.c b/spectrogram.c
index f9e3a40..8f8aac1 100644
--- a/spectrogram.c
+++ b/spectrogram.c
@@ -49,16 +49,22 @@ struct pixmap {
struct spectrogram {
Window win;
- Pixmap pix;
- Pixmap bg;
GC gc;
- Pixmap shadow;
- GC shadowgc;
+
+ Pixmap pix; /* buffer */
+ Pixmap bg; /* main bg */
+ Pixmap sbg; /* shadow bg */
+
+ Pixmap mask; /* main mask */
+ GC mgc; /* main GC */
+
+ Pixmap smask; /* shadow mask */
+ GC sgc; /* shadow GC */
};
struct waterfall {
Window win;
- Pixmap pix;
+ Pixmap pix; /* buffer */
GC gc;
XRectangle geo;
};