#include <RmUtilControlPlacement.h>
Public Types | |
| enum | RmControlLocationType { LocationLeft = 0, LocationRight, LocationTop, LocationBottom, LocationLeftRightLerp, LocationTopBottomLerp, LocationVisibility } |
| Definitions for location type. More... | |
Public Member Functions | |
| virtual | ~RmControlPlacementContainer () |
| Destructor. | |
| void | EmptyControlPlacementContainer () |
| void | ProcessControlPlacementContainer () |
| void | Attach (RmControlPlacementContainer *pRmControlPlacementContainer) |
| void | Bind (HWND hDestinationWnd, RmControlLocationType rmDestinationControlLocationType, HWND hSourceWnd, RmControlLocationType rmSourceControlLocationType, int nOffset=0, float fInterpolationValue=0.0f, bool bVisible=true) |
| void | BindControlRelativeLeft (HWND hControlWnd, int nOffset=0) |
| void | BindControlRelativeRight (HWND hControlWnd, int nOffset=0) |
| void | BindControlRelativeTop (HWND hControlWnd, int nOffset=0) |
| void | BindControlRelativeBottom (HWND hControlWnd, int nOffset=0) |
| void | BindControlLeft (HWND hControlWnd, int nOffset=0) |
| void | BindControlRight (HWND hControlWnd, int nOffset=0) |
| void | BindControlTop (HWND hControlWnd, int nOffset=0) |
| void | BindControlBottom (HWND hControlWnd, int nOffset=0) |
| void | BindControlLeftOf (HWND hControlWnd, HWND hSourceWnd, int nOffset=0) |
| void | BindControlRightOf (HWND hControlWnd, HWND hSourceWnd, int nOffset=0) |
| void | BindControlTopOf (HWND hControlWnd, HWND hSourceWnd, int nOffset=0) |
| void | BindControlBottomOf (HWND hControlWnd, HWND hSourceWnd, int nOffset=0) |
| void | BindControlRelativeTo (HWND hControlWnd, HWND hSourceWnd) |
| void | BindControlVisibility (HWND hControlWnd, bool bVisible) |
Protected Types | |
| typedef RmLinkedList< RmHwndRectInfo * > | RmHwndRectInfoList |
| typedef RmHwndRectInfoList::iterator | RmHwndRectInfoListIterator |
| typedef RmHwndRectInfoList::const_iterator | RmHwndRectInfoListConstIterator |
| typedef RmLinkedList< RmControlLocationPlacementInfo * > | RmControlLocationPlacementInfoList |
| typedef RmControlLocationPlacementInfoList::iterator | RmControlLocationPlacementInfoIterator |
| typedef RmControlLocationPlacementInfoList::const_iterator | RmControlLocationPlacementInfoConstIterator |
Protected Member Functions | |
| LONG * | GetRectLocationValuePtr (RECT *pRect, RmControlLocationType rmControlLocationType) |
| LONG | GetRectLocationValue (RECT *pRect, RmControlLocationType rmControlLocationType, float fInterpolationValue) |
| RECT * | GetHwndRect (HWND hWnd) |
Protected Attributes | |
| RmControlLocationPlacementInfoList | m_rmControlLocationPlacementInfoList |
| List of placement info. | |
| RmHwndRectInfoList | m_rmHwndRectInfoList |
| List of rectangle info. | |
Contains control offset information for dynamic positioning and sizing
|
|
Definitions for location type.
|
|
|
Attaches an external container to this container
|
|
||||||||||||||||||||||||||||||||
|
Adds binding placement info into the container
|
|
||||||||||||
|
Parent Border Binding to bottom
|
|
||||||||||||||||
|
Relative Border Binding bottom
|
|
||||||||||||
|
Parent Border Binding to left
|
|
||||||||||||||||
|
Relative Border Binding left
|
|
||||||||||||
|
Parent Border Binding to bottom
|
|
||||||||||||
|
Parent Border Binding to left
|
|
||||||||||||
|
Parent Border Binding to right
|
|
||||||||||||
|
Relative Binding Utility
|
|
||||||||||||
|
Parent Border Binding to top
|
|
||||||||||||
|
Parent Border Binding to right
|
|
||||||||||||||||
|
Relative Border Binding right
|
|
||||||||||||
|
Parent Border Binding to top
|
|
||||||||||||||||
|
Relative Border Binding top
|
|
||||||||||||
|
Visibility Binding Utility
|
|
|
Empties the control placement container
|
|
|
Returns the rect associated with the hWnd
|
|
||||||||||||||||
|
Returns the value as determined by rmControlLocationType and fInterpolationValue (if required)
|
|
||||||||||||
|
Returns a pointer to the rect member as determined by rmControlLocationType
|
|
|
Processes the control placement container
|
1.3.6