Esempio n. 1
0
 public static void cancel()
 {
   for (Interface l : list)
   {
     l.actualx = l.bx;
     l.actualy = l.by;
     l.centered = l.bcentered;
     l.flipped = l.bflipped;
     l.fromRight = l.bfromRight;
   }
 }
Esempio n. 2
0
 public static void applyPreset(int id)
 {
   for (Interface l : list)
   {
     actionTimer = 10;
     l.actualx = ((Preset)presets.get(id)).coords[l.id][0];
     l.actualy = ((Preset)presets.get(id)).coords[l.id][1];
     l.centered = ((Preset)presets.get(id)).types[l.id][0];
     l.flipped = l.cflipped;
     l.fromRight = ((Preset)presets.get(id)).types[l.id][1];
   }
 }