]> icculus.org git repositories - mikachu/openbox.git/blob - util/bsetroot.h
took bsetroot from Blackbox moving_target.. "bsetroot now sets xrootpmap_id, pseudo...
[mikachu/openbox.git] / util / bsetroot.h
1 #ifndef   __bsetroot2_hh
2 #define   __bsetroot2_hh
3
4 #include "../src/BaseDisplay.h"
5 #include "../src/Image.h"
6
7
8 class bsetroot : public BaseDisplay {
9 private:
10   BImageControl **img_ctrl;
11
12   char *fore, *back, *grad;
13
14
15 protected:
16   inline virtual void process_event(XEvent *) { }
17
18  
19 public:
20   bsetroot(int, char **, char * = 0);
21   ~bsetroot(void);
22
23   inline virtual Bool handleSignal(int) { return False; }
24
25   void setPixmapProperty(int, Pixmap);
26   Pixmap duplicatePixmap(int, Pixmap, int, int);
27
28   void gradient(void);
29   void modula(int, int);
30   void solid(void);
31   void usage(int = 0);
32 };
33
34
35 #endif // __bsetroot2_hh