diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-28 06:52:48 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-28 06:52:48 (GMT) |
commit | 62bcfaf0e4fd7d77873343d880fc526ec58cdaa6 (patch) | |
tree | b9433c7f8e0aaa5d6e9ce40e7f5257d81136815f /src/FbWinFrame.cc | |
parent | 0ec165e85b313588d43dbdc2450da9838c4c528f (diff) | |
download | fluxbox-62bcfaf0e4fd7d77873343d880fc526ec58cdaa6.zip fluxbox-62bcfaf0e4fd7d77873343d880fc526ec58cdaa6.tar.bz2 |
move Shape to FbTk
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r-- | src/FbWinFrame.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index 7734497..ce1670e 100644 --- a/src/FbWinFrame.cc +++ b/src/FbWinFrame.cc | |||
@@ -35,10 +35,6 @@ | |||
35 | 35 | ||
36 | #include "IconButton.hh" | 36 | #include "IconButton.hh" |
37 | 37 | ||
38 | #ifdef SHAPE | ||
39 | #include "Shape.hh" | ||
40 | #endif // SHAPE | ||
41 | |||
42 | #include <algorithm> | 38 | #include <algorithm> |
43 | #include <X11/X.h> | 39 | #include <X11/X.h> |
44 | 40 | ||
@@ -999,7 +995,7 @@ void FbWinFrame::reconfigure() { | |||
999 | } | 995 | } |
1000 | 996 | ||
1001 | if (m_disable_themeshape) | 997 | if (m_disable_themeshape) |
1002 | m_shape.setPlaces(Shape::NONE); | 998 | m_shape.setPlaces(FbTk::Shape::NONE); |
1003 | else | 999 | else |
1004 | m_shape.setPlaces(theme().shapePlace()); | 1000 | m_shape.setPlaces(theme().shapePlace()); |
1005 | 1001 | ||
@@ -1012,7 +1008,7 @@ void FbWinFrame::setUseShape(bool value) { | |||
1012 | m_disable_themeshape = !value; | 1008 | m_disable_themeshape = !value; |
1013 | 1009 | ||
1014 | if (m_disable_themeshape) | 1010 | if (m_disable_themeshape) |
1015 | m_shape.setPlaces(Shape::NONE); | 1011 | m_shape.setPlaces(FbTk::Shape::NONE); |
1016 | else | 1012 | else |
1017 | m_shape.setPlaces(theme().shapePlace()); | 1013 | m_shape.setPlaces(theme().shapePlace()); |
1018 | 1014 | ||