aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2014-09-04 18:58:25 +0000
committerDimitri Sokolyuk <demon@dim13.org>2014-09-04 18:58:25 +0000
commit1c17e04187047b7d84131842e929c71ab779e7c3 (patch)
treea29ff86d8bcb3c46921e1be8e302c0a50b897958
parenta3f72d54972e3201acc8cf7533556a2fbb5a87f0 (diff)
comments
-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;
};