Unify all mods on the C&C order button logic.
This commit is contained in:
@@ -51,38 +51,41 @@ Container@PLAYER_WIDGETS:
|
||||
Orientation:Horizontal
|
||||
Style:Bevelled
|
||||
MoneyBin@INGAME_MONEY_BIN:
|
||||
Logic:OrderButtonsChromeLogic
|
||||
X:WINDOW_RIGHT - WIDTH
|
||||
Y:0
|
||||
Width:320
|
||||
Height: 32
|
||||
Children:
|
||||
OrderButton@SELL:
|
||||
Logic:OrderButtonsChromeLogic
|
||||
Button@SELL_BUTTON:
|
||||
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:
|
||||
Logic:OrderButtonsChromeLogic
|
||||
Width:34
|
||||
Height:28
|
||||
TooltipText: Sell
|
||||
TooltipContainer:TOOLTIP_CONTAINER
|
||||
VisualHeight:0
|
||||
Children:
|
||||
Image@ICON:
|
||||
ImageCollection:order-icons
|
||||
Button@POWER_BUTTON:
|
||||
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:
|
||||
Logic:OrderButtonsChromeLogic
|
||||
Width:34
|
||||
Height:28
|
||||
TooltipText: Power Down
|
||||
TooltipContainer:TOOLTIP_CONTAINER
|
||||
VisualHeight:0
|
||||
Children:
|
||||
Image@ICON:
|
||||
ImageCollection:order-icons
|
||||
Button@REPAIR_BUTTON:
|
||||
X:75
|
||||
Y:0
|
||||
Width:30
|
||||
Height:30
|
||||
Image:repair
|
||||
Description:Repair
|
||||
LongDesc:Repair damaged buildings
|
||||
Width:34
|
||||
Height:28
|
||||
TooltipText: Repair
|
||||
TooltipContainer:TOOLTIP_CONTAINER
|
||||
VisualHeight:0
|
||||
Children:
|
||||
Image@ICON:
|
||||
ImageCollection:order-icons
|
||||
SupportPowerBin@INGAME_POWERS_BIN:
|
||||
X:0
|
||||
Y:25
|
||||
|
||||
@@ -9,6 +9,22 @@ Background@SIMPLE_TOOLTIP:
|
||||
Height:23
|
||||
Font:Bold
|
||||
|
||||
Background@BUTTON_TOOLTIP:
|
||||
Logic:ButtonTooltipLogic
|
||||
Background:dialog3
|
||||
Height:31
|
||||
Children:
|
||||
Label@LABEL:
|
||||
X:5
|
||||
Y:3
|
||||
Height:23
|
||||
Font:Bold
|
||||
Label@HOTKEY:
|
||||
Y:3
|
||||
Height:23
|
||||
TextColor:255,255,0
|
||||
Font:Bold
|
||||
|
||||
Background@WORLD_TOOLTIP:
|
||||
Logic:WorldTooltipLogic
|
||||
Background:dialog3
|
||||
|
||||
Reference in New Issue
Block a user