uicore.UIElement
uicore.UIElement
Fields
| Name | Type | |
|---|---|---|
root | h2d.Object | |
parent | uicore.UIElement | |
children | hl.types.ArrayObj | |
selected | Bool | |
canHaveMouseInputs | Bool | |
interactiveComponent | uicore.InteractiveComponent | |
highlighter | uicore.HighlighterComponent | |
tw | libs.misc.Tweenie |
Protos
f@5673initRoot(uicore.UIElement) → Voidf@5674initHighlighter(uicore.UIElement) → Voidf@5675initInteractive(uicore.UIElement) → Voidf@5676addChild(uicore.UIElement, uicore.UIElement) → Voidf@5677removeChild(uicore.UIElement, uicore.UIElement) → Voidf@5678addChildRoot(uicore.UIElement, uicore.UIElement) → Voidf@5679removeChildRoot(uicore.UIElement, uicore.UIElement) → Voidf@5680update(uicore.UIElement, F64) → Voidf@5681_canBeSelected(uicore.UIElement) → Boolf@5682canBeSelected(uicore.UIElement) → Boolf@5683trySelectChildren(uicore.UIElement, uicore.SelectionMode) → Boolf@5684select(uicore.UIElement, uicore.SelectionMode) → Boolf@5685unselect(uicore.UIElement) → Boolf@5686onSelect(uicore.UIElement, uicore.SelectionMode) → Voidf@5687onUnselect(uicore.UIElement) → Voidf@5688requestSelectionFromMouse(uicore.UIElement, uicore.UIElement) → Boolf@5689selectFromMouse(uicore.UIElement, Bool) → Boolf@5690onChildSelected(uicore.UIElement, uicore.UIElement, uicore.SelectionMode) → Voidf@5691getSelectedChildRecursive(uicore.UIElement) → uicore.UIElementf@5692getScaledWidth(uicore.UIElement) → F64f@5693getScaledHeight(uicore.UIElement) → F64f@5694getMaxChildrenScaledWidth(uicore.UIElement) → F64f@5695getMaxChildrenScaledHeight(uicore.UIElement) → F64f@5696getRelativePos(uicore.UIElement, uicore.UIElement) → h2d.col.Pointf@5697resizeChildren(uicore.UIElement) → Voidf@5698resizeHighlighter(uicore.UIElement) → Voidf@5699resizeInteractive(uicore.UIElement) → Voidf@5700resize(uicore.UIElement) → Voidf@5701getMouseInteractiveBounds(uicore.UIElement) → h2d.col.Boundsf@5702bindDefaultActions(uicore.UIElement) → Voidf@5703registerActionCb(uicore.UIElement, I32, Fun) → Voidf@5704registerUnhandledActionCb(uicore.UIElement, I32, Fun, Bool) → Voidf@5705handleAction(uicore.UIElement, I32, Virtual[handled, mouse, pressed]) → Voidf@5706handleKeyAction(uicore.UIElement, I32, Virtual[handled, mouse, pressed]) → Voidf@5707handleMouseAction(uicore.UIElement, I32, Virtual[handled, mouse, pressed]) → Void
Bindings
- static
f@5708__constructor__(uicore.UIElement, uicore.UIElement) → Void