Kill PowerBarWidget. Fixes #3446.

This commit is contained in:
Paul Chote
2013-07-04 22:02:02 +12:00
parent 6fa4e54022
commit f8313672ff
15 changed files with 221 additions and 236 deletions

View File

@@ -422,8 +422,8 @@ strategic: strategic.png
player_owned: 96,0,32,32
sidebar-bits: chrome.png
left-indicator: 320,40,11,8
right-indicator: 325,40,11,8
indicator-left: 400,48,16,8
indicator-right: 400,56,16,8
production-icons: chrome.png
building: 384,0,16,16

View File

@@ -165,6 +165,7 @@ Container@PLAYER_WIDGETS:
Width:PARENT_RIGHT-2
Height:PARENT_BOTTOM-2
TooltipContainer:TOOLTIP_CONTAINER
IndicatorImage:indicator-left
Background@SILOBAR_PANEL:
X:180
Y:5
@@ -178,6 +179,7 @@ Container@PLAYER_WIDGETS:
Width:PARENT_RIGHT-2
Height:PARENT_BOTTOM-2
TooltipContainer:TOOLTIP_CONTAINER
IndicatorImage:indicator-right
Label@CASH:
Y:170
Width:PARENT_RIGHT

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 74 KiB

View File

@@ -1,3 +1,14 @@
Background@SIMPLE_TOOLTIP:
Logic:SimpleTooltipLogic
Background:dialog3
Height:31
Children:
Label@LABEL:
X:5
Y:3
Height:23
Font:Bold
Background@SPAWN_TOOLTIP:
Logic:SpawnSelectorTooltipLogic
Background:dialog3

View File

@@ -51,6 +51,7 @@ Container@INGAME_ROOT:
Y:205
Width:170
Height:40
TooltipContainer@TOOLTIP_CONTAINER:
Container@PLAYER_WIDGETS:
Children:
@@ -95,7 +96,15 @@ Container@PLAYER_WIDGETS:
X:9
Width:192
Height:192
PowerBin@INGAME_POWER_BIN:
ResourceBar@POWERBAR:
X:42
Y:205
Width:138
Height:5
TooltipContainer:TOOLTIP_CONTAINER
IndicatorImage:power-indicator
Orientation:Horizontal
Style:Bevelled
MoneyBin@INGAME_MONEY_BIN:
X:WINDOW_RIGHT - WIDTH
Y:0

View File

@@ -1,3 +1,14 @@
Background@SIMPLE_TOOLTIP:
Logic:SimpleTooltipLogic
Background:dialog4
Height:29
Children:
Label@LABEL:
X:7
Y:2
Height:23
Font:Bold
Background@SPAWN_TOOLTIP:
Logic:SpawnSelectorTooltipLogic
Background:dialog4