Replace WorldCommandWidget with individual logic classes.

This commit is contained in:
Paul Chote
2017-09-03 18:04:04 +00:00
committed by reaperrr
parent 983f9c4cde
commit 0e3bfcfb35
9 changed files with 241 additions and 156 deletions

View File

@@ -9,6 +9,12 @@ Container@INGAME_ROOT:
NextMusicKey: NextMusic
TakeScreenshotKey: TakeScreenshot
MuteAudioKey: ToggleMute
LogicKeyListener@WORLD_KEYHANDLER:
Logic: CycleBasesHotkeyLogic, CycleProductionActorsHotkeyLogic, JumpToLastEventHotkeyLogic, JumpToSelectedActorsHotkeyLogic
CycleBasesKey: CycleBase
CycleProductionActorsKey: CycleProductionBuildings
JumpToLastEventKey: ToLastEvent
JumpToSelectedActorsKey: ToSelection
Container@WORLD_ROOT:
Logic: LoadIngamePerfLogic
Children:
@@ -40,9 +46,6 @@ Container@INGAME_ROOT:
BookmarkSaveKeyPrefix: MapBookmarkSave
BookmarkRestoreKeyPrefix: MapBookmarkRestore
BookmarkKeyCount: 4
WorldCommand:
Width: WINDOW_RIGHT
Height: WINDOW_BOTTOM
StrategicProgress@STRATEGIC_PROGRESS:
X: WINDOW_RIGHT / 2
Y: 40