summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-01 14:29:54 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-01 14:29:54 +0000
commit448f1f3efdc23556e36e3152dd6dd06e1528b257 (patch)
tree2c548070d9867a74966ad11feb9e2b78e60482a4 /vcl
parentdd7f04cd1eb919ba5a9f1ae86cb885a47aab0503 (diff)
INTEGRATION: CWS syswinshape (1.50.130); FILE MERGED
2006/10/20 12:44:53 pl 1.50.130.2: RESYNC: (1.50-1.51); FILE MERGED 2006/10/09 17:00:50 pl 1.50.130.1: #i69275# support for shaped system windows
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/inc/salframe.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/vcl/unx/inc/salframe.h b/vcl/unx/inc/salframe.h
index c9892f0c1e04..eb492788ff87 100644
--- a/vcl/unx/inc/salframe.h
+++ b/vcl/unx/inc/salframe.h
@@ -4,9 +4,9 @@
*
* $RCSfile: salframe.h,v $
*
- * $Revision: 1.51 $
+ * $Revision: 1.52 $
*
- * last change: $Author: kz $ $Date: 2006-10-06 10:01:08 $
+ * last change: $Author: vg $ $Date: 2006-11-01 15:29:54 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -157,6 +157,10 @@ class VCL_DLLPUBLIC X11SalFrame : public SalFrame
SalI18N_InputContext *mpInputContext;
Bool mbInputFocus;
+ XRectangle* m_pClipRectangles;
+ int m_nCurClipRect;
+ int m_nMaxClipRect;
+
void GetPosSize( Rectangle &rPosSize );
void SetSize ( const Size &rSize );
@@ -268,6 +272,16 @@ public:
virtual bool SetPluginParent( SystemParentData* pNewParent );
virtual void SetBackgroundBitmap( SalBitmap* pBitmap );
+ // shaped system windows
+ // set clip region to none (-> rectangular windows, normal state)
+ virtual void ResetClipRegion();
+ // start setting the clipregion consisting of nRects rectangles
+ virtual void BeginSetClipRegion( ULONG nRects );
+ // add a rectangle to the clip region
+ virtual void UnionClipRegion( long nX, long nY, long nWidth, long nHeight );
+ // done setting up the clipregion
+ virtual void EndSetClipRegion();
+
static void SaveYourselfDone( SalFrame* );
static Bool checkKeyReleaseForRepeat( Display*, XEvent*, XPointer pX11SalFrame );
};