class

MUIStatics

Module
MiriGraphics
Header
#include "MiriGraphics/Statics/MUIStatics.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Public functions

ReturnsNameDescription
voidSetWidgetText
voidSetWidgetVisible
voidSetProgress
voidPlayWidgetAnim
voidStopWidgetAnim
int32_tPushScreen
boolPopScreen
voidSetBindingValue
voidSetBindingNumber
int32_tPushScreenOnLayerLayered screens, addressed by handle: two copies of one asset hold separate state.
int32_tPopLayer
boolPopScreenHandle
boolSetWidgetTextOnScreen
boolSetScreenFieldText
boolSetScreenFieldNumber
voidSetViewModelText
voidSetViewModelNumber
voidSetCollectionFieldCollections a ListView's items_source binds to.
boolRemoveCollectionItem
voidClearCollection
int32_tGetCollectionCount
std::stringGetCollectionSelection
boolSetVideoSourceVideoPlayer nodes, addressed like every other widget.
boolPlayVideo
boolPauseVideo
boolStopVideo
boolSeekVideo
boolSetVideoLooping
boolSetVideoVolume
boolIsVideoPlaying
floatGetVideoTime
floatGetVideoDuration
voidSetActiveStack
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