Migrate ButtonWidget to NamedHotkey.
This commit is contained in:
@@ -128,6 +128,7 @@ Container@OBSERVER_WIDGETS:
|
||||
Width: 28
|
||||
Height: 28
|
||||
Background: sidebar-button-observer
|
||||
Key: Pause
|
||||
TooltipText: Pause
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
@@ -143,6 +144,7 @@ Container@OBSERVER_WIDGETS:
|
||||
Width: 28
|
||||
Height: 28
|
||||
Background: sidebar-button-observer
|
||||
Key: Pause
|
||||
TooltipText: Play
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
@@ -159,6 +161,7 @@ Container@OBSERVER_WIDGETS:
|
||||
Height: 22
|
||||
BaseLine: 1
|
||||
Background: sidebar-button-observer
|
||||
Key: ReplaySpeedSlow
|
||||
TooltipText: Slow speed
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
@@ -171,6 +174,7 @@ Container@OBSERVER_WIDGETS:
|
||||
Height: 22
|
||||
BaseLine: 1
|
||||
Background: sidebar-button-observer
|
||||
Key: ReplaySpeedRegular
|
||||
TooltipText: Regular speed
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
@@ -183,6 +187,7 @@ Container@OBSERVER_WIDGETS:
|
||||
Height: 22
|
||||
BaseLine: 1
|
||||
Background: sidebar-button-observer
|
||||
Key: ReplaySpeedFast
|
||||
TooltipText: Fast speed
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
@@ -195,6 +200,7 @@ Container@OBSERVER_WIDGETS:
|
||||
Height: 22
|
||||
BaseLine: 1
|
||||
Background: sidebar-button-observer
|
||||
Key: ReplaySpeedMax
|
||||
TooltipText: Maximum speed
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
|
||||
@@ -49,6 +49,7 @@ Container@PLAYER_WIDGETS:
|
||||
Height: 26
|
||||
VisualHeight: 0
|
||||
Background: command-button
|
||||
Key: AttackMove
|
||||
DisableKeySound: true
|
||||
TooltipText: Attack Move
|
||||
TooltipDesc: Selected units will move to the desired location\nand attack any enemies they encounter en route.\n\nLeft-click icon then right-click on target location.
|
||||
@@ -102,6 +103,7 @@ Container@PLAYER_WIDGETS:
|
||||
Height: 26
|
||||
VisualHeight: 0
|
||||
Background: command-button
|
||||
Key: Guard
|
||||
DisableKeySound: true
|
||||
TooltipText: Guard
|
||||
TooltipDesc: Selected units will follow the targeted unit.\n\nLeft-click icon then right-click on target unit.
|
||||
@@ -119,6 +121,7 @@ Container@PLAYER_WIDGETS:
|
||||
Height: 26
|
||||
VisualHeight: 0
|
||||
Background: command-button
|
||||
Key: Deploy
|
||||
DisableKeyRepeat: true
|
||||
DisableKeySound: true
|
||||
TooltipText: Deploy
|
||||
@@ -137,6 +140,7 @@ Container@PLAYER_WIDGETS:
|
||||
Height: 26
|
||||
VisualHeight: 0
|
||||
Background: command-button
|
||||
Key: Scatter
|
||||
DisableKeyRepeat: true
|
||||
DisableKeySound: true
|
||||
TooltipText: Scatter
|
||||
@@ -155,6 +159,7 @@ Container@PLAYER_WIDGETS:
|
||||
Height: 26
|
||||
VisualHeight: 0
|
||||
Background: command-button
|
||||
Key: Stop
|
||||
DisableKeyRepeat: true
|
||||
DisableKeySound: true
|
||||
TooltipText: Stop
|
||||
@@ -197,6 +202,7 @@ Container@PLAYER_WIDGETS:
|
||||
Height: 26
|
||||
VisualHeight: 0
|
||||
Background: command-button
|
||||
Key: StanceAttackAnything
|
||||
DisableKeyRepeat: true
|
||||
DisableKeySound: true
|
||||
TooltipText: Attack Anything Stance
|
||||
@@ -215,6 +221,7 @@ Container@PLAYER_WIDGETS:
|
||||
Height: 26
|
||||
VisualHeight: 0
|
||||
Background: command-button
|
||||
Key: StanceDefend
|
||||
DisableKeyRepeat: true
|
||||
DisableKeySound: true
|
||||
TooltipText: Defend Stance
|
||||
@@ -233,6 +240,7 @@ Container@PLAYER_WIDGETS:
|
||||
Height: 26
|
||||
VisualHeight: 0
|
||||
Background: command-button
|
||||
Key: StanceReturnFire
|
||||
DisableKeyRepeat: true
|
||||
DisableKeySound: true
|
||||
TooltipText: Return Fire Stance
|
||||
@@ -251,6 +259,7 @@ Container@PLAYER_WIDGETS:
|
||||
Height: 26
|
||||
VisualHeight: 0
|
||||
Background: command-button
|
||||
Key: StanceHoldFire
|
||||
DisableKeyRepeat: true
|
||||
DisableKeySound: true
|
||||
TooltipText: Hold Fire Stance
|
||||
@@ -282,6 +291,7 @@ Container@PLAYER_WIDGETS:
|
||||
Width: 28
|
||||
Height: 28
|
||||
Background: sidebar-button
|
||||
Key: PlaceBeacon
|
||||
TooltipText: Place Beacon
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
@@ -296,6 +306,7 @@ Container@PLAYER_WIDGETS:
|
||||
Width: 28
|
||||
Height: 28
|
||||
Background: sidebar-button
|
||||
Key: Sell
|
||||
TooltipText: Sell
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
@@ -310,6 +321,7 @@ Container@PLAYER_WIDGETS:
|
||||
Width: 28
|
||||
Height: 28
|
||||
Background: sidebar-button
|
||||
Key: PowerDown
|
||||
TooltipText: Power Down
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
@@ -324,6 +336,7 @@ Container@PLAYER_WIDGETS:
|
||||
Width: 28
|
||||
Height: 28
|
||||
Background: sidebar-button
|
||||
Key: Repair
|
||||
TooltipText: Repair
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
@@ -334,11 +347,11 @@ Container@PLAYER_WIDGETS:
|
||||
ImageCollection: order-icons
|
||||
MenuButton@DEBUG_BUTTON:
|
||||
Logic: AddFactionSuffixLogic
|
||||
Key: escape Shift
|
||||
X: 128
|
||||
Width: 28
|
||||
Height: 28
|
||||
Background: sidebar-button
|
||||
Key: escape Shift
|
||||
TooltipText: Debug Menu
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
DisableWorldSounds: true
|
||||
@@ -351,11 +364,11 @@ Container@PLAYER_WIDGETS:
|
||||
ImageName: debug
|
||||
MenuButton@OPTIONS_BUTTON:
|
||||
Logic: AddFactionSuffixLogic
|
||||
Key: escape
|
||||
X: 192
|
||||
Width: 28
|
||||
Height: 28
|
||||
Background: sidebar-button
|
||||
Key: escape
|
||||
TooltipText: Options
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
DisableWorldSounds: true
|
||||
@@ -481,7 +494,7 @@ Container@PLAYER_WIDGETS:
|
||||
TooltipText: Buildings
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
ProductionGroup: Building
|
||||
HotkeyName: ProductionTypeBuildingKey
|
||||
Key: ProductionTypeBuilding
|
||||
Children:
|
||||
Image@ICON:
|
||||
X: 6
|
||||
@@ -497,7 +510,7 @@ Container@PLAYER_WIDGETS:
|
||||
TooltipText: Defense
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
ProductionGroup: Defense
|
||||
HotkeyName: ProductionTypeDefenseKey
|
||||
Key: ProductionTypeDefense
|
||||
Children:
|
||||
Image@ICON:
|
||||
X: 6
|
||||
@@ -513,7 +526,7 @@ Container@PLAYER_WIDGETS:
|
||||
TooltipText: Infantry
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
ProductionGroup: Infantry
|
||||
HotkeyName: ProductionTypeInfantryKey
|
||||
Key: ProductionTypeInfantry
|
||||
Children:
|
||||
Image@ICON:
|
||||
X: 6
|
||||
@@ -529,7 +542,7 @@ Container@PLAYER_WIDGETS:
|
||||
TooltipText: Vehicles
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
ProductionGroup: Vehicle
|
||||
HotkeyName: ProductionTypeVehicleKey
|
||||
Key: ProductionTypeVehicle
|
||||
Children:
|
||||
Image@ICON:
|
||||
X: 6
|
||||
@@ -545,7 +558,7 @@ Container@PLAYER_WIDGETS:
|
||||
TooltipText: Aircraft
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
ProductionGroup: Aircraft
|
||||
HotkeyName: ProductionTypeAircraftKey
|
||||
Key: ProductionTypeAircraft
|
||||
Children:
|
||||
Image@ICON:
|
||||
X: 6
|
||||
@@ -561,7 +574,7 @@ Container@PLAYER_WIDGETS:
|
||||
TooltipText: Naval
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
ProductionGroup: Ship
|
||||
HotkeyName: ProductionTypeNavalKey
|
||||
Key: ProductionTypeNaval
|
||||
Children:
|
||||
Image@ICON:
|
||||
X: 6
|
||||
|
||||
Reference in New Issue
Block a user