MCPcopy Create free account
hub / github.com/devkitPro/3ds-hbmenu / errorDrawBot

Function errorDrawBot

source/ui/error.c:23–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23void errorDrawBot(void)
24{
25 drawingSetMode(DRAW_MODE_DRAWING);
26 drawingSetZ(0.4f);
27
28 drawingWithColor(0x80FFFFFF);
29 drawingDrawQuad(0.0f, 60.0f, 320.0f, 120.0f);
30 drawingSubmitPrim(GPU_TRIANGLE_STRIP, 4);
31
32 textSetColor(0xFF545454);
33 textDrawInBox(errorTitle, 0, 0.75f, 0.75f, 60.0f+25.0f, 8.0f, 320-8.0f);
34 textDraw(8.0f, 60.0f+25.0f+8.0f, 0.5f, 0.5f, false, errorStr);
35}

Callers

nothing calls this directly

Calls 8

drawingSetModeFunction · 0.85
drawingSetZFunction · 0.85
drawingWithColorFunction · 0.85
drawingDrawQuadFunction · 0.85
drawingSubmitPrimFunction · 0.85
textSetColorFunction · 0.85
textDrawInBoxFunction · 0.85
textDrawFunction · 0.85

Tested by

no test coverage detected