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

Function titleSelectDrawBot

source/ui/titleselect.c:116–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116void titleSelectDrawBot(void)
117{
118 drawingSetMode(DRAW_MODE_DRAWING);
119 drawingSetZ(0.4f);
120
121 drawingWithColor(0x80FFFFFF);
122 drawingDrawQuad(0.0f, 10.0f, 320.0f, 120.0f);
123 drawingSubmitPrim(GPU_TRIANGLE_STRIP, 4);
124
125 textSetColor(0xFF545454);
126 textDrawInBox(textGetString(StrId_TitleSelector), 0, 0.75f, 0.75f, 10.0f+25.0f, 8.0f, 320-8.0f);
127 textDraw(8.0f, 10.0f+25.0f+8.0f, 0.5f, 0.5f, false, textGetString(StrId_SelectTitle));
128
129 if (s_iconReady)
130 {
131 float x = (320.0f-g_imageData[images_appbubble_idx].width)/2+4;
132 menuDrawEntry(&s_iconEntry, x, 150.0f-4, true);
133 }
134}

Callers

nothing calls this directly

Calls 10

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

Tested by

no test coverage detected