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

Method card

3ds/source/ScriptTile.cpp:39–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void ScriptTile::card(int x, int y, int w, int h, u32 outline, float z)
40{
41 C2D_DrawRectSolid((float)x, (float)y, z, (float)w, (float)h, COLOR_CARD);
42 // drawOutline draws *around* the rect, so the ring sits in the margin the
43 // tile leaves against the screen edge rather than eating a content pixel.
44 Gui::drawOutline(x, y, w, h, 1, outline);
45}
46
47int ScriptTile::uiFrame(const std::string& title, const std::string& note, u32 outline, float z)
48{

Callers

nothing calls this directly

Calls 1

drawOutlineFunction · 0.85

Tested by

no test coverage detected