Revision d4415163
Added by Leszek Koltunski about 4 years ago
| src/main/java/org/distorted/screens/RubikScreenPlay.java | ||
|---|---|---|
| 233 | 233 |
|
| 234 | 234 |
private void setupObjectWindow(final RubikActivity act, final float width, final float height) |
| 235 | 235 |
{
|
| 236 |
int icon = RubikActivity.getDrawable(R.drawable.s_cube_2,R.drawable.m_cube_2, R.drawable.b_cube_2, R.drawable.h_cube_2);
|
|
| 236 |
int icon = RubikActivity.getDrawable(R.drawable.cube_2s,R.drawable.cube_2m, R.drawable.cube_2b, R.drawable.cube_2h);
|
|
| 237 | 237 |
|
| 238 | 238 |
BitmapDrawable bd = (BitmapDrawable) act.getResources().getDrawable(icon); |
| 239 | 239 |
int cubeWidth = bd.getIntrinsicWidth(); |
Also available in: Unified diff
Standarize icon naming scheme.