aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2014-09-04 17:55:13 +0000
committerDimitri Sokolyuk <demon@dim13.org>2014-09-04 17:55:13 +0000
commit4cc41c66b13931221c5a39f33ce3ec13fc101a09 (patch)
treef2c48e30b343d91e3ad69c94772a7e2da69ccc93
parent673f403f84dd36005deae17b3046757261247d18 (diff)
switch to xrectangle param
-rw-r--r--spectrogram.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/spectrogram.c b/spectrogram.c
index e00cc5d..a82a2d7 100644
--- a/spectrogram.c
+++ b/spectrogram.c
@@ -47,12 +47,31 @@ struct pixmap {
GC gc;
};
+struct spectrogram {
+ Window win;
+ Pixmap pix;
+ Pixmap bg;
+ GC gc;
+ Pixmap shadow;
+ GC shadowgc;
+}
+
+struct watterfall {
+ Window win;
+ Pixmap pix;
+ GC gc;
+};
+
struct panel {
Window win; /* container */
+ struct watterfall wf;
+
+#if 0
Window wf; /* waterfall */
XRectangle w;
struct pixmap wfbuf;
+#endif
Window sp; /* spectrogram */
XRectangle s;