10#ifndef __GUI_REPOSITION_COMPOSITE_OBJECT__H__
11#define __GUI_REPOSITION_COMPOSITE_OBJECT__H__
13#include "GUICompositeObject.h"
14#include "GUILayoutHelper.h"
85 const eC_Value& vX,
const eC_Value& vY,
86 const eC_Value& vWidth,
const eC_Value& vHeight,
88 const eC_Value& vGap = eC_FromInt(0),
102 const eC_Value& vGap = eC_FromInt(0),
121 void SetBorder(
const eC_Value vBorder) { m_vBorder = vBorder; }
126 void SetGap(
const eC_Value vGap) { m_vGap = vGap; }
129 eC_Value
GetGap()
const {
return m_vGap; }
136#ifdef GUILIANI_STREAM_GUI
139#ifdef GUILIANI_WRITE_GUI
ObjectHandle_t
List of object resource ids.
Definition: GUIObjectHandleResource.h:55
This is the Guiliani base class for all composite objects.
Definition: GUICompositeObject.h:70
RepositionAlignment_t
Definition: GUILayoutHelper.h:59
Helper class to supply a platform independent rectangle implementation.
Definition: GUIRect.h:63
Can reposition its visible children in different directions.
Definition: GUIRepositionCompositeObject.h:71
virtual void ReadFromStream()
eC_Value GetGap() const
Definition: GUIRepositionCompositeObject.h:129
void SetBorder(const eC_Value vBorder)
Definition: GUIRepositionCompositeObject.h:121
CGUIRepositionCompositeObject()
CGUIRepositionCompositeObject(CGUICompositeObject *const pkParent, const CGUIRect &kRect, const CGUILayoutHelper::RepositionAlignment_t &eBasePoint=CGUILayoutHelper::REPOSITION_ALIGN_INVALID, const eC_Value &vGap=eC_FromInt(0), const ObjectHandle_t &eID=NO_HANDLE)
virtual void WriteToStream(const eC_Bool bWriteClassID=false)
void SetBasePoint(CGUILayoutHelper::RepositionAlignment_t eNewBasePoint)
Definition: GUIRepositionCompositeObject.h:116
void RepositionChildren()
CGUIRepositionCompositeObject(CGUICompositeObject *const pkParent, const eC_Value &vX, const eC_Value &vY, const eC_Value &vWidth, const eC_Value &vHeight, const CGUILayoutHelper::RepositionAlignment_t &eBasePoint=CGUILayoutHelper::REPOSITION_ALIGN_INVALID, const eC_Value &vGap=eC_FromInt(0), const ObjectHandle_t &eID=NO_HANDLE)
virtual ~CGUIRepositionCompositeObject()
Definition: GUIRepositionCompositeObject.h:106
void SetGap(const eC_Value vGap)
Definition: GUIRepositionCompositeObject.h:126