class

FMiriGraphicsGlyphTable

What a prompt shows for a pad button on each controller family. Labels are the text fallback; IconPath names the glyph image a project ships, which the factory loads through its image cache like any other UI image.

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

Public functions

ReturnsNameDescription
const char*FamilyName
EMiriGraphicsGlyphFamilyFamilyFromName
EMiriGraphicsGlyphFamilyFamilyFromDeviceNameSDL's gamepad type strings and vendor names both end up here.
std::stringPadLabel
std::stringKeyboardLabel
std::stringIconPath
std::stringArtPath
voidSetActionGlyphHook
voidSetActionGlyphRevisionSource
uint32_tGetRevision
voidBumpRevision
FMiriGraphicsGlyphResolveActionGlyph
std::stringPromptForThe prompt for one action on the active device: "A" on an Xbox pad, "Enter" on the keyboard.
std::stringActionBarText"A Select B Back" for the actions the top screen offers.
std::stringActionVerb
voidSetActiveFamily
EMiriGraphicsGlyphFamilyGetActiveFamily
voidEnsureBindingSourceRegisters the "prompt." binding source: prompt.<Action> and prompt.bar.
boolResolveSource
boolResolveForStackThe same sources answered for one stack's own router and input device, so two players' prompts differ.
EMiriGraphicsGlyphFamilyFamilyFromInputDevice
voidRegisterWidgetTypesRegisters KeyPrompt and ActionBar with the widget-type registry.

Function details

FamilyName

C++
static const char* FamilyName(EMiriGraphicsGlyphFamily family)

FamilyFromName

C++
static EMiriGraphicsGlyphFamily FamilyFromName(const std::string& name)

FamilyFromDeviceName

C++
static EMiriGraphicsGlyphFamily FamilyFromDeviceName(const std::string& deviceName)

SDL's gamepad type strings and vendor names both end up here.

PadLabel

C++
static std::string PadLabel(EMiriGraphicsGlyphFamily family, EMiriGraphicsPadButton button)

KeyboardLabel

C++
static std::string KeyboardLabel(EMiriGraphicsAction action)

IconPath

C++
static std::string IconPath(EMiriGraphicsGlyphFamily family, EMiriGraphicsPadButton button)

ArtPath

C++
static std::string ArtPath(EMiriGraphicsGlyphFamily family, const std::string& label)

SetActionGlyphHook

C++
static void SetActionGlyphHook(FMiriGraphicsActionGlyphHook hook)

SetActionGlyphRevisionSource

C++
static void SetActionGlyphRevisionSource(std::function<uint32_t()> source)

GetRevision

C++
static uint32_t GetRevision()

BumpRevision

C++
static void BumpRevision()

ResolveActionGlyph

C++
static FMiriGraphicsGlyph ResolveActionGlyph(const CMiriGraphicsScreenStack& stack, const std::string& action)

PromptFor

C++
static std::string PromptFor(const FMiriGraphicsInputRouter& router, EMiriGraphicsAction action, EMiriGraphicsGlyphFamily family, bool gamepadActive)

The prompt for one action on the active device: "A" on an Xbox pad, "Enter" on the keyboard. Empty when the action has no binding there.

ActionBarText

C++
static std::string ActionBarText(const FMiriGraphicsInputRouter& router, const std::vector<EMiriGraphicsAction>& actions, EMiriGraphicsGlyphFamily family, bool gamepadActive)

"A Select B Back" for the actions the top screen offers.

ActionVerb

C++
static std::string ActionVerb(EMiriGraphicsAction action)

SetActiveFamily

C++
static void SetActiveFamily(EMiriGraphicsGlyphFamily family)

GetActiveFamily

C++
static EMiriGraphicsGlyphFamily GetActiveFamily()

EnsureBindingSource

C++
static void EnsureBindingSource()

Registers the "prompt." binding source: prompt.<Action> and prompt.bar.

ResolveSource

C++
static bool ResolveSource(const std::string& source, FMiriGraphicsBindingValue& outValue)

ResolveForStack

C++
static bool ResolveForStack(const CMiriGraphicsScreenStack& stack, const std::string& source, FMiriGraphicsBindingValue& outValue)

The same sources answered for one stack's own router and input device, so two players' prompts differ. "prompt.bar:Accept,Back" lists the actions.

FamilyFromInputDevice

C++
static EMiriGraphicsGlyphFamily FamilyFromInputDevice(EInputDevice device)

RegisterWidgetTypes

C++
static void RegisterWidgetTypes()

Registers KeyPrompt and ActionBar with the widget-type registry.

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