all repos — openbox @ 6796e798277cc4821c955d425f4994f1484d35df

openbox fork - make it a bit more like ryudo

util/bsetroot.h (raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef   __bsetroot2_hh
#define   __bsetroot2_hh

#include "../src/BaseDisplay.h"
#include "../src/Image.h"


class bsetroot : public BaseDisplay {
private:
  BImageControl **img_ctrl;

  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 setPixmapProperty(int, Pixmap);
  Pixmap duplicatePixmap(int, Pixmap, int, int);

  void gradient(void);
  void modula(int, int);
  void solid(void);
  void usage(int = 0);
};


#endif // __bsetroot2_hh