adjust the d2k production palette icon width to 60 again
This commit is contained in:
216
mods/d2k/chrome/ingame.yaml
Normal file
216
mods/d2k/chrome/ingame.yaml
Normal file
@@ -0,0 +1,216 @@
|
||||
Container@INGAME_ROOT:
|
||||
Logic:IngameChromeLogic
|
||||
Children:
|
||||
WorldInteractionController@INTERACTION_CONTROLLER:
|
||||
X:0
|
||||
Y:0
|
||||
Width:WINDOW_RIGHT
|
||||
Height:WINDOW_BOTTOM
|
||||
ViewportController:
|
||||
X:0
|
||||
Y:0
|
||||
Width:WINDOW_RIGHT
|
||||
Height:WINDOW_BOTTOM
|
||||
TooltipContainer:TOOLTIP_CONTAINER
|
||||
WorldCommand:
|
||||
X:0
|
||||
Y:0
|
||||
Width:WINDOW_RIGHT
|
||||
Height:WINDOW_BOTTOM
|
||||
Timer@GAME_TIMER:
|
||||
X: WINDOW_RIGHT/2
|
||||
Y: 0-10
|
||||
StrategicProgress@STRATEGIC_PROGRESS:
|
||||
X: WINDOW_RIGHT/2
|
||||
Y: 40
|
||||
SupportPowerTimer@SUPPORT_POWER_TIMER:
|
||||
X:80
|
||||
Y:34
|
||||
Order:Descending
|
||||
Container@PLAYER_ROOT:
|
||||
Button@INGAME_OPTIONS_BUTTON:
|
||||
X:0
|
||||
Y:0
|
||||
Width:160
|
||||
Height:25
|
||||
Text:Options (ESC)
|
||||
Font:Bold
|
||||
Key: escape
|
||||
Container@PERFORMANCE_INFO:
|
||||
Logic:PerfDebugLogic
|
||||
Children:
|
||||
Label@PERF_TEXT:
|
||||
X:WINDOW_RIGHT - 200
|
||||
Y:WINDOW_BOTTOM - 70
|
||||
Width:170
|
||||
Height:40
|
||||
Contrast:true
|
||||
Background@GRAPH_BG:
|
||||
ClickThrough:true
|
||||
Background:dialog4
|
||||
X:30
|
||||
Y:WINDOW_BOTTOM - 240
|
||||
Width:210
|
||||
Height:210
|
||||
Children:
|
||||
PerfGraph@GRAPH:
|
||||
X:5
|
||||
Y:5
|
||||
Width:200
|
||||
Height:200
|
||||
TooltipContainer@TOOLTIP_CONTAINER:
|
||||
|
||||
Container@PLAYER_WIDGETS:
|
||||
Children:
|
||||
LogicTicker@SIDEBAR_TICKER:
|
||||
Button@INGAME_DIPLOMACY_BUTTON:
|
||||
X:162
|
||||
Y:0
|
||||
Width:160
|
||||
Height:25
|
||||
Text:Diplomacy (F1)
|
||||
Font:Bold
|
||||
Key: f1
|
||||
Button@CHEATS_BUTTON:
|
||||
X:324
|
||||
Y:0
|
||||
Width:160
|
||||
Height:25
|
||||
Text:Cheats (F2)
|
||||
Visible:false
|
||||
Font:Bold
|
||||
Key: f2
|
||||
Button@OBJECTIVES_BUTTON:
|
||||
X:486
|
||||
Y:0
|
||||
Width:160
|
||||
Height:25
|
||||
Text:Objectives (F3)
|
||||
Visible:false
|
||||
Font:Bold
|
||||
Key: f3
|
||||
SlidingContainer@INGAME_RADAR_BIN:
|
||||
X:WINDOW_RIGHT-215
|
||||
Y:0
|
||||
OpenOffset:0,29
|
||||
ClosedOffset:0,-166
|
||||
AnimationLength:15
|
||||
Children:
|
||||
Image@RADAR_BIN_BG:
|
||||
ImageName:radar
|
||||
Radar@RADAR_MINIMAP:
|
||||
WorldInteractionController:INTERACTION_CONTROLLER
|
||||
X:9
|
||||
Width:192
|
||||
Height:192
|
||||
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
|
||||
Width:320
|
||||
Height: 32
|
||||
Children:
|
||||
OrderButton@SELL:
|
||||
Logic:OrderButtonsChromeLogic
|
||||
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
|
||||
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
|
||||
X:75
|
||||
Y:0
|
||||
Width:30
|
||||
Height:30
|
||||
Image:repair
|
||||
Description:Repair
|
||||
LongDesc:Repair damaged buildings
|
||||
SupportPowerBin@INGAME_POWERS_BIN:
|
||||
X:0
|
||||
Y:25
|
||||
ReadyText: READY
|
||||
HoldText: ON HOLD
|
||||
BuildPalette@INGAME_BUILD_PALETTE:
|
||||
X:WINDOW_RIGHT - 250
|
||||
Y:280
|
||||
Width:238 # TODO: why is this ignored?
|
||||
Height:500
|
||||
ReadyText: READY
|
||||
HoldText: ON HOLD
|
||||
RequiresText: Requires
|
||||
IconWidth: 60
|
||||
IconHeight: 48
|
||||
Background@DIPLOMACY_BG:
|
||||
Logic:DiplomacyLogic
|
||||
X:(WINDOW_RIGHT - WIDTH)/2
|
||||
Y:(WINDOW_BOTTOM - HEIGHT)/2
|
||||
Width:450
|
||||
Height:400
|
||||
Visible:false
|
||||
Children:
|
||||
Label@LABEL_TITLE:
|
||||
X:(PARENT_RIGHT - WIDTH)/2
|
||||
Y:20
|
||||
Width:250
|
||||
Height:25
|
||||
Text:Diplomacy
|
||||
Align:Center
|
||||
Font:Bold
|
||||
Button@CLOSE_DIPLOMACY:
|
||||
X:(PARENT_RIGHT - WIDTH)/2
|
||||
Y:350
|
||||
Width:160
|
||||
Height:25
|
||||
Text:Close
|
||||
Font:Bold
|
||||
Key:escape
|
||||
|
||||
Container@OBSERVER_WIDGETS:
|
||||
Children:
|
||||
Button@INGAME_STATS_BUTTON:
|
||||
X:162
|
||||
Y:0
|
||||
Width:160
|
||||
Height:25
|
||||
Text:Statistics (F1)
|
||||
Font:Bold
|
||||
Key:f1
|
||||
Background@RADAR_BG:
|
||||
X:WINDOW_RIGHT-255
|
||||
Y:5
|
||||
Width:250
|
||||
Height:250
|
||||
Children:
|
||||
Radar@INGAME_RADAR:
|
||||
X:10
|
||||
Y:10
|
||||
Width:PARENT_RIGHT-19
|
||||
Height:PARENT_BOTTOM-19
|
||||
WorldInteractionController:INTERACTION_CONTROLLER
|
||||
DropDownButton@SHROUD_SELECTOR:
|
||||
Logic:ObserverShroudSelectorLogic
|
||||
X:WINDOW_RIGHT-250
|
||||
Y:260
|
||||
Width:240
|
||||
Height:25
|
||||
Font:Bold
|
||||
@@ -54,7 +54,7 @@ Assemblies:
|
||||
|
||||
ChromeLayout:
|
||||
mods/d2k/chrome/gameinit.yaml
|
||||
mods/ra/chrome/ingame.yaml
|
||||
mods/d2k/chrome/ingame.yaml
|
||||
mods/ra/chrome/ingame-chat.yaml
|
||||
mods/ra/chrome/ingame-fmvplayer.yaml
|
||||
mods/ra/chrome/ingame-menu.yaml
|
||||
|
||||
Reference in New Issue
Block a user