class
MUIStatics
- Module
- MiriGraphics
- Header
#include "MiriGraphics/Statics/MUIStatics.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Public functions
| Returns | Name | Description |
|---|---|---|
void | SetWidgetText | |
void | SetWidgetVisible | |
void | SetProgress | |
void | PlayWidgetAnim | |
void | StopWidgetAnim | |
int32_t | PushScreen | |
bool | PopScreen | |
void | SetBindingValue | |
void | SetBindingNumber | |
int32_t | PushScreenOnLayer | Layered screens, addressed by handle: two copies of one asset hold separate state. |
int32_t | PopLayer | |
bool | PopScreenHandle | |
bool | SetWidgetTextOnScreen | |
bool | SetScreenFieldText | |
bool | SetScreenFieldNumber | |
void | SetViewModelText | |
void | SetViewModelNumber | |
void | SetCollectionField | Collections a ListView's items_source binds to. |
bool | RemoveCollectionItem | |
void | ClearCollection | |
int32_t | GetCollectionCount | |
std::string | GetCollectionSelection | |
bool | SetVideoSource | VideoPlayer nodes, addressed like every other widget. |
bool | PlayVideo | |
bool | PauseVideo | |
bool | StopVideo | |
bool | SeekVideo | |
bool | SetVideoLooping | |
bool | SetVideoVolume | |
bool | IsVideoPlaying | |
float | GetVideoTime | |
float | GetVideoDuration | |
void | SetActiveStack | |
CMiriGraphicsScreenStack* | GetActiveStack |
Function details
SetWidgetText
C++
void SetWidgetText(const std::string& screen, const std::string& widget, const std::string& text)SetWidgetVisible
C++
void SetWidgetVisible(const std::string& screen, const std::string& widget, bool visible)SetProgress
C++
void SetProgress(const std::string& screen, const std::string& widget, float percent)PlayWidgetAnim
C++
void PlayWidgetAnim(const std::string& screen, const std::string& animation)StopWidgetAnim
C++
void StopWidgetAnim(const std::string& screen, const std::string& animation)PushScreen
C++
int32_t PushScreen(const std::string& assetPath)PopScreen
C++
bool PopScreen()SetBindingValue
C++
void SetBindingValue(const std::string& name, const std::string& value)SetBindingNumber
C++
void SetBindingNumber(const std::string& name, float value)PushScreenOnLayer
C++
int32_t PushScreenOnLayer(const std::string& assetPath, const std::string& layer)Layered screens, addressed by handle: two copies of one asset hold separate state. "self.<field>" bindings read the screen instance's own view model.
PopLayer
C++
int32_t PopLayer(const std::string& layer)PopScreenHandle
C++
bool PopScreenHandle(int32_t handle)SetWidgetTextOnScreen
C++
bool SetWidgetTextOnScreen(int32_t handle, const std::string& widget, const std::string& text)SetScreenFieldText
C++
bool SetScreenFieldText(int32_t handle, const std::string& field, const std::string& text)SetScreenFieldNumber
C++
bool SetScreenFieldNumber(int32_t handle, const std::string& field, float value)SetViewModelText
C++
void SetViewModelText(const std::string& model, const std::string& field, const std::string& text)SetViewModelNumber
C++
void SetViewModelNumber(const std::string& model, const std::string& field, float value)SetCollectionField
C++
void SetCollectionField(const std::string& collection, const std::string& key, const std::string& field, const std::string& value)Collections a ListView's items_source binds to. Keys identify rows so a refresh keeps the rows that did not change.
RemoveCollectionItem
C++
bool RemoveCollectionItem(const std::string& collection, const std::string& key)ClearCollection
C++
void ClearCollection(const std::string& collection)GetCollectionCount
C++
int32_t GetCollectionCount(const std::string& collection)GetCollectionSelection
C++
std::string GetCollectionSelection(const std::string& collection)SetVideoSource
C++
bool SetVideoSource(const std::string& screen, const std::string& widget, const std::string& mediaAsset)VideoPlayer nodes, addressed like every other widget. Each returns false when the name is not a video on a mounted screen.
PlayVideo
C++
bool PlayVideo(const std::string& screen, const std::string& widget)PauseVideo
C++
bool PauseVideo(const std::string& screen, const std::string& widget)StopVideo
C++
bool StopVideo(const std::string& screen, const std::string& widget)SeekVideo
C++
bool SeekVideo(const std::string& screen, const std::string& widget, float seconds)SetVideoLooping
C++
bool SetVideoLooping(const std::string& screen, const std::string& widget, bool loop)SetVideoVolume
C++
bool SetVideoVolume(const std::string& screen, const std::string& widget, float volume)IsVideoPlaying
C++
bool IsVideoPlaying(const std::string& screen, const std::string& widget)GetVideoTime
C++
float GetVideoTime(const std::string& screen, const std::string& widget)GetVideoDuration
C++
float GetVideoDuration(const std::string& screen, const std::string& widget)SetActiveStack
C++
static void SetActiveStack(CMiriGraphicsScreenStack* stack)GetActiveStack
C++
static CMiriGraphicsScreenStack* GetActiveStack()Generated from MiriGraphics/Statics/MUIStatics.h via mirigraphics.json · Dec 5, 2026Version 1.1.0