diff options
author | simonb <simonb> | 2007-08-09 03:45:31 (GMT) |
---|---|---|
committer | simonb <simonb> | 2007-08-09 03:45:31 (GMT) |
commit | a0f44b9e9a7c2e401e2cf1ef80fed98acf1d7e44 (patch) | |
tree | 2c2658372e5e85c2d0c186f7080e9534430af633 /src/FbWinFrame.hh | |
parent | a04eed16c5287c11e565ecb25f465b96d6f61279 (diff) | |
download | fluxbox-a0f44b9e9a7c2e401e2cf1ef80fed98acf1d7e44.zip fluxbox-a0f44b9e9a7c2e401e2cf1ef80fed98acf1d7e44.tar.bz2 |
Fix handling of Shape, stage 2 (more involved/complete handling)
Diffstat (limited to 'src/FbWinFrame.hh')
-rw-r--r-- | src/FbWinFrame.hh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/FbWinFrame.hh b/src/FbWinFrame.hh index 87c290c..1eefe42 100644 --- a/src/FbWinFrame.hh +++ b/src/FbWinFrame.hh | |||
@@ -33,6 +33,7 @@ | |||
33 | #include "FbTk/XLayerItem.hh" | 33 | #include "FbTk/XLayerItem.hh" |
34 | #include "FbTk/TextButton.hh" | 34 | #include "FbTk/TextButton.hh" |
35 | #include "Container.hh" | 35 | #include "Container.hh" |
36 | #include "Shape.hh" | ||
36 | 37 | ||
37 | #include <vector> | 38 | #include <vector> |
38 | #include <list> | 39 | #include <list> |
@@ -197,6 +198,8 @@ public: | |||
197 | 198 | ||
198 | void reconfigure(); | 199 | void reconfigure(); |
199 | void setUseShape(bool value); | 200 | void setUseShape(bool value); |
201 | void setShapingClient(FbTk::FbWindow *win, bool always_update); | ||
202 | void updateShape() { m_shape.update(); } | ||
200 | 203 | ||
201 | /** | 204 | /** |
202 | @name accessors | 205 | @name accessors |
@@ -403,9 +406,9 @@ private: | |||
403 | FbWinFrame &m_frame; | 406 | FbWinFrame &m_frame; |
404 | }; | 407 | }; |
405 | ThemeListener m_themelistener; | 408 | ThemeListener m_themelistener; |
406 | std::auto_ptr<Shape> m_shape; | 409 | Shape m_shape; |
407 | bool m_disable_shape; | ||
408 | 410 | ||
411 | bool m_disable_themeshape; | ||
409 | }; | 412 | }; |
410 | 413 | ||
411 | #endif // FBWINFRAME_HH | 414 | #endif // FBWINFRAME_HH |