GUIBASE::RCLayoutHandler Class Reference

Inherited by GUIBASE::RCAdvancedDialog.

Inheritance diagram for GUIBASE::RCLayoutHandler:

Inheritance graph
[legend]
Collaboration diagram for GUIBASE::RCLayoutHandler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RCLayoutHandler (CWnd &Wnd)
void SetDialogLayout (TDialogLayout nLayout, TInt nReferenceControlId=0)
void SetChildLayout (TInt nChildId, TCoordComponent nComponent, TDialogChildLayout nLayout, TReal nFactor=1.0)
void SetChildLayout (TInt nChildId, TDialogChildLayout nLayoutLeft, TReal nFactorLeft, TDialogChildLayout nLayoutTop, TReal nFactorTop, TDialogChildLayout nLayoutRight, TReal nFactorRight, TDialogChildLayout nLayoutBottom, TReal nFactorBottom)
void SetChildLayoutScale (TSInt nChildId, TReal nFactorX, TReal nFactorY)
void SetChildLayoutMove (TSInt nChildId, TReal nFactorX, TReal nFactorY)
void InitLayout (const RCSize *pNewSize=NULL)
void ArrangeChilds ()

Protected Types

enum  TConstants {
  DimensionCount = 2,
  ComponentCount = CC_ENTRY_COUNT,
  X = 0,
  X1 = X,
  Y = 1,
  Y1 = Y,
  X2 = 2,
  Y2 = 3
}

Protected Member Functions

TSLong CalcChildComponent (TSLong nOriginalPos, TDialogChildLayout nLayout, TReal nFactor, TInt nDimension)
void SetChildPlace (TInt nChildId, const TSLong naPos[])
void SetMarkerScale (RSChildInfo &ChildInfoRef, TInt nComponent, TSInt nReference)

Protected Attributes

CWnd & m_ThisWnd
TDialogLayout m_nDialogLayout
RCSize m_OriginalSize
RCPoint m_BorderOffset
RCSize m_BorderSize
TInt m_nReferenceControlId
TReal m_naScale [DimensionCount]
TSLong m_naBorder [DimensionCount]
TSLong m_naDelta [DimensionCount]
TReal m_naBorderedScale [DimensionCount]

Classes

struct  RSChildInfo

Detailed Description

Author:
Patrik Stellmann


The documentation for this class was generated from the following files:
Generated on Thu Feb 16 12:47:04 2006 for Simulator Bob by  doxygen 1.4.6-NO