summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Shape.hh6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Shape.hh b/src/Shape.hh
index 59c3722..1232117 100644
--- a/src/Shape.hh
+++ b/src/Shape.hh
@@ -19,7 +19,7 @@
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// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Shape.hh,v 1.1 2003/07/10 12:04:46 fluxgen Exp $ 22// $Id: Shape.hh,v 1.2 2003/08/24 15:02:15 fluxgen Exp $
23 23
24#ifndef SHAPE_HH 24#ifndef SHAPE_HH
25#define SHAPE_HH 25#define SHAPE_HH
@@ -49,6 +49,10 @@ public:
49 void update(); 49 void update();
50 /// assign a new window 50 /// assign a new window
51 void setWindow(FbTk::FbWindow &win); 51 void setWindow(FbTk::FbWindow &win);
52 // sets shape notify mask
53 static void setShapeNotify(const FbTk::FbWindow &win);
54 /// @return true if window has shape
55 static bool isShaped(const FbTk::FbWindow &win);
52private: 56private:
53 FbTk::FbWindow *m_win; ///< window to be shaped 57 FbTk::FbWindow *m_win; ///< window to be shaped
54 Pixmap m_shape; ///< our shape pixmap 58 Pixmap m_shape; ///< our shape pixmap