diff options
author | fluxgen <fluxgen> | 2003-05-10 15:44:15 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-05-10 15:44:15 (GMT) |
commit | 4ccdb5ebb998de0fd11e1d8fd58d294248f74e59 (patch) | |
tree | ec5789e235519ecf337a8923e4047554f4c1840c /util/bsetroot.hh | |
parent | 980060a509d1ca2a51335325611bfae5f7cba1b0 (diff) | |
download | fluxbox-4ccdb5ebb998de0fd11e1d8fd58d294248f74e59.zip fluxbox-4ccdb5ebb998de0fd11e1d8fd58d294248f74e59.tar.bz2 |
removed BaseDisplay
Diffstat (limited to 'util/bsetroot.hh')
-rw-r--r-- | util/bsetroot.hh | 38 |
1 files changed, 16 insertions, 22 deletions
diff --git a/util/bsetroot.hh b/util/bsetroot.hh index 68811e6..6683fbb 100644 --- a/util/bsetroot.hh +++ b/util/bsetroot.hh | |||
@@ -1,4 +1,4 @@ | |||
1 | // Copyright (c) 2002 Henrik Kinnunen (fluxgen@linuxmail.org) | 1 | // Copyright (c) 2002-2003 Henrik Kinnunen (fluxgen(at)linuxmail.org) |
2 | // Copyright (c) 1997 - 2000 Brad Hughes <bhughes at trolltech.com> | 2 | // Copyright (c) 1997 - 2000 Brad Hughes <bhughes at trolltech.com> |
3 | // | 3 | // |
4 | // Permission is hereby granted, free of charge, to any person obtaining a | 4 | // Permission is hereby granted, free of charge, to any person obtaining a |
@@ -18,12 +18,12 @@ | |||
18 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | 18 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | 20 | ||
21 | // $Id: bsetroot.hh,v 1.5 2003/02/17 13:33:07 fluxgen Exp $ | 21 | // $Id: bsetroot.hh,v 1.6 2003/05/10 15:44:15 fluxgen Exp $ |
22 | 22 | ||
23 | #ifndef BSETROOT_HH | 23 | #ifndef BSETROOT_HH |
24 | #define BSETROOT_HH | 24 | #define BSETROOT_HH |
25 | 25 | ||
26 | #include "../src/BaseDisplay.hh" | 26 | #include "../src/FbTk/App.hh" |
27 | 27 | ||
28 | namespace FbTk { | 28 | namespace FbTk { |
29 | 29 | ||
@@ -31,30 +31,24 @@ class ImageControl; | |||
31 | 31 | ||
32 | }; | 32 | }; |
33 | 33 | ||
34 | class bsetroot : public BaseDisplay { | 34 | class bsetroot : public FbTk::App { |
35 | public: | 35 | public: |
36 | bsetroot(int argc, char **argv, char * dpy_name= 0); | 36 | bsetroot(int argc, char **argv, char * dpy_name= 0); |
37 | ~bsetroot(); | 37 | ~bsetroot(); |
38 | 38 | ||
39 | inline virtual bool handleSignal(int num) { return False; } | 39 | void gradient(); |
40 | 40 | void modula(int, int); | |
41 | void gradient(); | 41 | void solid(); |
42 | void modula(int, int); | 42 | void usage(int = 0); |
43 | void solid(); | 43 | void setRootAtoms(Pixmap pixmap, int screen); |
44 | void usage(int = 0); | ||
45 | void setRootAtoms(Pixmap pixmap, int screen); | ||
46 | |||
47 | protected: | ||
48 | void handleEvent(XEvent *xe) { } | ||
49 | 44 | ||
50 | private: | 45 | private: |
51 | FbTk::ImageControl **img_ctrl; | 46 | FbTk::ImageControl **img_ctrl; |
52 | Pixmap *pixmaps; | 47 | Pixmap *pixmaps; |
53 | |||
54 | char *fore, *back, *grad; | ||
55 | Display *display; | ||
56 | int num_screens; | ||
57 | 48 | ||
49 | char *fore, *back, *grad; | ||
50 | int num_screens; | ||
51 | char *m_app_name; | ||
58 | }; | 52 | }; |
59 | 53 | ||
60 | 54 | ||