diff options
author | Vladimir Glazunov <vg@openoffice.org> | 2010-08-26 09:15:18 +0200 |
---|---|---|
committer | Vladimir Glazunov <vg@openoffice.org> | 2010-08-26 09:15:18 +0200 |
commit | 1e6865a751b1fd945e542cd7d873ab0cab139594 (patch) | |
tree | 8a6cefbb1ff479d27d2576e0df63a78606a9ea4f /vcl/inc | |
parent | 524ec515e0148330dabaa21fa80f8ecc3adc0f5b (diff) | |
parent | 08b6b244b215ec4a96686866685eab5421da3dd5 (diff) |
CWS-TOOLING: integrate CWS renaissance1
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/vcl/splitwin.hxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vcl/inc/vcl/splitwin.hxx b/vcl/inc/vcl/splitwin.hxx index 4aa1ca16785c..f028c6969b16 100644 --- a/vcl/inc/vcl/splitwin.hxx +++ b/vcl/inc/vcl/splitwin.hxx @@ -201,6 +201,18 @@ public: BOOL bPropGreat = FALSE ); void SetItemSize( USHORT nId, long nNewSize ); long GetItemSize( USHORT nId ) const; + /** Set a range that limits the (variable part of the) size with an + upper and a lower bound (both are valid values themselves.) + @param nId + Id of the item for which the size limits are set. + @param aRange + Values of -1 define missing bounds, thus setting a range (-1,-1) + (the default) removes the size limitiation. + */ + void SetItemSizeRange (USHORT nId, const Range aRange); + /** Return the current size limits for the specified item. + */ + Range GetItemSizeRange (USHORT nId) const; long GetItemSize( USHORT nId, SplitWindowItemBits nBits ) const; void SetItemBits( USHORT nId, SplitWindowItemBits nNewBits ); SplitWindowItemBits GetItemBits( USHORT nId ) const; |