[Horus] MODELSEL screen continued

This commit is contained in:
Bertrand Songis
2015-11-21 11:35:35 +01:00
parent 0db2013d24
commit 683f6e22e2
10 changed files with 76 additions and 41 deletions
+5
View File
@@ -231,6 +231,11 @@ bool navigate(evt_t event, int count, int rows, int columns)
int maxlastcol = count-maxrow*columns-1;
int maxcol = (m_posVert != maxrow ? columns-1 : maxlastcol);
if (m_posVert > maxrow) {
m_posVert = maxrow;
m_posHorz = maxlastcol;
}
switch (event) {
case EVT_KEY_FIRST(KEY_RIGHT):
case EVT_KEY_REPT(KEY_RIGHT):