Move hardcoded screenshot hotkey into yaml.

This commit is contained in:
Paul Chote
2017-09-03 18:02:52 +00:00
committed by reaperrr
parent 8c4afa414a
commit c759a68492
11 changed files with 53 additions and 16 deletions

View File

@@ -183,11 +183,12 @@ Container@EDITOR_ROOT:
Logic: LoadMapEditorLogic
Children:
LogicKeyListener@GLOBAL_KEYHANDLER:
Logic: MusicHotkeyLogic
Logic: MusicHotkeyLogic, ScreenshotHotkeyLogic
StopMusicKey: StopMusic
PauseMusicKey: PauseMusic
PrevMusicKey: PrevMusic
NextMusicKey: NextMusic
TakeScreenshotKey: TakeScreenshot
Container@WORLD_ROOT:
Container@MENU_ROOT:
TooltipContainer@TOOLTIP_CONTAINER:

View File

@@ -2,11 +2,12 @@ Container@INGAME_ROOT:
Logic: LoadIngamePlayerOrObserverUILogic
Children:
LogicKeyListener@GLOBAL_KEYHANDLER:
Logic: MusicHotkeyLogic
Logic: MusicHotkeyLogic, ScreenshotHotkeyLogic
StopMusicKey: StopMusic
PauseMusicKey: PauseMusic
PrevMusicKey: PrevMusic
NextMusicKey: NextMusic
TakeScreenshotKey: TakeScreenshot
Container@WORLD_ROOT:
Logic: LoadIngamePerfLogic
Children:

View File

@@ -2,11 +2,12 @@ Container@MAINMENU:
Logic: MainMenuLogic
Children:
LogicKeyListener@GLOBAL_KEYHANDLER:
Logic: MusicHotkeyLogic
Logic: MusicHotkeyLogic, ScreenshotHotkeyLogic
StopMusicKey: StopMusic
PauseMusicKey: PauseMusic
PrevMusicKey: PrevMusic
NextMusicKey: NextMusic
TakeScreenshotKey: TakeScreenshot
Background@BORDER:
Background: mainmenu-border
X: 0 - 15