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

Function menuGetEntryPos

source/ui/menu.c:92–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92static float menuGetEntryPos(menu_s* menu, int order)
93{
94 float ret = order*(4.0f+g_imageData[images_appbubble_idx].height);
95 if (order > menu->curEntry)
96 ret += 4.0f;
97 return ret;
98}
99
100static void menuUpdateAnimation(menu_s* menu, float maxScroll, float val)
101{

Callers 2

menuUpdateAnimationFunction · 0.85
menuUpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected