10#ifndef GUILAYOUTERANCHOR__H_
11#define GUILAYOUTERANCHOR__H_
13#include "GUILayouter.h"
93 ANCHOR_BOTTOM = 0x0002,
116 const eC_Bool &bTop,
const eC_Bool &bBottom,
const eC_Bool &bLeft,
const eC_Bool &bRight);
141 return (m_ubAnchors & eAnchor)!=0;
146#if defined(GUILIANI_STREAM_GUI) || defined(GUILIANI_WRITE_GUI)
150#ifdef GUILIANI_STREAM_GUI
154#ifdef GUILIANI_WRITE_GUI
164 eC_Value m_vDistanceBottom;
165 eC_Value m_vDistanceRight;
172 eC_UByte m_ubAnchors;
This is a layouter, which implements the "anchor"-concept.
Definition: GUILayouterAnchor.h:87
static const eC_UInt LAYOUTER_ANCHOR_CLASS_VERSION
Class version of anchor layouter class.
Definition: GUILayouterAnchor.h:147
void SetAnchors(const eC_UByte &ubAnchors)
virtual void WriteToStream(const eC_Bool bWriteClassID=false)
virtual eC_Bool IsDependentOnParentSize()
Definition: GUILayouterAnchor.h:106
CGUILayouterAnchor(CGUIObject *const pkObject=NULL)
void SetAnchors(const eC_Bool &bTop, const eC_Bool &bBottom, const eC_Bool &bLeft, const eC_Bool &bRight)
virtual void DoLayout(eMovedEdges_t eMovedEdges)
Anchors_t
Enumeration for anchors to all four sides of an object.
Definition: GUILayouterAnchor.h:91
virtual void InitLayouter(eMovedEdges_t eMovedEdges)
~CGUILayouterAnchor()
Destructs an Anchor-Layouter.
Definition: GUILayouterAnchor.h:104
eC_Bool IsAnchorSet(const Anchors_t eAnchor) const
Definition: GUILayouterAnchor.h:139
virtual void ReadFromStream()
Definition: GUILayouter.h:57
eMovedEdges_t
Enumerate possible reasons for calling layout,.
Definition: GUILayouter.h:61
This is the Guiliani base class all controls are derived from.
Definition: GUIObject.h:79