Project

General

Profile

« Previous | Next » 

Revision 8c93c0b1

Added by Leszek Koltunski about 3 years ago

'IconMode' finished.

View differences:

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

  
216 216
  private void setupObjectWindow(final RubikActivity act, final float width, final float height)
217 217
    {
218
    int icon = RubikActivity.getDrawable(R.drawable.small_cube2,R.drawable.medium_cube2, R.drawable.big_cube2, R.drawable.huge_cube2);
218
    int icon = RubikActivity.getDrawable(R.drawable.s_cube_2,R.drawable.m_cube_2, R.drawable.b_cube_2, R.drawable.h_cube_2);
219 219

  
220 220
    BitmapDrawable bd = (BitmapDrawable) act.getResources().getDrawable(icon);
221 221
    int cubeWidth = bd.getIntrinsicWidth();

Also available in: Unified diff