summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/vcl/layout.hxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/vcl/inc/vcl/layout.hxx b/vcl/inc/vcl/layout.hxx
index 43fc7a9c60bd..38ad29e8ef02 100644
--- a/vcl/inc/vcl/layout.hxx
+++ b/vcl/inc/vcl/layout.hxx
@@ -201,6 +201,18 @@ protected:
virtual void setAllocation(const Size &rAllocation);
private:
VclButtonBoxStyle m_eLayoutStyle;
+ struct Requisition
+ {
+ sal_uInt16 m_nPrimaryChildren;
+ sal_uInt16 m_nSecondaryChildren;
+ Size m_aSize;
+ Requisition()
+ : m_nPrimaryChildren(0)
+ , m_nSecondaryChildren(0)
+ {
+ }
+ };
+ Requisition calculatePrimarySecondaryRequisitions() const;
};
class VCL_DLLPUBLIC VclVButtonBox : public VclButtonBox