summaryrefslogtreecommitdiff
path: root/util/bsetroot.hh
blob: 41d298b962ca2c3e661483d9613a032d23d9f7f4 (plain)
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
#ifndef BSETROOT_HH
#define BSETROOT_HH

#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);
	void setRootAtoms(Pixmap pixmap, int screen);

private:
	BImageControl **img_ctrl;
	Pixmap *pixmaps;

	char *fore, *back, *grad;
	Display *display;
	int num_screens;
protected:
	inline virtual void process_event(XEvent *) { }

};


#endif // BSETROOT_HH