summaryrefslogtreecommitdiff
path: root/util/bsetroot.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/bsetroot.h')
-rw-r--r--util/bsetroot.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/util/bsetroot.h b/util/bsetroot.h
new file mode 100644
index 00000000..ca535562
--- /dev/null
+++ b/util/bsetroot.h
@@ -0,0 +1,33 @@
+#ifndef __bsetroot2_hh
+#define __bsetroot2_hh
+
+#include "../src/BaseDisplay.h"
+#include "../src/Image.h"
+
+
+class bsetroot : public BaseDisplay {
+private:
+ BImageControl **img_ctrl;
+ Pixmap *pixmaps;
+
+ char *fore, *back, *grad;
+
+
+protected:
+ inline virtual void process_event(XEvent *) { }
+
+
+public:
+ bsetroot(int, char **, char * = 0);
+ ~bsetroot(void);
+
+ inline virtual Bool handleSignal(int) { return False; }
+
+ void gradient(void);
+ void modula(int, int);
+ void solid(void);
+ void usage(int = 0);
+};
+
+
+#endif // __bsetroot2_hh