v2.5.0: added a proper icon for the catalog tab

This commit is contained in:
Evan Debenham
2024-06-17 16:44:43 -04:00
parent cba48b81c1
commit eb51e6dafe
3 changed files with 12 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -85,6 +85,7 @@ public enum Icons {
ENERGY,
COPY,
PASTE,
CATALOG,
COIN_SML,
ENERGY_SML,
BACKPACK,
@@ -279,26 +280,29 @@ public enum Icons {
case PASTE:
icon.frame( icon.texture.uvRectBySize( 240, 48, 13, 13 ) );
break;
case CATALOG:
icon.frame( icon.texture.uvRectBySize( 240, 64, 13, 16 ) );
break;
case COIN_SML:
icon.frame( icon.texture.uvRectBySize( 192, 64, 7, 7 ) );
icon.frame( icon.texture.uvRectBySize( 192, 80, 7, 7 ) );
break;
case ENERGY_SML:
icon.frame( icon.texture.uvRectBySize( 192, 72, 8, 7 ) );
icon.frame( icon.texture.uvRectBySize( 192, 88, 8, 7 ) );
break;
case BACKPACK:
icon.frame( icon.texture.uvRectBySize( 201, 64, 10, 10 ) );
icon.frame( icon.texture.uvRectBySize( 201, 80, 10, 10 ) );
break;
case SCROLL_HOLDER:
icon.frame( icon.texture.uvRectBySize( 211, 64, 10, 10 ) );
icon.frame( icon.texture.uvRectBySize( 211, 80, 10, 10 ) );
break;
case SEED_POUCH:
icon.frame( icon.texture.uvRectBySize( 221, 64, 10, 10 ) );
icon.frame( icon.texture.uvRectBySize( 221, 80, 10, 10 ) );
break;
case WAND_HOLSTER:
icon.frame( icon.texture.uvRectBySize( 231, 64, 10, 10 ) );
icon.frame( icon.texture.uvRectBySize( 231, 80, 10, 10 ) );
break;
case POTION_BANDOLIER:
icon.frame( icon.texture.uvRectBySize( 241, 64, 10, 10 ) );
icon.frame( icon.texture.uvRectBySize( 241, 80, 10, 10 ) );
break;
case TARGET:

View File

@@ -137,7 +137,7 @@ public class WndJournal extends WndTabbed {
if (value) last_index = 2;
}
},
new IconTab( Icons.RENAME_ON.get() ) { //TODO dedicated icon here?
new IconTab( Icons.CATALOG.get() ) {
protected void select( boolean value ) {
super.select( value );
catalogTab.active = catalogTab.visible = value;