Differences From Artifact [ac0c1161ab]:
- File edit.c — part of check-in [39715134ca] at 2018-10-31 23:35:01 on branch trunk — Implement more of the class/image select menu (user: user, size: 10192) [annotate] [blame] [check-ins using]
To Artifact [edf43e2b05]:
- File edit.c — part of check-in [2da745c85b] at 2019-02-10 18:10:47 on branch trunk — Allow left and right arrow keys in class select menu to select which image (user: user, size: 10549) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
263 264 265 266 267 268 269 270 271 272 273 274 275 276 |
continue;
}
}
}
++namei;
}
goto redraw;
default:
j=ev.key.keysym.unicode;
if(j=='$' || j==21) {
namei=0;
goto redraw;
}
if(j>32 && j<127 && namei<254) {
| > > > > > > > > > > > > | 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 |
continue;
}
}
}
++namei;
}
goto redraw;
case SDLK_LEFT:
for(i=0;i<imgcount-1;i++) if(img==imglist[i+1]) {
img=imglist[i];
goto redraw;
}
break;
case SDLK_RIGHT:
for(i=0;i<imgcount-1;i++) if(img==imglist[i]) {
img=imglist[i+1];
goto redraw;
}
break;
default:
j=ev.key.keysym.unicode;
if(j=='$' || j==21) {
namei=0;
goto redraw;
}
if(j>32 && j<127 && namei<254) {
|
| ︙ | ︙ |