Add icons to the production tooltip.

This commit is contained in:
Paul Chote
2014-07-17 19:20:59 +12:00
parent 7c9223caea
commit f9fcded77c
10 changed files with 106 additions and 25 deletions

View File

@@ -429,6 +429,9 @@ strategic: strategic.png
sidebar-bits: chrome.png
indicator-left: 416,48,16,8
indicator-right: 416,56,16,8
production-tooltip-time: 432, 80, 16, 16
production-tooltip-power: 448, 80, 16, 16
production-tooltip-cost: 464, 80, 16, 16
production-icons: chrome.png
building: 384,0,16,16

View File

@@ -73,21 +73,33 @@ Background@PRODUCTION_TOOLTIP:
Height: 23
Font: TinyBold
VAlign: Top
Image@COST_ICON:
Y: 5
Width: 16
ImageCollection: sidebar-bits
ImageName: production-tooltip-cost
Label@COST:
Height: 23
Font: Bold
Image@TIME_ICON:
X: 3
Y: 24
Width: 16
ImageCollection: sidebar-bits
ImageName: production-tooltip-time
Label@TIME:
Y: 19
Height: 23
Font: Bold
Image@POWER_ICON:
Y: 44
Width: 16
ImageCollection: sidebar-bits
ImageName: production-tooltip-power
Label@POWER:
Y: 39
Height: 23
Font: Bold
Label@TIME:
Y: 39
Height: 23
Font: Bold
Background@SUPPORT_POWER_TOOLTIP:
Logic: SupportPowerTooltipLogic

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

View File

@@ -2,7 +2,6 @@ sidebar-allies: chrome.png
background-top: 0,167,238,290
background-iconrow: 0,457,238,47
background-bottom: 0,504,238,8
background-iconoverlay: 314,118,238,48
background-supportoverlay: 184,118,64,48
sidebar-button-allies: chrome.png
@@ -26,7 +25,6 @@ sidebar-soviet: chrome.png
background-top: 274,167,238,290
background-iconrow: 274,457,238,47
background-bottom: 274,504,238,8
background-iconoverlay: 314,118,238,48
background-supportoverlay: 249,118,64,48
sidebar-button-soviet: chrome.png
@@ -46,6 +44,12 @@ sidebar-button-soviet-disabled: chrome.png
sidebar-button-soviet-highlighted-disabled: chrome.png
background: 112,0,28,28
sidebar-bits: chrome.png
production-tooltip-time: 416, 80, 16, 16
production-tooltip-power: 432, 80, 16, 16
production-tooltip-cost: 448, 80, 16, 16
production-iconoverlay: 314,118,238,48
production-icons: chrome.png
building: 384,0,16,16
building-disabled: 384,16,16,16

View File

@@ -243,8 +243,8 @@ Container@PLAYER_WIDGETS:
Width: 238
Height: 47
IgnoreMouseOver: true
ImageCollection: sidebar-soviet
ImageName: background-iconoverlay
ImageCollection: sidebar-bits
ImageName: production-iconoverlay
Container@PRODUCTION_TYPES:
X: 7
Y: 2

View File

@@ -137,21 +137,33 @@ Background@PRODUCTION_TOOLTIP:
Height: 23
Font: TinyBold
VAlign: Top
Image@COST_ICON:
Y: 5
Width: 16
ImageCollection: sidebar-bits
ImageName: production-tooltip-cost
Label@COST:
Height: 23
Font: Bold
Image@TIME_ICON:
X: 3
Y: 26
Width: 16
ImageCollection: sidebar-bits
ImageName: production-tooltip-time
Label@TIME:
Y: 21
Height: 23
Font: Bold
Image@POWER_ICON:
Y: 46
Width: 16
ImageCollection: sidebar-bits
ImageName: production-tooltip-power
Label@POWER:
Y: 41
Height: 23
Font: Bold
Label@TIME:
Y: 41
Height: 23
Font: Bold
Background@SUPPORT_POWER_TOOLTIP:
Logic: SupportPowerTooltipLogic

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 107 KiB