From f75083669f65aadd6b32f8ed25880ca362296a2f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 14 May 2002 22:15:01 +0000 Subject: new version of bsetroot ported from blackbox cvs --- util/bsetroot.h | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'util/bsetroot.h') 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 -- cgit v1.2.3