2002-04-11 03:20:38 +00:00
|
|
|
#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; }
|
|
|
|
|
2002-04-28 19:35:59 +00:00
|
|
|
void setPixmapProperty(int, Pixmap);
|
|
|
|
Pixmap duplicatePixmap(int, Pixmap, int, int);
|
|
|
|
|
2002-04-11 03:20:38 +00:00
|
|
|
void gradient(void);
|
|
|
|
void modula(int, int);
|
|
|
|
void solid(void);
|
|
|
|
void usage(int = 0);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // __bsetroot2_hh
|