MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / SF_Center

Function SF_Center

TombEngine/Renderer/RendererDrawMenu.cpp:70–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 // Helper functions to construct string flags
69 inline int SF(bool selected = false) { return (int)PrintStringFlags::Outline | (selected ? (int)PrintStringFlags::Blink : 0); }
70 inline int SF_Center(bool selected = false) { return (int)PrintStringFlags::Outline | (int)PrintStringFlags::Center | (selected ? (int)PrintStringFlags::Blink : 0); }
71
72 // Helper functions to get specific generic strings
73 inline const std::string Str_Enabled(bool enabled = false) { return g_GameFlow->GetString(enabled ? STRING_ENABLED : STRING_DISABLED); }

Callers 6

RenderOptionsMenuMethod · 0.85
RenderTitleMenuMethod · 0.85
RenderPauseMenuMethod · 0.85
RenderLoadSaveMenuMethod · 0.85
DrawStatisticsMethod · 0.85
DrawExaminesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected