Project

General

Profile

« Previous | Next » 

Revision b2a92941

Added by Leszek Koltunski almost 3 years ago

Again abandon RubikControl (after bumping into hard-to-solve issues)

View differences:

src/main/java/org/distorted/screens/RubikScreenPlay.java
57 57

  
58 58
  private static final int[] BUTTON_LABELS = { R.string.scores,
59 59
                                               R.string.patterns,
60
                                               R.string.control,
60
                                            //   R.string.control,
61 61
                                               R.string.solver,
62 62
                                               R.string.tutorials,
63 63
                                               R.string.about };
......
377 377
              pDiag.setArguments(pBundle);
378 378
              pDiag.show( act.getSupportFragmentManager(), RubikDialogPattern.getDialogTag() );
379 379
              break;
380
/*
380 381
      case 2: RubikControl control = RubikControl.getInstance();
381 382
              //control.animateAll(act);
382 383
              control.animateRotate(act);
383 384
              break;
384
      case 3: ScreenList.switchScreen(act, ScreenList.SVER);
385
 */
386
      case 2: ScreenList.switchScreen(act, ScreenList.SVER);
385 387
              break;
386
      case 4: RubikDialogTutorial tDiag = new RubikDialogTutorial();
388
      case 3: RubikDialogTutorial tDiag = new RubikDialogTutorial();
387 389
              Bundle tBundle = new Bundle();
388 390
              int tOrd = getTutorialOrdinal();
389 391
              tBundle.putInt("tab", tOrd );
390 392
              tDiag.setArguments(tBundle);
391 393
              tDiag.show( act.getSupportFragmentManager(), RubikDialogTutorial.getDialogTag() );
392 394
              break;
393
      case 5: RubikDialogAbout aDiag = new RubikDialogAbout();
395
      case 4: RubikDialogAbout aDiag = new RubikDialogAbout();
394 396
              aDiag.show(act.getSupportFragmentManager(), null);
395 397
              break;
396 398
      }

Also available in: Unified diff