|
M&B: Bannerlord 1.2.9
The horns sound, the ravens gather.
|
Inherits TaleWorlds.TwoDimension.RichText.
Public Member Functions | |
| EditableText (int width, int height, Font font, Func< int, Font > getUsableFontForCharacter) | |
| void | SetCursorPosition (int position, bool visible) |
| void | BlinkCursor () |
| bool | IsCursorVisible () |
| void | ResetSelected () |
| void | BeginSelection () |
| bool | IsAnySelected () |
| Vector2 | GetCursorPosition (Font font, float fontSize, float scale) |
| override void | Update (SpriteData spriteData, Vector2 focusPosition, bool focus, bool isFixedWidth, bool isFixedHeight, float renderScale) |
| void | SelectAll () |
| int | FindNextWordPosition (int direction) |
| void | SetCursor (int position, bool visible=true, bool withSelection=false) |
Public Member Functions inherited from TaleWorlds.TwoDimension.RichText | |
| RichText (int width, int height, Font font, Func< int, Font > getUsableFontForCharacter) | |
| void | SetAllDirty () |
| Vector2 | GetPreferredSize (bool fixedWidth, float widthSize, bool fixedHeight, float heightSize, SpriteData spriteData, float renderScale) |
| void | CalculateTextOutput (bool fixedWidth, bool fixedHeight, float width, float height, SpriteData spriteData, float renderScale) |
| void | UpdateSize (int width, int height) |
| List< RichTextPart > | GetParts () |
Properties | |
| int | CursorPosition [get] |
| bool | HighlightStart [get, set] |
| bool | HighlightEnd [get, set] |
| int | SelectedTextBegin [get] |
| int | SelectedTextEnd [get] |
| float | BlinkTimer [get, set] |
| string | VisibleText [get, set] |
Properties inherited from TaleWorlds.TwoDimension.RichText | |
| string | CurrentStyle = "Default" [get, set] |
| int | TextHeight [get] |
| StyleFontContainer | StyleFontContainer [get] |
| TextHorizontalAlignment | HorizontalAlignment [get, set] |
| TextVerticalAlignment | VerticalAlignment [get, set] |
| string | Value [get, set] |
| RichTextLinkGroup | FocusedLinkGroup [get] |
| bool | SkipLineOnContainerExceeded [get, set] |
| bool | CanBreakWords [get, set] |
Properties inherited from TaleWorlds.TwoDimension.IText | |
Additional Inherited Members | |
Public Attributes inherited from TaleWorlds.TwoDimension.RichText | |
| ILanguage | CurrentLanguage |
| TaleWorlds.TwoDimension.EditableText.EditableText | ( | int | width, |
| int | height, | ||
| Font | font, | ||
| Func< int, Font > | getUsableFontForCharacter ) |
| void TaleWorlds.TwoDimension.EditableText.SetCursorPosition | ( | int | position, |
| bool | visible ) |
| void TaleWorlds.TwoDimension.EditableText.BlinkCursor | ( | ) |
| bool TaleWorlds.TwoDimension.EditableText.IsCursorVisible | ( | ) |
| void TaleWorlds.TwoDimension.EditableText.ResetSelected | ( | ) |
| void TaleWorlds.TwoDimension.EditableText.BeginSelection | ( | ) |
| bool TaleWorlds.TwoDimension.EditableText.IsAnySelected | ( | ) |
| Vector2 TaleWorlds.TwoDimension.EditableText.GetCursorPosition | ( | Font | font, |
| float | fontSize, | ||
| float | scale ) |
|
virtual |
Reimplemented from TaleWorlds.TwoDimension.RichText.
| void TaleWorlds.TwoDimension.EditableText.SelectAll | ( | ) |
| int TaleWorlds.TwoDimension.EditableText.FindNextWordPosition | ( | int | direction | ) |
| void TaleWorlds.TwoDimension.EditableText.SetCursor | ( | int | position, |
| bool | visible = true, | ||
| bool | withSelection = false ) |
|
get |
|
getset |
|
getset |
|
get |
|
get |
|
getset |
|
getset |