Migrate ButtonWidget to NamedHotkey.
This commit is contained in:
@@ -94,6 +94,9 @@ Container@OBSERVER_WIDGETS:
|
||||
Y: 10
|
||||
Width: 26
|
||||
Height: 26
|
||||
Key: Pause
|
||||
TooltipText: Pause
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
IgnoreChildMouseOver: true
|
||||
Children:
|
||||
Image@IMAGE_PAUSE:
|
||||
@@ -107,6 +110,9 @@ Container@OBSERVER_WIDGETS:
|
||||
Y: 10
|
||||
Width: 26
|
||||
Height: 26
|
||||
Key: Pause
|
||||
TooltipText: Play
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
IgnoreChildMouseOver: true
|
||||
Children:
|
||||
Image@IMAGE_PLAY:
|
||||
@@ -120,9 +126,9 @@ Container@OBSERVER_WIDGETS:
|
||||
Width: 36
|
||||
Height: 20
|
||||
BaseLine: 1
|
||||
Key: ReplaySpeedSlow
|
||||
TooltipText: Slow speed
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
Text: 50%
|
||||
Font: TinyBold
|
||||
Button@BUTTON_REGULAR:
|
||||
@@ -131,9 +137,9 @@ Container@OBSERVER_WIDGETS:
|
||||
Width: 38
|
||||
Height: 20
|
||||
BaseLine: 1
|
||||
Key: ReplaySpeedRegular
|
||||
TooltipText: Regular speed
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
Text: 100%
|
||||
Font: TinyBold
|
||||
Button@BUTTON_FAST:
|
||||
@@ -142,9 +148,9 @@ Container@OBSERVER_WIDGETS:
|
||||
Width: 38
|
||||
Height: 20
|
||||
BaseLine: 1
|
||||
Key: ReplaySpeedFast
|
||||
TooltipText: Fast speed
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
Text: 200%
|
||||
Font: TinyBold
|
||||
Button@BUTTON_MAXIMUM:
|
||||
@@ -153,8 +159,8 @@ Container@OBSERVER_WIDGETS:
|
||||
Width: 38
|
||||
Height: 20
|
||||
BaseLine: 1
|
||||
Key: ReplaySpeedMax
|
||||
TooltipText: Maximum speed
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
Text: MAX
|
||||
Font: TinyBold
|
||||
|
||||
@@ -68,6 +68,7 @@ Container@PLAYER_WIDGETS:
|
||||
Width: 30
|
||||
Height: 31
|
||||
Background: sidebar-button
|
||||
Key: Repair
|
||||
TooltipText: Repair
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
@@ -83,6 +84,7 @@ Container@PLAYER_WIDGETS:
|
||||
Width: 30
|
||||
Height: 31
|
||||
Background: sidebar-button
|
||||
Key: Sell
|
||||
TooltipText: Sell
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
@@ -98,6 +100,7 @@ Container@PLAYER_WIDGETS:
|
||||
Width: 30
|
||||
Height: 31
|
||||
Background: sidebar-button
|
||||
Key: PlaceBeacon
|
||||
TooltipText: Place Beacon
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
@@ -113,6 +116,7 @@ Container@PLAYER_WIDGETS:
|
||||
Width: 30
|
||||
Height: 31
|
||||
Background: sidebar-button
|
||||
Key: PowerDown
|
||||
TooltipText: Power Down
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
@@ -276,7 +280,7 @@ Container@PLAYER_WIDGETS:
|
||||
TooltipText: Buildings
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
ProductionGroup: Building
|
||||
HotkeyName: ProductionTypeBuildingKey
|
||||
Key: ProductionTypeBuilding
|
||||
Children:
|
||||
Image@ICON:
|
||||
Logic: AddFactionSuffixLogic
|
||||
@@ -294,7 +298,7 @@ Container@PLAYER_WIDGETS:
|
||||
TooltipText: Defense
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
ProductionGroup: Defense
|
||||
HotkeyName: ProductionTypeDefenseKey
|
||||
Key: ProductionTypeDefense
|
||||
Children:
|
||||
Image@ICON:
|
||||
Logic: AddFactionSuffixLogic
|
||||
@@ -312,7 +316,7 @@ Container@PLAYER_WIDGETS:
|
||||
TooltipText: Infantry
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
ProductionGroup: Infantry
|
||||
HotkeyName: ProductionTypeInfantryKey
|
||||
Key: ProductionTypeInfantry
|
||||
Children:
|
||||
Image@ICON:
|
||||
Logic: AddFactionSuffixLogic
|
||||
@@ -330,7 +334,7 @@ Container@PLAYER_WIDGETS:
|
||||
TooltipText: Vehicles
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
ProductionGroup: Vehicle
|
||||
HotkeyName: ProductionTypeVehicleKey
|
||||
Key: ProductionTypeVehicle
|
||||
Children:
|
||||
Image@ICON:
|
||||
Logic: AddFactionSuffixLogic
|
||||
@@ -348,7 +352,7 @@ Container@PLAYER_WIDGETS:
|
||||
TooltipText: Aircraft
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
ProductionGroup: Air
|
||||
HotkeyName: ProductionTypeAircraftKey
|
||||
Key: ProductionTypeAircraft
|
||||
Children:
|
||||
Image@ICON:
|
||||
Logic: AddFactionSuffixLogic
|
||||
|
||||
Reference in New Issue
Block a user