|
| CGUIScrollingText () |
|
| CGUIScrollingText (const CGUIObject *const pkParentObject, const eC_String &kText, const eC_Value &vXPos=eC_FromInt(0), const eC_Value &vYPos=eC_FromInt(0), const eC_Bool &bSingleLine=true) |
|
| CGUIScrollingText (const CGUIObject *const pkParentObject, const eC_String *const pkText, const eC_Value &vXPos=eC_FromInt(0), const eC_Value &vYPos=eC_FromInt(0), const eC_Bool &bSingleLine=true) |
|
| CGUIScrollingText (const CGUIObject *const pkParentObject, const TextResource_t &eTextID, const eC_Value &vXPos=eC_FromInt(0), const eC_Value &vYPos=eC_FromInt(0), const eC_Bool &bSingleLine=true) |
|
| CGUIScrollingText (const CGUIScrollingText &rkScrollingText) |
|
| CGUIScrollingText (const CGUIText &rkText) |
|
void | AdaptText () |
|
virtual CGUIScrollingText * | Clone () const |
|
virtual void | DoAnimate (const eC_Value &vTimes=eC_FromInt(1)) |
|
eC_Value | GetRelXPos () const |
|
eC_Value | GetRelYPos () const |
|
eC_Value | GetTextHeight () const |
|
eC_Value | GetTextWidth () const |
|
virtual void | ReadFromStream () |
|
void | ResetTextPosition () |
|
void | SetAnimationActive (const eC_Bool bAnimationActive) |
|
void | SetAnimationInterval (const eC_UInt uiAnimationInterval) |
|
void | SetAnimationMode (const ScrollingCondition_t eScrollingCondition) |
|
void | SetAnimationStepSize (const eC_Int iAnimationStepSize) |
|
void | SetRelXPos (const eC_Value &vRelXPos) |
|
void | SetRelYPos (const eC_Value &vRelYPos) |
|
void | SetScrollVertical (const eC_Bool bScrollVertical) |
|
void | SetTextHeight (const eC_Value &vTextHeight) |
|
void | SetTextWidth (const eC_Value &vTextWidth) |
|
virtual void | WriteToStream (const eC_Bool bWriteTextType=false) |
|
| CGUIText (const CGUIObject *const pkParentObject, const eC_String &kText, const eC_Value &vXPos=eC_FromInt(0), const eC_Value &vYPos=eC_FromInt(0), const eC_Bool &bSingleLine=true) |
|
| CGUIText (const CGUIObject *const pkParentObject, const eC_String *const pkText, const eC_Value &vXPos=eC_FromInt(0), const eC_Value &vYPos=eC_FromInt(0), const eC_Bool &bSingleLine=true) |
|
| CGUIText (const CGUIObject *const pkParentObject, const TextResource_t &eTextID, const eC_Value &vXPos=eC_FromInt(0), const eC_Value &vYPos=eC_FromInt(0), const eC_Bool &bSingleLine=true) |
|
| CGUIText (const CGUIText &kTextToBeCopied) |
|
virtual | ~CGUIText () |
| Destructor.
|
|
virtual CGUIText * | Clone () const |
|
void | FitHeightToContainedText () |
|
void | GetAdjustment (eC_Value &vXAdjustment, eC_Value &vYAdjustment) const |
|
eC_Bool | GetAutoSize () const |
|
const CGUIObject * | GetContainingObject () const |
|
FontResource_t | GetFont () const |
|
eC_Int | GetFontSize () const |
|
eC_Float | GetFontSpacing () const |
|
HorAligned_t | GetHorAlign () const |
|
virtual eC_Value | GetLineSpacing () const |
|
eC_UInt | GetNumberOfLines () |
|
virtual eC_Value | GetRelXPos () const |
|
virtual eC_Value | GetRelYPos () const |
|
virtual void | GetRequiredOrgTextSpace (eC_Value &vTextWidth, eC_Value &vTextHeight) |
|
virtual eC_Value | GetRequiredTextHeightForWidth (eC_Value vAvailableWidth=0) |
|
virtual void | GetRequiredTextSpace (eC_Value &vTextWidth, eC_Value &vTextHeight) |
|
CGUICommonEnums::Rotation_t | GetRotation () const |
|
const CGUIRect & | GetSpecificClipRect () const |
|
const eC_String * | GetText () const |
|
void | GetTextColor (eC_UInt &uiTextColorStandard, eC_UInt &uiTextColorHighlighted, eC_UInt &uiTextColorGrayedOut, eC_UInt &uiTextColorPressed) const |
|
void | GetTextColor (GlobalProperty_t &eTextColorStandard, GlobalProperty_t &eTextColorHighlighted, GlobalProperty_t &eTextColorGrayedOut, GlobalProperty_t &eTextColorPressed) const |
|
eC_UInt | GetTextColorGrayedOut () const |
|
eC_UInt | GetTextColorHighlighted () const |
|
eC_UInt | GetTextColorPressed () const |
|
eC_UInt | GetTextColorStandard () const |
|
virtual eC_Value | GetTextHeight () const |
|
TextResource_t | GetTextID () const |
|
virtual eC_Value | GetTextWidth () const |
|
VerAligned_t | GetVerAlign () const |
|
void | InvalidateArea () |
|
eC_Bool | IsBidi () const |
|
eC_Bool | IsTextCut () |
|
eC_Bool | IsTextID () const |
|
eC_Bool | IsTextSingleLine () const |
|
CGUIText & | operator= (const CGUIText &kSource) |
|
virtual void | PrintText () |
|
virtual void | ReadFromStream () |
|
void | SetAdjustment (const eC_Value &vXAdjustment, const eC_Value &vYAdjustment) |
|
void | SetAligned (const VerAligned_t &eVerAligned=V_TOP, const HorAligned_t &eHorAligned=H_LEFT) |
|
void | SetAlignedHorizontal (const HorAligned_t &eHorAligned=H_LEFT) |
|
void | SetAlignedVertical (const VerAligned_t &eVerAligned=V_TOP) |
|
void | SetAutoSize (const eC_Bool &bAutoSize) |
|
void | SetContainingObject (const CGUIObject *const pkParent) |
|
virtual void | SetFont (const FontResource_t &eFontID) |
|
void | SetFontSpacing (const eC_Float &fFontSpacing) |
|
virtual void | SetLineSpacing (const eC_Value vLineSpacing) |
|
void | SetRelRect (const CGUIRect &kRect) |
|
virtual void | SetRelXPos (const eC_Value &vRelXPos) |
|
virtual void | SetRelYPos (const eC_Value &vRelYPos) |
|
void | SetRotation (const CGUICommonEnums::Rotation_t eRotation) |
|
void | SetSpecificClipRect (const CGUIRect &kRect) |
|
void | SetTextAlignmentProperty (const GlobalProperty_t &eTextAlignmentProperty) |
|
virtual void | SetTextColor (const eC_UInt &uiTextColorStandard, const eC_UInt &uiTextColorHighlighted, const eC_UInt &uiTextColorGrayedOut, const eC_UInt &uiTextColorPressed) |
|
virtual void | SetTextColor (const GlobalProperty_t &eTextColorStandard, const GlobalProperty_t &eTextColorHighlighted, const GlobalProperty_t &eTextColorGrayedOut, const GlobalProperty_t &eTextColorPressed) |
|
void | SetTextColorGrayedOut (const eC_UInt &uiTextColorGrayedOut) |
|
void | SetTextColorGrayedOut (const GlobalProperty_t &eTextColorPropertyGrayedOut) |
|
void | SetTextColorHighlighted (const eC_UInt &uiTextColorHighlighted) |
|
void | SetTextColorHighlighted (const GlobalProperty_t &eTextColorPropertyHighlighted) |
|
void | SetTextColorPressed (const eC_UInt &uiTextColorPressed) |
|
void | SetTextColorPressed (const GlobalProperty_t &eTextColorPropertyPressed) |
|
void | SetTextColorStandard (const eC_UInt &uiTextColorStandard) |
|
void | SetTextColorStandard (const GlobalProperty_t &eTextColorPropertyStandard) |
|
virtual void | SetTextHeight (const eC_Value &vTextHeight) |
|
virtual void | SetTextID (const TextResource_t &eTextID) |
|
virtual void | SetTextSingleLine (const eC_Bool &bSingleLine) |
|
virtual void | SetTextString (const eC_String &kTextString) |
|
void | SetTextString (const eC_String *pkTextString) |
|
virtual void | SetTextWidth (const eC_Value &vTextWidth) |
|
virtual void | WriteToStream (const eC_Bool bWriteTextType=false) |
|
| CGUIColorPropertyObserver () |
| default-constructor
|
|
| ~CGUIColorPropertyObserver () |
| destructor
|
|
eC_UInt | AddColorProperty (const eC_Bool &bColorIsProperty, const eC_UInt &uiColorValue, const GlobalProperty_t &eColorProperty) |
|
void | AddColorProperty (const eC_UInt &uiIndex, const eC_Bool &bColorIsProperty, const eC_UInt &uiColorValue, const GlobalProperty_t &eColorProperty) |
|
ColorValue_t | GetColorProperty (const eC_UInt &uiIndex) const |
|
eC_UInt | GetColorValue (const eC_UInt &uiIndex) const |
|
virtual void | OnColorPropertyChange () |
|
virtual void | OnNotification () |
| Called by CGUISubject whenever an observed object triggers an update. More...
|
|
void | RemoveColorProperty (const eC_UInt &uiIndex) |
|
void | SetColorProperty (const eC_UInt &uiIndex, const ColorValue_t &kColorValue) |
|
void | SetColorProperty (const eC_UInt &uiIndex, const eC_UInt &uiColorValue) |
|
void | SetColorProperty (const eC_UInt &uiIndex, const GlobalProperty_t &eColorProperty) |
|
| CGUIObserver () |
| Default constructor.
|
|
virtual | ~CGUIObserver () |
| Default destructor. Notifies all subjects of destruction.
|
|
const eC_TListDoubleLinked< CGUISubject * > & | GetSubjectList () const |
|
virtual void | OnNotification () |
| Called by CGUISubject whenever an observed object triggers an update. More...
|
|
virtual void | OnNotification (const CGUIObject *const pkUpdatedObject) |
|
virtual void | OnNotification (const CGUIValue &kObservedValue, const CGUIObject *const pkUpdatedObject, const eC_UInt uiX=0, const eC_UInt uiY=0) |
|
virtual void | OnNotification (const eC_String &kMessage) |
|
void | SetAutoDelete (const eC_Bool bAutoDelete) |
|
const eC_String & | GetXMLTag () const |
|
virtual void | ReadFromStream () |
|
void | SetXMLTag (const eC_String &kXMLTag) |
|
virtual void | WriteToStream (const eC_Bool bWriteClassID=false) |
|
virtual | ~CGUIAnimatable () |
| Destructor. Removes all existing animation callbacks.
|
|
virtual void | DoAnimate (const eC_Value &vTimes=eC_FromInt(1)) |
|
virtual eC_Bool | IsAnimating () const |
|
virtual void | StartAnimation () |
|
virtual void | StopAnimation () |
|
|
void | CheckScrollingCondition () |
|
eC_Bool | IsScrollingTextCut () const |
|
void | PreparePrint () |
|
void | PrintText () |
| Calls the base implementation and resets the cliprect that is manipulated in PreparePrint(). More...
|
|
void | UpdateIsTextCut () |
| Helper function for AdaptText() that updates m_bIsTextCut.
|
|
virtual void | AdaptText () |
|
virtual void | CollectHyphenationMarks (eC_String &rkStr, eC_UInt uiOffset) |
|
eC_Bool | ContainsHyphenationMarks (const eC_String &kStr) const |
|
void | CreateLocalTextCopy () |
|
virtual void | FitString (ExtendedString_t &rkResultStrData, const eC_String &rkStrToAnalyse, eC_String &rkRestStr, eC_UInt &uiOffset) |
|
virtual eC_Value | GetHorStartAbsXPos () |
|
virtual eC_Value | GetPrintLineAbsXPos () |
|
virtual eC_Value | GetPrintLineAbsXPos (const eC_UInt uiLine) |
|
virtual eC_Value | GetPrintLineAbsXPos (const eC_Value &vWidth, const eC_Value &vHeight) |
|
virtual eC_Value | GetPrintLineAbsYPos () |
|
virtual eC_Value | GetPrintLineAbsYPos (const eC_UInt uiLine) |
|
virtual eC_Value | GetPrintLineAbsYPos (const eC_Value &vWidth, const eC_Value &vHeight) |
|
eC_Value | GetRequiredTextHeight () const |
|
eC_Value | GetRequiredTextWidth () const |
|
virtual eC_Value | GetVerStartAbsYPos () |
|
virtual void | OnNotification () |
|
eC_Bool | PrepareClipRect () |
|
virtual void | PreparePrint () |
|
void | ReadFontColors (const eC_UInt uiVersion) |
|
void | SetRequiredTextHeight (eC_Value vRequiredTextHeight) |
|
void | SetRequiredTextWidth (eC_Value vRequiredTextWidth) |
|
void | SetTextCut (const eC_Bool bIsCut) |
|
void | WriteFontColors () |
| Helper function for WriteStream().
|
|
virtual void | AddSubject (CGUISubject *pSubjectToAdd) |
|
virtual void | RemoveSubject (CGUISubject *pSubjectToRemove) |
|
eC_UInt | ReadStreamingHeader (const eC_UInt &uiClassVersion, const eC_UInt &uiClassMinVersion=0) const |
|
void | WriteStreamingFooter (const eC_Bool &bWriteClassID) const |
|
void | WriteStreamingHeader (const eC_Bool &bWriteClassID, const eC_Char *const pkClassIDTag, const eC_Int &iClassID, const eC_UInt &uiClassVersion) const |
|
|
static eC_String | GetEllipsisString () |
|
static eC_String | GetHyphenString () |
|
static void | SetEllipsisString (const eC_String &kEllipsis) |
|
static void | SetHyphenString (const eC_String &kHyphen) |
|
static UUID_t | GenerateUUID () |
|
static const eC_Char | XMLTAG_TEXT_COLOR_GRAYEDOUT [] |
| xml-tag for grayedout-color
|
|
static const eC_Char | XMLTAG_TEXT_COLOR_HIGHLIGHTED [] |
| xml-tag for highlighted-color
|
|
static const eC_Char | XMLTAG_TEXT_COLOR_PRESSED [] |
| xml-tag for pressed-color
|
|
static const eC_Char | XMLTAG_TEXT_COLOR_PROPERTY_FLAGS [] |
| XML tag to be used when writing text colors into a stream. More...
|
|
static const eC_Char | XMLTAG_TEXT_COLOR_STANDARD [] |
| xml-tag for standard-color
|
|
static const eC_Char | XMLTAG_TEXTID [] |
| XML tag to be used when writing a text ID into a stream.
|
|
static const eC_Char | XMLTAG_TEXTTYPEID [] |
| XML tag to be used when writing a text type ID into a stream.
|
|
static const eC_Char | XMLTAG_CLASSVERSION [] |
|
typedef eC_TListDoubleLinked< ExtendedString_t > | ExtendedStringList_t |
| The extended string list is a double-linked list of extended strings.
|
|
typedef eC_TListDoubleLinked< eC_UInt > | UIntList |
| Double linked List of unsigned integers.
|
|
eC_Bool | m_bAdaptText |
|
eC_Bool | m_bSingleLine |
| Indicates whether this text is single- or multi-line.
|
|
eC_Bool | m_bTextCut |
| Indicates whether the text is cut and has an appended ellipsis.
|
|
eC_Bool | m_bTextIDLocalCopy |
|
eC_Bool | m_bTextIsBiDi |
| Indicates whether the text is a BiDi-text.
|
|
eC_Bool | m_bUseEllipsis |
| use ellipsis if text is too long
|
|
FontResource_t | m_eFont |
| Font ID for this text object.
|
|
HorAligned_t | m_eHorAligned |
| Horizontal alignment.
|
|
CGUICommonEnums::Rotation_t | m_eRotation |
| rotation for the text
|
|
GlobalProperty_t | m_eTextAlignmentProperty |
| Property used for the text color for alignment. By default, this value is DUMMY_PROPERTY, i.e. a fixed alignment is used.
|
|
TextResource_t | m_eTextID |
|
VerAligned_t | m_eVerAligned |
| Vertical alignment.
|
|
eC_Float | m_fFontSpacing |
| Font spacing for the text object.
|
|
UIntList | m_kHyphens |
| List of hyphen positions in the original text.
|
|
ExtendedStringList_t | m_kListStringsExtended |
| List of strings to be printed, and their cached width and height.
|
|
const CGUIObject * | m_pkParentObject |
| The object containing (and printing) this text.
|
|
eC_String * | m_pkText |
|
eC_Value | m_vLineHeight |
| The height of one text line with this text's font.
|
|
eC_Value | m_vLineSpacing |
| The line spacing factor.
|
|
eC_Value | m_vRelXPos |
| X position of this text's printing area relative to the parent object.
|
|
eC_Value | m_vRelYPos |
| Y position of this text's printing area relative to the parent object.
|
|
eC_Value | m_vRequiredOrgTextHeight |
|
eC_Value | m_vRequiredOrgTextWidth |
|
eC_Value | m_vTextHeight |
| Height of this text's printing area.
|
|
eC_Value | m_vTextWidth |
| Width of this text's printing area.
|
|
eC_Value | m_vXAdjustment |
| Printing adjustment for m_vRelXPos.
|
|
eC_Value | m_vYAdjustment |
| Printing adjustment for m_vRelYPos.
|
|
static const ExtendedString_t | ms_ckEmptyExtendedString |
| An empty Extended String.
|
|
static const eC_String | ms_ckEmptyString |
| An empty string.
|
|
static const eC_String | ms_ckSingleSpace |
| A single space character for text size calculations.
|
|
A specialization of the GUIText which implements text scrolling.
The scrollable text is a specialization of the GUIText which implements text scrolling. It is possible to scroll always, only when the parent object is focused, or when the text is truncated.
It is possible to scroll the text horizontally or vertically. The animation speed can be configured by setting the animation interval and the animation step size.
When scrolling, the text will always be clipped on the original text dimensions.
Platform Specific Limitations
GUIScrollingText Text alignments will have no effect in the direction of scrolling. I.e., vertical alignment will be ignored for vertically scrolling text.(Class CGUIScrollingText)
See CGUIScrollingText Platform Specific Limitations.