MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / uiFrame

Method uiFrame

switch/source/ScriptTile.cpp:67–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67int ScriptTile::uiFrame(const std::string& title, const std::string& note)
68{
69 // The log stays on screen behind the card, dimmed: the answer a script is
70 // waiting for usually depends on what it just printed.
71 Gfx::DrawRect(0, 0, SCREEN_W, SCREEN_H, COLOR_SCRIM);
72 return frame(UI_X, UI_Y, UI_W, UI_H, title, note);
73}
74
75void ScriptTile::uiHints(const std::string& text)
76{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected