2002-08-15 11:19:21 +00:00
|
|
|
#ifndef BSETROOT_HH
|
|
|
|
#define BSETROOT_HH
|
2001-12-11 20:47:02 +00:00
|
|
|
|
|
|
|
#include "../src/BaseDisplay.hh"
|
|
|
|
#include "../src/Image.hh"
|
|
|
|
|
|
|
|
class bsetroot : public BaseDisplay {
|
|
|
|
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);
|
2002-01-18 23:01:20 +00:00
|
|
|
void setRootAtoms(Pixmap pixmap, int screen);
|
|
|
|
|
2001-12-11 20:47:02 +00:00
|
|
|
private:
|
|
|
|
BImageControl **img_ctrl;
|
|
|
|
Pixmap *pixmaps;
|
|
|
|
|
|
|
|
char *fore, *back, *grad;
|
|
|
|
Display *display;
|
|
|
|
int num_screens;
|
|
|
|
protected:
|
|
|
|
inline virtual void process_event(XEvent *) { }
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2002-08-15 11:19:21 +00:00
|
|
|
#endif // BSETROOT_HH
|