class

FMiriGraphicsPropertyTable

Property setters keyed by Miri widget type name (MWidget::GetTypeName()). The "*" key holds the props every widget has.

Module
MiriGraphics
Header
#include "MiriGraphics/FMiriGraphicsPropertyTable.h"
Namespace
Mowo

Properties

TypeNameDescription
static constexpr const char*kAnyWidgetDefault "*".

Public functions

ReturnsNameDescription
FMiriGraphicsPropertyTable&Get
voidRegister
voidRegisterPrefix
const FMiriGraphicsPropDef*FindThe widget type's own entry first, then the "*" one.
boolHasPrefixMatch
std::vector<const FMiriGraphicsPropDef*>ListAnimatable
std::vector<std::string>ListPrefixes
boolResolveAnimated
boolApply
voidApplyNodePropsApplies every FromNode entry of the widget's type, reading each from the node with the parse rules its PropType implies.

Function details

Get

C++
static FMiriGraphicsPropertyTable& Get()

Register

C++
void Register(const std::string& widgetType, const FMiriGraphicsPropDef& def)

RegisterPrefix

C++
void RegisterPrefix(const std::string& widgetType, const std::string& prefix, FMiriGraphicsPropPrefixSetter setter)

Find

C++
const FMiriGraphicsPropDef* Find(const std::string& widgetType, const std::string& name) const

The widget type's own entry first, then the "*" one.

HasPrefixMatch

C++
bool HasPrefixMatch(const std::string& widgetType, const std::string& name) const

ListAnimatable

C++
std::vector<const FMiriGraphicsPropDef*> ListAnimatable(const std::string& widgetType) const

ListPrefixes

C++
std::vector<std::string> ListPrefixes(const std::string& widgetType) const

ResolveAnimated

C++
bool ResolveAnimated(const std::string& widgetType, const std::string& name, FMiriGraphicsResolvedProp& out) const

Apply

C++
bool Apply(Miri::MWidget& widget, const std::string& name, const FMiriGraphicsPropValue& value) const

ApplyNodeProps

C++
void ApplyNodeProps(const FMiriGraphicsNode& node, Miri::MWidget& widget) const

Applies every FromNode entry of the widget's type, reading each from the node with the parse rules its PropType implies.

Generated from MiriGraphics/FMiriGraphicsPropertyTable.h via mirigraphics.json · Dec 5, 2026Version 1.1.0