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

Function rebootDrawBot

source/ui/reboot.c:48–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48void rebootDrawBot(void)
49{
50 drawingSetMode(DRAW_MODE_DRAWING);
51 drawingSetZ(0.4f);
52
53 drawingWithColor(0x80FFFFFF);
54 drawingDrawQuad(0.0f, 60.0f, 320.0f, 120.0f);
55 drawingSubmitPrim(GPU_TRIANGLE_STRIP, 4);
56
57 //textSetColor(0xFF767676);
58 textSetColor(0xFF545454);
59 textDraw(8.0f, 60.0f+8.0f, 0.6f, 0.6f, false, textGetString(launchHomeMenuEnabled() ? StrId_ReturnToHome : StrId_Reboot));
60}

Callers

nothing calls this directly

Calls 9

drawingSetModeFunction · 0.85
drawingSetZFunction · 0.85
drawingWithColorFunction · 0.85
drawingDrawQuadFunction · 0.85
drawingSubmitPrimFunction · 0.85
textSetColorFunction · 0.85
textDrawFunction · 0.85
textGetStringFunction · 0.85
launchHomeMenuEnabledFunction · 0.85

Tested by

no test coverage detected