| 37 | } |
| 38 | |
| 39 | void 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 | |
| 47 | int ScriptTile::uiFrame(const std::string& title, const std::string& note, u32 outline, float z) |
| 48 | { |
nothing calls this directly
no test coverage detected