]> Dogcows Code - chaz/openbox/blobdiff - util/bsetroot.h
better setting of atoms. plugged memory leak.
[chaz/openbox] / util / bsetroot.h
index ca535562c30acb6592fe191ee44dbc7a5208c5b1..7bd3ff01883d269535a61118542e5103239ec65e 100644 (file)
@@ -4,30 +4,31 @@
 #include "../src/BaseDisplay.h"
 #include "../src/Image.h"
 
-
 class bsetroot : public BaseDisplay {
 private:
   BImageControl **img_ctrl;
-  Pixmap *pixmaps;
 
   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 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
This page took 0.024063 seconds and 4 git commands to generate.