Home
last modified time | relevance | path

Searched refs:menu_context (Results 1 – 1 of 1) sorted by relevance

/TwlSDK-5.4/build/demos/mb/multiboot-PowerSave/src/
Dmenu.c56 menu_context; variable
73 menu_context.cursor = 0; in MenuInit()
74 menu_context.loop = TRUE; in MenuInit()
99 if (++menu_context.cursor >= MENU_NUM) in MenuUpdate()
100 menu_context.cursor -= MENU_NUM; in MenuUpdate()
104 if (--menu_context.cursor < 0) in MenuUpdate()
105 menu_context.cursor += MENU_NUM; in MenuUpdate()
109 menu_context.loop = FALSE; in MenuUpdate()
112 switch (menu_context.cursor) in MenuUpdate()
141 BgPutChar(DISP_OX - 2, DISP_OY + menu_context.cursor, RED, '*'); in MenuDraw()
[all …]