Esempio n. 1
0
 public void keyPressed(int key) {
   if (key == Def.SOFTKEY_LEFT || key == Def.SOFTKEY_LEFT) {
     if (Define.mainState != Define.STATE_MENU) {
       Define.mainState = Define.STATE_MENU;
     }
   } else {
     reader.keyPressed(key);
   }
 }
Esempio n. 2
0
 public void paint(Graphics g) {
   paintTheme(g);
   reader.paint(g);
   g.drawImage(leftbar, 2, Def.SYSTEM_SH, Def.BOTTOM_LEFT);
   g.drawImage(rightbar, Def.SYSTEM_SW - 2, Def.SYSTEM_SH, Def.BOTTOM_RIGHT);
 }
Esempio n. 3
0
 public void keyReleased(int key) {
   reader.keyReleased(key);
 }