Project

General

Profile

« Previous | Next » 

Revision 567a1955

Added by Leszek Koltunski 11 months ago

progress with shape icons.

View differences:

src/main/java/org/distorted/objects/RubikObjectCategoriesShape.java
99 99
                               else if( axis==CATEGORY_AXIS_CORN>>3 ) return R.drawable.shape_hex_corn;
100 100
                               else if( axis==CATEGORY_AXIS_EDGE>>3 ) return R.drawable.shape_hex_edge;
101 101
                               else                                   return R.drawable.shape_hex_other;
102
      case CATEGORY_SHAPE_TET: return R.drawable.shape_tet;
103
      case CATEGORY_SHAPE_OCT: return R.drawable.shape_oct;
104
      case CATEGORY_SHAPE_DOD: return R.drawable.shape_dod;
105
      case CATEGORY_SHAPE_ICO: return R.drawable.shape_ico;
102 106
      case CATEGORY_SHAPE_BAL:
103
      case CATEGORY_SHAPE_TET:
104
      case CATEGORY_SHAPE_OCT:
105
      case CATEGORY_SHAPE_DOD:
106
      case CATEGORY_SHAPE_ICO:
107
      case CATEGORY_SHAPE_OTH: return R.drawable.shape_hex_other;
107
      case CATEGORY_SHAPE_OTH: return R.drawable.shape_oth;
108 108
      }
109 109

  
110 110
    android.util.Log.e("D", "getImage: unknown shape "+shape);

Also available in: Unified diff