Engine.UIComp_DrawStringEditbox
- Extends
- UIComp_DrawString
- Modifiers
- within UIEditBox native ( inherit ) config ( UI )
This specialized version of UIComp_DrawString handles rendering UIStrings for editboxes. The responsibilities specific
to rendering text in editboxes are:
1. A caret must be rendered at the appropriate location in the string
2. Ensuring that the text surrounding the caret is always visible
3. Tracking the text that was typed by the user independently from the data source that the owning widget is bound to.
Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
@todo - register this component with the data store for the caret image node so that it receives the refreshdatastore callback
Core.Object
|
+-- Core.Component
|
+-- Engine.UIComponent
|
+-- Engine.UIComp_DrawComponents
|
+-- Engine.UIComp_DrawString
|
+-- Engine.UIComp_DrawStringEditbox
Inherited Variables from Engine.UIComp_DrawString |
>, bIgnoreMarkup, bReapplyFormatting, bRefreshString, ClampRegion[EUIOrientation.UIORIENT_MAX], StringClass, StringStyle, StyleResolverTag, SubscriberOwner, TextStyleCustomization, ValueString |
Inherited Functions from Engine.UIComp_DrawString |
DisableCustomAlignment, DisableCustomAttributes, DisableCustomAutoScaling, DisableCustomClipAlignment, DisableCustomClipMode, DisableCustomColor, DisableCustomFont, DisableCustomOpacity, DisableCustomPadding, DisableCustomScale, DisableCustomSpacingAdjust, EnableAutoSizing, EnableSubregion, GetAppliedStringStyle, GetFinalStringStyle, GetStyleResolverTag, GetSubregionAlignment, GetSubregionOffset, GetSubregionSize, GetValue, GetWrapMode, IsAutoSizeEnabled, IsSubregionEnabled, NotifyResolveStyle, RefreshValue, SetAlignment, SetAttributes, SetAutoScaling, SetAutoSizeExtent, SetAutoSizePadding, SetClipAlignment, SetColor, SetFont, SetOpacity, SetPadding, SetScale, SetSpacingAdjust, SetStyleResolverTag, SetSubregionAlignment, SetSubregionOffset, SetSubregionSize, SetValue, SetWrapMode |
bRecalculateFirstCharacter Source code
var const transient bool bRecalculateFirstCharacter;
var const native private transient
pointer CaretNode;
var const transient float CaretOffset;
FirstCharacterPosition Source code
var const private transient int FirstCharacterPosition;
SelectionBackgroundColor Source code
var private transient string UserText;
Presentation
var(Presentation) UIStringCaretParameters StringCaret;
UIStringSelectionRegion Source code
native final function bool ClearSelection ( )
native final const function string GetSelectedText ( ) con )
native final const function bool GetSelectionRange ( out int out_StartIndex, out int out_EndIndex ) con )
native final const function int GetUserTextLength ( ) con )
native final function bool SetSelectionEnd ( int EndIndex )
native final function bool SetSelectionRange ( int StartIndex, int EndIndex )
native final function bool SetSelectionStart ( int StartIndex )
native final function bool SetUserText ( string NewValue )
defaultproperties
{
StringCaret=(CaretWidth=1.000000,CaretStyle="DefaultCaretStyle")
SelectionTextColor=(R=1.000000,G=1.000000,B=1.000000,A=1.000000)
SelectionBackgroundColor=(R=0.654901,G=0.125490,B=0.019608,A=0.600000)
TextStyleCustomization=(ClipMode=CLIP_Normal,ClipAlignment=UIALIGN_Right,bOverrideClipMode=True,bOverrideClipAlignment=True)
StringStyle=(DefaultStyleTag="DefaultEditboxStyle")
Name="Default__UIComp_DrawStringEditbox"
ObjectArchetype=UIComp_DrawString'Engine.Default__UIComp_DrawString'
}
|
Creation time: sk 18-3-2018 10:00:46.422 - Created with
UnCodeX