|
My Project v1
Project
|


Public 成员函数 | |
| LegacyTextBoxWidget () | |
| override void | Update () |
| void | MoveNext (WidgetsList widgets) |
| override void | MeasureOverride (Vector2 parentAvailableSize) |
| override void | Draw (DrawContext dc) |
| void | EnterText (string s) |
Public 成员函数 继承自 Game.Widget | |
| Widget () | |
| void | LoadContents (object eventsTarget, XElement node) |
| void | LoadProperties (object eventsTarget, XElement node) |
| void | LoadChildren (object eventsTarget, XElement node) |
| bool | IsChildWidgetOf (ContainerWidget containerWidget) |
| virtual void | ChangeParent (ContainerWidget parentWidget) |
| void | Measure (Vector2 parentAvailableSize) |
| void | Arrange (Vector2 position, Vector2 parentActualSize) |
| virtual void | ArrangeOverride () |
| virtual void | UpdateCeases () |
| virtual void | Overdraw (DrawContext dc) |
| virtual bool | HitTest (Vector2 point) |
| Widget | HitTestGlobal (Vector2 point, Func< Widget, bool > predicate=null) |
| Vector2 | ScreenToWidget (Vector2 p) |
| Vector2 | WidgetToScreen (Vector2 p) |
| virtual void | Dispose () |
| BoundingRectangle | TransformBoundsToParent (Vector2 size) |
| BoundingRectangle | TransformBoundsToGlobal (Vector2 size) |
Public 属性 | |
| BitmapFont | m_font |
| string | m_text = string.Empty |
| int | m_maximumLength = 512 |
| bool | m_hasFocus |
| int | m_caretPosition |
| double | m_focusStartTime |
| float | m_scroll |
| Vector2? | m_size |
| bool | MoveNextFlag |
| bool | JustOpened |
Public 属性 继承自 Game.Widget | |
| Action< Vector2 > | MeasureOverride1 |
| Action | Update1 |
| bool | m_isVisible |
| bool | m_isEnabled |
| Vector2 | m_actualSize |
| Vector2 | m_desiredSize |
| Vector2 | m_parentDesiredSize |
| BoundingRectangle | m_globalBounds |
| Vector2 | m_parentOffset |
| bool | m_isLayoutTransformIdentity = true |
| bool | m_isRenderTransformIdentity = true |
| Matrix | m_layoutTransform = Matrix.Identity |
| Matrix | m_renderTransform = Matrix.Identity |
| Matrix | m_globalTransform = Matrix.Identity |
| Matrix? | m_invertedGlobalTransform |
| float? | m_globalScale |
| Color | m_colorTransform = Color.White |
| Color | m_globalColorTransform |
| WidgetInput | m_widgetsHierarchyInput |
属性 | |
| Vector2 | Size [get, set] |
| string | Title [get, set] |
| string | Description [get, set] |
| string | Text [get, set] |
| int | MaximumLength [get, set] |
| bool | OverwriteMode [get, set] |
| bool | HasFocus [get, set] |
| BitmapFont | Font [get, set] |
| float | FontScale [get, set] |
| Vector2 | FontSpacing [get, set] |
| Color | Color [get, set] |
| bool | TextureLinearFilter [get, set] |
| int | CaretPosition [get, set] |
属性 继承自 Game.Widget | |
| WidgetInput | WidgetsHierarchyInput [get, set] |
| WidgetInput | Input [get] |
| Matrix | LayoutTransform [get, set] |
| Matrix | RenderTransform [get, set] |
| Matrix | GlobalTransform [get] |
| float | GlobalScale [get] |
| Matrix | InvertedGlobalTransform [get] |
| BoundingRectangle | GlobalBounds [get] |
| Color | ColorTransform [get, set] |
| Color | GlobalColorTransform [get] |
| virtual string | Name [get, set] |
| object | Tag [get, set] |
| virtual bool | IsVisible [get, set] |
| virtual bool | IsEnabled [get, set] |
| virtual bool | IsHitTestVisible [get, set] |
| bool | IsVisibleGlobal [get] |
| bool | IsEnabledGlobal [get] |
| bool | ClampToBounds [get, set] |
| virtual Vector2 | Margin [get, set] |
| virtual WidgetAlignment | HorizontalAlignment [get, set] |
| virtual WidgetAlignment | VerticalAlignment [get, set] |
| Vector2 | ActualSize [get] |
| Vector2 | DesiredSize [get, set] |
| Vector2 | ParentDesiredSize [get] |
| bool | IsUpdateEnabled = true [get, set] |
| bool | IsDrawEnabled = true [get, set] |
| bool | IsDrawRequired [get, set] |
| bool | IsOverdrawRequired [get, set] |
| XElement | Style [set] |
| ContainerWidget | ParentWidget [get, set] |
| Widget | RootWidget [get] |
事件 | |
| Action< LegacyTextBoxWidget > | TextChanged |
| Action< LegacyTextBoxWidget > | Enter |
| Action< LegacyTextBoxWidget > | Escape |
| Action< LegacyTextBoxWidget > | FocusLost |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 Game.Widget | |
| static Widget | LoadWidget (object eventsTarget, XElement node, ContainerWidget parentWidget) |
| static bool | TestOverlap (Widget w1, Widget w2) |
| static bool | IsNodeIncludedOnCurrentPlatform (XElement node) |
| static void | UpdateWidgetsHierarchy (Widget rootWidget) |
| static void | LayoutWidgetsHierarchy (Widget rootWidget, Vector2 availableSize) |
| static void | DrawWidgetsHierarchy (Widget rootWidget) |
| static Type | FindTypeFromXmlName (string name, string namespaceName) |
| static Widget | HitTestGlobal (Widget widget, Vector2 point, Func< Widget, bool > predicate) |
| static void | UpdateWidgetsHierarchy (Widget widget, ref bool isMouseCursorVisible) |
静态 Public 属性 继承自 Game.Widget | |
| static Queue< DrawContext > | m_drawContextsCache = new() |
| static int | LayersLimit = -1 |
| static bool | DrawWidgetBounds = false |
| Game.LegacyTextBoxWidget.LegacyTextBoxWidget | ( | ) |

|
virtual |
重载 Game.Widget .
| void Game.LegacyTextBoxWidget.EnterText | ( | string | s | ) |

|
virtual |
重载 Game.Widget .
| void Game.LegacyTextBoxWidget.MoveNext | ( | WidgetsList | widgets | ) |


|
virtual |
| bool Game.LegacyTextBoxWidget.JustOpened |
| int Game.LegacyTextBoxWidget.m_caretPosition |
| double Game.LegacyTextBoxWidget.m_focusStartTime |
| BitmapFont Game.LegacyTextBoxWidget.m_font |
| bool Game.LegacyTextBoxWidget.m_hasFocus |
| int Game.LegacyTextBoxWidget.m_maximumLength = 512 |
| float Game.LegacyTextBoxWidget.m_scroll |
| Vector2? Game.LegacyTextBoxWidget.m_size |
| string Game.LegacyTextBoxWidget.m_text = string.Empty |
| bool Game.LegacyTextBoxWidget.MoveNextFlag |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
| Action<LegacyTextBoxWidget> Game.LegacyTextBoxWidget.Enter |
| Action<LegacyTextBoxWidget> Game.LegacyTextBoxWidget.Escape |
| Action<LegacyTextBoxWidget> Game.LegacyTextBoxWidget.FocusLost |
| Action<LegacyTextBoxWidget> Game.LegacyTextBoxWidget.TextChanged |