|
| void | Init (IKernel *pKernel) |
| |
| IClient * | Client () const |
| |
| IGraphics * | Graphics () const |
| |
| IInput * | Input () const |
| |
| ITextRender * | TextRender () const |
| |
| | CUi () |
| |
| | ~CUi () |
| |
| void | ResetUIElement (CUIElement &UIElement) const |
| |
| CUIElement * | GetNewUIElement (int RequestedRectCount) |
| |
| void | AddUIElement (CUIElement *pElement) |
| |
| void | OnElementsReset () |
| |
| void | OnWindowResize () |
| |
| void | OnCursorMove (float X, float Y) |
| |
| void | SetEnabled (bool Enabled) |
| |
| bool | Enabled () const |
| |
| void | Update (vec2 MouseWorldPos=vec2(-1.0f, -1.0f)) |
| |
| void | DebugRender (float X, float Y) |
| |
| vec2 | MousePos () const |
| |
| float | MouseX () const |
| |
| float | MouseY () const |
| |
| vec2 | MouseDelta () const |
| |
| float | MouseDeltaX () const |
| |
| float | MouseDeltaY () const |
| |
| vec2 | MouseWorldPos () const |
| |
| float | MouseWorldX () const |
| |
| float | MouseWorldY () const |
| |
| vec2 | UpdatedMousePos () const |
| |
| vec2 | UpdatedMouseDelta () const |
| |
| int | MouseButton (int Index) const |
| |
| int | MouseButtonClicked (int Index) const |
| |
| bool | CheckMouseLock () |
| |
| void | EnableMouseLock (const void *pId) |
| |
| void | DisableMouseLock () |
| |
| void | SetHotItem (const void *pId) |
| |
| void | SetActiveItem (const void *pId) |
| |
| bool | CheckActiveItem (const void *pId) |
| |
| void | SetHotScrollRegion (CScrollRegion *pId) |
| |
| const void * | HotItem () const |
| |
| const void * | NextHotItem () const |
| |
| const void * | ActiveItem () const |
| |
| const CScrollRegion * | HotScrollRegion () const |
| |
| void | StartCheck () |
| |
| void | FinishCheck () |
| |
| bool | MouseInside (const CUIRect *pRect) const |
| |
| bool | MouseInsideClip () const |
| |
| bool | MouseHovered (const CUIRect *pRect) const |
| |
| void | ConvertMouseMove (float *pX, float *pY, IInput::ECursorType CursorType) const |
| |
| void | UpdateTouchState (CTouchState &State) const |
| |
| void | ResetMouseSlow () |
| |
| bool | ConsumeHotkey (EHotkey Hotkey) |
| |
| void | ClearHotkeys () |
| |
| bool | OnInput (const IInput::CEvent &Event) |
| |
| constexpr float | ButtonColorMulActive () const |
| |
| constexpr float | ButtonColorMulHot () const |
| |
| constexpr float | ButtonColorMulDefault () const |
| |
| float | ButtonColorMul (const void *pId) |
| |
| const CUIRect * | Screen () |
| |
| void | MapScreen () |
| |
| float | PixelSize () |
| |
| void | ClipEnable (const CUIRect *pRect) |
| |
| void | ClipDisable () |
| |
| const CUIRect * | ClipArea () const |
| |
| bool | IsClipped () const |
| |
| int | DoButtonLogic (const void *pId, int Checked, const CUIRect *pRect, unsigned Flags) |
| |
| int | DoDraggableButtonLogic (const void *pId, int Checked, const CUIRect *pRect, bool *pClicked, bool *pAbrupted) |
| |
| bool | DoDoubleClickLogic (const void *pId) |
| |
| EEditState | DoPickerLogic (const void *pId, const CUIRect *pRect, float *pX, float *pY) |
| |
| void | DoSmoothScrollLogic (float *pScrollOffset, float *pScrollOffsetChange, float ViewPortSize, float TotalSize, bool SmoothClamp=false, float ScrollSpeed=10.0f) const |
| |
| void | DoLabel (const CUIRect *pRect, const char *pText, float Size, int Align, const SLabelProperties &LabelProps={}) const |
| |
| void | DoLabel_AutoLineSize (const char *pText, float FontSize, int Align, CUIRect *pRect, float LineSize, const SLabelProperties &LabelProps={}) const |
| |
| void | DoLabel (CUIElement::SUIElementRect &RectEl, const CUIRect *pRect, const char *pText, float Size, int Align, const SLabelProperties &LabelProps={}, int StrLen=-1, const CTextCursor *pReadCursor=nullptr) const |
| |
| void | DoLabelStreamed (CUIElement::SUIElementRect &RectEl, const CUIRect *pRect, const char *pText, float Size, int Align, const SLabelProperties &LabelProps={}, int StrLen=-1, const CTextCursor *pReadCursor=nullptr) const |
| |
| bool | DoEditBox (CLineInput *pLineInput, const CUIRect *pRect, float FontSize, int Corners=IGraphics::CORNER_ALL, const std::vector< STextColorSplit > &vColorSplits={}) |
| |
| bool | DoClearableEditBox (CLineInput *pLineInput, const CUIRect *pRect, float FontSize, int Corners=IGraphics::CORNER_ALL, const std::vector< STextColorSplit > &vColorSplits={}) |
| |
| bool | DoEditBox_Search (CLineInput *pLineInput, const CUIRect *pRect, float FontSize, bool HotkeyEnabled) |
| |
| int | DoButton_Menu (CUIElement &UIElement, const CButtonContainer *pId, const std::function< const char *()> &GetTextLambda, const CUIRect *pRect, const SMenuButtonProperties &Props={}) |
| |
| int | DoButton_FontIcon (CButtonContainer *pButtonContainer, const char *pText, int Checked, const CUIRect *pRect, unsigned Flags, int Corners=IGraphics::CORNER_ALL, bool Enabled=true) |
| |
| int | DoButton_PopupMenu (CButtonContainer *pButtonContainer, const char *pText, const CUIRect *pRect, float Size, int Align, float Padding=0.0f, bool TransparentInactive=false, bool Enabled=true) |
| |
| SEditResult< int64_t > | DoValueSelectorWithState (const void *pId, const CUIRect *pRect, const char *pLabel, int64_t Current, int64_t Min, int64_t Max, const SValueSelectorProperties &Props={}) |
| |
| int64_t | DoValueSelector (const void *pId, const CUIRect *pRect, const char *pLabel, int64_t Current, int64_t Min, int64_t Max, const SValueSelectorProperties &Props={}) |
| |
| float | DoScrollbarV (const void *pId, const CUIRect *pRect, float Current) |
| |
| float | DoScrollbarH (const void *pId, const CUIRect *pRect, float Current, const ColorRGBA *pColorInner=nullptr) |
| |
| bool | DoScrollbarOption (const void *pId, int *pOption, const CUIRect *pRect, const char *pStr, int Min, int Max, const IScrollbarScale *pScale=&ms_LinearScrollbarScale, unsigned Flags=0u, const char *pSuffix="") |
| |
| void | RenderProgressBar (CUIRect ProgressBar, float Progress) |
| |
| void | RenderProgressSpinner (vec2 Center, float OuterRadius, const SProgressSpinnerProperties &Props={}) const |
| |
| void | DoPopupMenu (const SPopupMenuId *pId, float X, float Y, float Width, float Height, void *pContext, FPopupMenuFunction pfnFunc, const SPopupMenuProperties &Props={}) |
| |
| void | RenderPopupMenus () |
| |
| void | ClosePopupMenu (const SPopupMenuId *pId, bool IncludeDescendants=false) |
| |
| void | ClosePopupMenus () |
| |
| bool | IsPopupOpen () const |
| |
| bool | IsPopupOpen (const SPopupMenuId *pId) const |
| |
| bool | IsPopupHovered () const |
| |
| void | SetPopupMenuClosedCallback (FPopupMenuClosedCallback pfnCallback) |
| |
| void | ShowPopupMessage (float X, float Y, SMessagePopupContext *pContext) |
| |
| void | ShowPopupConfirm (float X, float Y, SConfirmPopupContext *pContext) |
| |
| void | ShowPopupSelection (float X, float Y, SSelectionPopupContext *pContext) |
| |
| void | ShowPopupColorPicker (float X, float Y, SColorPickerPopupContext *pContext) |
| |
| int | DoDropDown (CUIRect *pRect, int CurSelection, const char **pStrs, int Num, SDropDownState &State) |
| |