diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-05-14 22:15:01 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-05-14 22:15:01 +0000 |
| commit | f75083669f65aadd6b32f8ed25880ca362296a2f (patch) | |
| tree | e8d89e13cad90e909a254589f25322aa6099ea83 /util/bsetroot.h | |
| parent | 527864614bbbadcfd5f454e7dd1781d343881e7d (diff) | |
new version of bsetroot ported from blackbox cvs
Diffstat (limited to 'util/bsetroot.h')
| -rw-r--r-- | util/bsetroot.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/util/bsetroot.h b/util/bsetroot.h index aa6f65a7..7bd3ff01 100644 --- a/util/bsetroot.h +++ b/util/bsetroot.h @@ -4,32 +4,31 @@ #include "../src/BaseDisplay.h" #include "../src/Image.h" - class bsetroot : public BaseDisplay { private: BImageControl **img_ctrl; char *fore, *back, *grad; + // no copying!! + bsetroot(const bsetroot &); + bsetroot& operator=(const bsetroot&); -protected: - inline virtual void process_event(XEvent *) { } + inline virtual void process_event(XEvent * /*unused*/) { } - public: - bsetroot(int, char **, char * = 0); + bsetroot(int argc, char **argv, char *dpy_name = 0); ~bsetroot(void); - inline virtual Bool handleSignal(int) { return False; } + inline virtual Bool handleSignal(int /*unused*/) { return False; } - void setPixmapProperty(int, Pixmap); - Pixmap duplicatePixmap(int, Pixmap, int, int); + void setPixmapProperty(int screen, Pixmap pixmap); + Pixmap duplicatePixmap(int screen, Pixmap pixmap, int width, int height); void gradient(void); - void modula(int, int); + void modula(int x, int y); void solid(void); - void usage(int = 0); + void usage(int exit_code = 0); }; - #endif // __bsetroot2_hh |
