v1.2.0: added a rotated display icon for landscape
This commit is contained in:
parent
c354dd3004
commit
e9f618c5a8
Binary file not shown.
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
@ -135,7 +135,11 @@ public enum Icons {
|
||||||
icon.frame( icon.texture.uvRect( 16, 16, 27, 27 ) );
|
icon.frame( icon.texture.uvRect( 16, 16, 27, 27 ) );
|
||||||
break;
|
break;
|
||||||
case DISPLAY:
|
case DISPLAY:
|
||||||
|
if (PixelScene.landscape()){
|
||||||
|
icon.frame( icon.texture.uvRect( 80, 48, 96, 61 ) );
|
||||||
|
} else {
|
||||||
icon.frame( icon.texture.uvRect( 32, 16, 45, 32 ) );
|
icon.frame( icon.texture.uvRect( 32, 16, 45, 32 ) );
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case DATA:
|
case DATA:
|
||||||
icon.frame( icon.texture.uvRect( 48, 16, 64, 31 ) );
|
icon.frame( icon.texture.uvRect( 48, 16, 64, 31 ) );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user