Project

General

Profile

« Previous | Next » 

Revision 42803ba0

Added by Leszek Koltunski almost 4 years ago

Introduce three sizes of UI images: small, medium, large.

View differences:

src/main/java/org/distorted/objects/RubikObjectList.java
35 35
  {
36 36
  CUBE (
37 37
         new int[][] {
38
                       {2 , 12, R.drawable.cube2, R.raw.cube2} ,
39
                       {3 , 16, R.drawable.cube3, R.raw.cube3} ,
40
                       {4 , 20, R.drawable.cube4, R.raw.cube4} ,
41
                       {5 , 24, R.drawable.cube5, R.raw.cube5}
38
                       {2 , 12, R.drawable.ui_small_cube2, R.raw.cube2} ,
39
                       {3 , 16, R.drawable.ui_small_cube3, R.raw.cube3} ,
40
                       {4 , 20, R.drawable.ui_small_cube4, R.raw.cube4} ,
41
                       {5 , 24, R.drawable.ui_small_cube5, R.raw.cube5}
42 42
                     },
43 43
         RubikCube.class,
44 44
         new RubikCubeMovement()
......
46 46

  
47 47
  PYRA (
48 48
         new int[][] {
49
                       {3 , 10, R.drawable.pyra3, R.raw.pyra3} ,
50
                       {4 , 15, R.drawable.pyra4, R.raw.pyra4} ,
51
                       {5 , 20, R.drawable.pyra5, R.raw.pyra5}
49
                       {3 , 10, R.drawable.ui_small_pyra3, R.raw.pyra3} ,
50
                       {4 , 15, R.drawable.ui_small_pyra4, R.raw.pyra4} ,
51
                       {5 , 20, R.drawable.ui_small_pyra5, R.raw.pyra5}
52 52
                     },
53 53
         RubikPyraminx.class,
54 54
         new RubikPyraminxMovement()

Also available in: Unified diff