1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-20 14:55:13 +03:00

Progress circle in all menus

This commit is contained in:
bsongis 2011-11-26 22:30:00 +00:00
parent ab5de66405
commit c38cb2e0ff
5 changed files with 9 additions and 9 deletions

View file

@ -185,7 +185,7 @@ bool check(uint8_t event, uint8_t curr, MenuFuncP *menuTab, uint8_t menuTabSize,
DisplayScreenIndex(curr, menuTabSize, attr);
}
theFile.DisplayProgressBar();
theFile.DisplayProgressBar(menuTab ? lcd_lastPos-2*FW-((curr+1)/10*FWNUM)-2 : 20*FW+1);
uint8_t maxcol = MAXCOL(m_posVert);
switch(event)