10#if !defined(GUISCROLLINGTEXTFIELD_H)
11#define GUISCROLLINGTEXTFIELD_H
13#include "GUITextField.h"
39 const eC_Value& vX,
const eC_Value& vY,
40 const eC_Value& vWidth,
const eC_Value& vHeight,
41 const eC_String &kText,
42 const eC_Bool& bMultiLine =
false,
43 const eC_Bool& bAnimationActive =
false,
44 const eC_Bool& bScrollVertical =
false,
45 const eC_Int &iAnimationTime = 30,
46 const eC_Int &iAnimationStepSize = 1,
65 const eC_String &kText,
66 const eC_Bool& bMultiLine =
false,
67 const eC_Bool& bAnimationActive =
false,
68 const eC_Bool& bScrollVertical =
false,
69 const eC_Int &iAnimationTime = 30,
70 const eC_Int &iAnimationStepSize = 1,
91 const eC_Value& vX,
const eC_Value& vY,
92 const eC_Value& vWidth,
const eC_Value& vHeight,
94 const eC_Bool& bMultiLine =
false,
95 const eC_Bool& bAnimationActive =
false,
96 const eC_Bool& bScrollVertical =
false,
97 const eC_Int &iAnimationTime = 30,
98 const eC_Int &iAnimationStepSize = 1,
118 const eC_Bool& bMultiLine =
false,
119 const eC_Bool& bAnimationActive =
false,
120 const eC_Bool& bScrollVertical =
false,
121 const eC_Int &iAnimationTime = 30,
122 const eC_Int &iAnimationStepSize = 1,
135 void Init(
const eC_Bool bAnimationActive,
const eC_Bool bScrollVertical,
const eC_Int iAnimationTime,
const eC_Int iAnimationStepSize);
164#if defined(GUILIANI_STREAM_GUI)
172#if defined(GUILIANI_WRITE_GUI)
ImageResource_t
Enumeration of image resource ids.
Definition: GUIImageResource.h:126
ObjectHandle_t
List of object resource ids.
Definition: GUIObjectHandleResource.h:55
TextResource_t
List of text resource ids.
Definition: GUITextResource.h:40
This is the Guiliani base class for all composite objects.
Definition: GUICompositeObject.h:70
Helper class to supply a platform independent rectangle implementation.
Definition: GUIRect.h:63
Draws a smooth scrolling text field with configurable speed.
Definition: GUIScrollingTextField.h:20
CGUIScrollingTextField(CGUICompositeObject *const pkParent, const eC_Value &vX, const eC_Value &vY, const eC_Value &vWidth, const eC_Value &vHeight, const eC_String &kText, const eC_Bool &bMultiLine=false, const eC_Bool &bAnimationActive=false, const eC_Bool &bScrollVertical=false, const eC_Int &iAnimationTime=30, const eC_Int &iAnimationStepSize=1, const ImageResource_t &eBackgroundImg=DUMMY_IMAGE, const ObjectHandle_t &eID=NO_HANDLE)
void Init(const eC_Bool bAnimationActive, const eC_Bool bScrollVertical, const eC_Int iAnimationTime, const eC_Int iAnimationStepSize)
CGUIScrollingTextField(CGUICompositeObject *const pkParent, const CGUIRect &kRect, const TextResource_t &eTextID, const eC_Bool &bMultiLine=false, const eC_Bool &bAnimationActive=false, const eC_Bool &bScrollVertical=false, const eC_Int &iAnimationTime=30, const eC_Int &iAnimationStepSize=1, const ImageResource_t &eBackgroundImg=DUMMY_IMAGE, const ObjectHandle_t &eID=NO_HANDLE)
void SetScrollVertical(eC_Bool bScrollVertical)
CGUIScrollingTextField & operator=(const CGUIScrollingTextField &kSource)
CGUIScrollingTextField(CGUICompositeObject *const pkParent, const CGUIRect &kRect, const eC_String &kText, const eC_Bool &bMultiLine=false, const eC_Bool &bAnimationActive=false, const eC_Bool &bScrollVertical=false, const eC_Int &iAnimationTime=30, const eC_Int &iAnimationStepSize=1, const ImageResource_t &eBackgroundImg=DUMMY_IMAGE, const ObjectHandle_t &eID=NO_HANDLE)
CGUIScrollingTextField(const CGUIScrollingTextField &kSource)
CGUIScrollingTextField(CGUICompositeObject *const pkParent, const eC_Value &vX, const eC_Value &vY, const eC_Value &vWidth, const eC_Value &vHeight, const TextResource_t &eTextID, const eC_Bool &bMultiLine=false, const eC_Bool &bAnimationActive=false, const eC_Bool &bScrollVertical=false, const eC_Int &iAnimationTime=30, const eC_Int &iAnimationStepSize=1, const ImageResource_t &eBackgroundImg=DUMMY_IMAGE, const ObjectHandle_t &eID=NO_HANDLE)
virtual void WriteToStream(const eC_Bool bWriteClassID=false)
CGUIScrollingTextField()
Default constructor to be used by the factory.
virtual void ReadFromStream()
~CGUIScrollingTextField()
Destructor.
eC_Bool GetAnimationActive() const
void SetAnimationActive(eC_Bool bAnimationActive)
Represents a simple GUI object containing a text.
Definition: GUITextField.h:83