unhacking IChromeButton.

This commit is contained in:
alzeih
2010-07-20 22:05:23 +12:00
parent 846971836a
commit 795da1b088
14 changed files with 176 additions and 155 deletions

View File

@@ -77,6 +77,27 @@ Container@ROOT:
Width:320
Height: 32
SplitOreAndCash: yes
Children:
OrderButton@SELL:
Id:SELL
Delegate:OrderButtonsChromeDelegate
X:39
Y:0
Width:30
Height:30
Image:sell
Description:Sell
LongDesc:Sell buildings, reclaiming a \nproportion of their build cost
OrderButton@REPAIR:
Id:REPAIR
Delegate:OrderButtonsChromeDelegate
X:75
Y:0
Width:30
Height:30
Image:repair
Description:Repair
LongDesc:Repair damaged buildings
Background@INGAME_OPTIONS_BG:
Id:INGAME_OPTIONS_BG
X:(WINDOW_RIGHT - WIDTH)/2

View File

@@ -94,8 +94,6 @@ World:
Country@nod:
Name: Nod
Race: nod
SellButton:
RepairButton:
ChoosePaletteOnSelect:
BibLayer:
ResourceLayer:

View File

@@ -74,6 +74,37 @@ Container@ROOT:
Width:320
Height: 32
SplitOreAndCash:No
Children:
OrderButton@SELL:
Id:SELL
Delegate:OrderButtonsChromeDelegate
X:3
Y:0
Width:30
Height:30
Image:sell
Description:Sell
LongDesc:Sell buildings, reclaiming a \nproportion of their build cost
OrderButton@POWER_DOWN:
Id:POWER_DOWN
Delegate:OrderButtonsChromeDelegate
X:39
Y:0
Width:30
Height:30
Image:power
Description:Powerdown
LongDesc:Disable unneeded structures so their \npower can be used elsewhere
OrderButton@REPAIR:
Id:REPAIR
Delegate:OrderButtonsChromeDelegate
X:75
Y:0
Width:30
Height:30
Image:repair
Description:Repair
LongDesc:Repair damaged buildings
Background@INGAME_OPTIONS_BG:
Id:INGAME_OPTIONS_BG
X:(WINDOW_RIGHT - WIDTH)/2

View File

@@ -148,9 +148,6 @@ World:
Country@1:
Name: Soviet
Race: soviet
SellButton:
RepairButton:
PowerDownButton:
BibLayer:
ResourceLayer:
ResourceType@ore: