Files
OpenRA/mods/ra/chrome/ingame-player.yaml
deniz1a 1821c52db0 Make "Ready" text alternate between red and white
Make color of "Ready" text alternate between red and white.

Made the code cleaner.

Whitespace correction.

Whitespace correction again.

Change color from red to green and make it moddable

Use enum for ReadyTextStyle

Use enum for cnc

Made variables public and simplified if statements

fix enum

fix enum and )

ReadyText settings in ra yaml

ReadyText settings in cnc yaml

Move values from code to ra yaml

Move values from code to cnc yaml

revert code changes cnc

revert code changes ra

move around a bit in ra yaml

move around a bit in cnc yaml

Add values to d2k yaml
2014-06-10 12:00:57 +03:00

118 lines
2.4 KiB
YAML

Container@PLAYER_WIDGETS:
Children:
LogicKeyListener@CONTROLGROUP_KEYHANDLER:
Logic: ControlGroupLogic
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
TooltipTemplate: SIMPLE_TOOLTIP
IndicatorImage: power-indicator
Orientation: Horizontal
Style: Bevelled
MoneyBin@INGAME_MONEY_BIN:
Logic: OrderButtonsChromeLogic
X: WINDOW_RIGHT - WIDTH
Width: 320
Height: 32
Children:
Button@BEACON_BUTTON:
X: 3-36
Width: 34
Height: 28
TooltipText: Place Beacon
TooltipContainer: TOOLTIP_CONTAINER
VisualHeight: 0
Children:
Image@ICON:
ImageCollection: order-icons
Button@SELL_BUTTON:
X: 3
Width: 34
Height: 28
TooltipText: Sell
TooltipContainer: TOOLTIP_CONTAINER
VisualHeight: 0
Children:
Image@ICON:
ImageCollection: order-icons
Button@POWER_BUTTON:
X: 39
Width: 34
Height: 28
TooltipText: Power Down
TooltipContainer: TOOLTIP_CONTAINER
VisualHeight: 0
Children:
Image@ICON:
ImageCollection: order-icons
Button@REPAIR_BUTTON:
X: 75
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
ReadyText: READY
HoldText: ON HOLD
BuildPalette@INGAME_BUILD_PALETTE:
X: WINDOW_RIGHT - 250
Y: 280
Width: 250
Height: 500
ReadyText: READY
ReadyTextStyle: AlternatingColor
ReadyTextAltColor: 50,205,50
HoldText: ON HOLD
RequiresText: Requires {0}