95 const eC_Value& vX,
const eC_Value& vY,
96 const eC_Value& vWidth,
const eC_Value& vHeight,
97 const eC_String &rkText,
111 const eC_String &rkText,
169 const eC_UInt &uiKey,
171 const eC_UInt &uiModifiers);
266 virtual eC_Bool
DoButtonDown(
const eC_Value& vAbsX,
const eC_Value& vAbsY);
274 virtual eC_Bool
DoDoubleClick(
const eC_Value& vAbsX=eC_FromInt(-1),
const eC_Value& vAbsY=eC_FromInt(-1));
283 virtual eC_Bool
DoDrag(
const eC_Value& vDeltaX,
const eC_Value& vDeltaY,
const eC_Value& vAbsX,
const eC_Value& vAbsY);
288 virtual void DoAnimate(
const eC_Value& vTimes = eC_FromInt(1));
317#ifdef GUILIANI_STREAM_GUI
321#ifdef GUILIANI_WRITE_GUI
332 void CopyAttributes(
const CGUIEdit& rkSource);
337 void StartCursorBlinking();
341 void StopCursorBlinking();
348 eC_Bool IsCharAllowed(eC_UInt uiChar)
const;
358 eC_Bool m_bPreviousCharacterWasIntermittent;
370 eC_Bool m_bResetCursorWhenFocusLost;
GUIKeyIdentifier_t
Platform independent key identifiers.
Definition: GUIEventTypeResource.h:205
ObjectHandle_t
List of object resource ids.
Definition: GUIObjectHandleResource.h:55
Helper Macros in Guiliani
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
No-frills text input control, not to be used on its own.
Definition: GUIEdit.h:66
virtual void SetTextID(const TextResource_t &eTextID)
virtual eC_Bool DoButtonDown(const eC_Value &vAbsX, const eC_Value &vAbsY)
void InsertTextString(const eC_String &rkTextString)
virtual void ReadFromStream()
void EnsureCursorVisible()
void RemoveTextChangedObserver(CGUIObserver *pObserver)
void SetResetCursorWhenFocusLost(const eC_Bool bResetCursor)
Definition: GUIEdit.h:315
virtual void SetTextString(const eC_String &rkTextString)
CGUIEditableText * GetLabel()
Definition: GUIEdit.h:176
eC_String DeleteSelectedTextString()
CGUIEdit(CGUICompositeObject *const pkParent, const eC_Value &vX, const eC_Value &vY, const eC_Value &vWidth, const eC_Value &vHeight, const eC_String &rkText, AcceptedChars_t eAcceptedChars=AC_ALL, const ObjectHandle_t &eID=NO_HANDLE)
virtual eC_Bool DoDoubleClick(const eC_Value &vAbsX=eC_FromInt(-1), const eC_Value &vAbsY=eC_FromInt(-1))
virtual eC_Bool IsHighlightable() const
Definition: GUIEdit.h:131
void SetHeight(const eC_Value &vY)
AcceptedChars_t
Sets of characters that are accepted as input in a CGUIEdit.
Definition: GUIEdit.h:70
@ AC_NONE
No characters.
Definition: GUIEdit.h:80
@ AC_LETTERS
All letters of the Latin alphabet and whitespace characters.
Definition: GUIEdit.h:74
@ AC_ALL
All characters.
Definition: GUIEdit.h:72
@ AC_DIGITS
Arabic digits.
Definition: GUIEdit.h:76
@ AC_ALPHANUMERIC
Latin letters, arabic digits and whitespace characters.
Definition: GUIEdit.h:78
void SetWidth(const eC_Value &vX)
eC_Int GetMaxLength() const
Definition: GUIEdit.h:198
CGUIEdit(const CGUIEdit &rkSource)
CGUIEdit & operator=(const CGUIEdit &rkSource)
virtual void WriteToStream(const eC_Bool bWriteClassID=false)
eC_Bool DoChar(const eC_UInt &uiKey, const GUIKeyIdentifier_t &eKeyIdentifier, const eC_UInt &uiModifiers)
void SetLabel(CGUIEditableText *pkText)
AcceptedChars_t GetAcceptedChars() const
Definition: GUIEdit.h:210
void SetAcceptedChars(AcceptedChars_t eAcceptedChars)
CGUIEdit(CGUICompositeObject *const pkParent, const CGUIRect &kRect, const eC_String &rkText, AcceptedChars_t eAcceptedChars=AC_ALL, const ObjectHandle_t &eID=NO_HANDLE)
void SetMaxLength(eC_Int iMaxLength)
eC_Bool DoKeyDown(const GUIKeyIdentifier_t &eKeyIdentifier, const eC_UInt &uiModifiers)
Edits the text in reaction to keyboard events.
eC_String GetSelectedTextString()
virtual void DoAnimate(const eC_Value &vTimes=eC_FromInt(1))
virtual eC_Bool DoDrag(const eC_Value &vDeltaX, const eC_Value &vDeltaY, const eC_Value &vAbsX, const eC_Value &vAbsY)
Specialization of CGUIText that allows for modification and selection of text.
Definition: GUIEditableText.h:61
Represents platform-independent keyboard events.
Definition: GUIEvent.h:114
This is the Guiliani base class all controls are derived from.
Definition: GUIObject.h:79
Observer Base class for Observer-Design-Pattern within Guiliani.
Definition: GUIObserver.h:28
Helper class to supply a platform independent rectangle implementation.
Definition: GUIRect.h:63
Subject Base class for Observer-Design-Pattern within Guiliani.
Definition: GUISubject.h:34
void AddTextChangedObserver(CGUIObserver *pObserver)