diff options
Diffstat (limited to 'src/FbTk/FbWindow.hh')
-rw-r--r-- | src/FbTk/FbWindow.hh | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/FbTk/FbWindow.hh b/src/FbTk/FbWindow.hh index 4b6b02f..5501d88 100644 --- a/src/FbTk/FbWindow.hh +++ b/src/FbTk/FbWindow.hh | |||
@@ -24,15 +24,11 @@ | |||
24 | 24 | ||
25 | #include "FbDrawable.hh" | 25 | #include "FbDrawable.hh" |
26 | #include "FbString.hh" | 26 | #include "FbString.hh" |
27 | |||
27 | #include <memory> | 28 | #include <memory> |
28 | #include <string> | 29 | #include <string> |
29 | #include <set> | 30 | #include <set> |
30 | 31 | #include <cmath> | |
31 | #ifdef HAVE_CMATH | ||
32 | #include <cmath> | ||
33 | #else | ||
34 | #include <math.h> | ||
35 | #endif | ||
36 | 32 | ||
37 | namespace FbTk { | 33 | namespace FbTk { |
38 | 34 | ||
@@ -54,8 +50,10 @@ class FbWindowRenderer; | |||
54 | */ | 50 | */ |
55 | class FbWindow: public FbDrawable { | 51 | class FbWindow: public FbDrawable { |
56 | public: | 52 | public: |
57 | FbWindow(); | ||
58 | 53 | ||
54 | static Window rootWindow(Display* dpy, Drawable win); | ||
55 | |||
56 | FbWindow(); | ||
59 | FbWindow(const FbWindow &win_copy); | 57 | FbWindow(const FbWindow &win_copy); |
60 | 58 | ||
61 | FbWindow(int screen_num, | 59 | FbWindow(int screen_num, |