aboutsummaryrefslogtreecommitdiff
path: root/util/bsetroot.hh
diff options
context:
space:
mode:
Diffstat (limited to 'util/bsetroot.hh')
-rw-r--r--util/bsetroot.hh33
1 files changed, 33 insertions, 0 deletions
diff --git a/util/bsetroot.hh b/util/bsetroot.hh
new file mode 100644
index 0000000..1dfac2c
--- /dev/null
+++ b/util/bsetroot.hh
@@ -0,0 +1,33 @@
1#ifndef __bsetroot2_hh
2#define __bsetroot2_hh
3
4#include "../src/BaseDisplay.hh"
5#include "../src/Image.hh"
6
7
8class bsetroot : public BaseDisplay {
9public:
10 bsetroot(int, char **, char * = 0);
11 ~bsetroot(void);
12
13 inline virtual Bool handleSignal(int) { return False; }
14
15 void gradient(void);
16 void modula(int, int);
17 void solid(void);
18 void usage(int = 0);
19
20private:
21 BImageControl **img_ctrl;
22 Pixmap *pixmaps;
23
24 char *fore, *back, *grad;
25 Display *display;
26 int num_screens;
27protected:
28 inline virtual void process_event(XEvent *) { }
29
30};
31
32
33#endif // __bsetroot2_hh