# hotkeys_ui.txt - game-dependent and widget-specific hotkeys 

# editbox
map ctrl-a editbox EditboxSelectAll
map ctrl-c editbox EditboxCopy
map ctrl-x editbox EditboxCut
map ctrl-v editbox EditboxPaste
map shift-delete editbox EditboxCut
map ctrl-insert editbox EditboxCopy
map shift-insert editbox EditboxPaste
map ctrl-Z editbox EditboxUndo
map tab editbox EditboxCycle
map shift-tab editbox EditboxCyclePrevious

# main menu
map esc MainMenuButtonQuit

# options menu
map enter OptionsDialog OptionsOK
map esc OptionsDialog OptionsCancel
map d OptionsDialog OptionsDefaults

# multiplayer menu
map l MultiplayerMenuButtonLAN
map i MultiplayerMenuButtonInternet
map esc MultiplayerMenuButtonMain

# choose film interface
map enter FilmButtonOK
map esc FilmButtonCancel
map r FilmButtonRefresh
map f5 FilmButtonRefresh

#Player Profile Interface
map esc PlayerProfileDialog PlayerProfileClose

# Player Popup Interface
map esc PlayerPopupDialog PlayerPopupClose

# Community Stats Dialog
map esc CommunityStatsDialog Close

# Server Info Dialog
map esc ServerInfoDialog ServerInfoClose

# Buddy Dialog
map esc BuddyDialog BuddyClose

# map preview dialog
map esc MapPreviewDialog MapPreviewClose

# choose campaign interface
map enter ChooseCampaign CampaignPlay
map esc ChooseCampaign CampaignExit
map ctrl-shift-c ChooseCampaign CampaignComplete

# login interface
# gamespy login
map enter Login LoginLogin
map esc Login LoginCancel

#register interface
map esc ProfileManagement ProfileManagementCancel

# credits interface
map enter CreditsButtonOK
map esc Credits CreditsEndCredits


# file menu
map enter FileButtonOK
map esc FileButtonCancel
map alt-d FileButtonDelete
map alt-n FileButtonNewFolder


# message box
map enter MessageBoxAccept
map esc MessageBoxCancel

# staging - chat
map up StagingChatPanel|editbox PreviousText
map down StagingChatPanel|editbox NextText
map enter StagingChatPanel ActivateChat

#staging File dialogs
map enter StagingFileDialog Commit
map enter StagingFileLoadSavedDialog Commit
map enter StagingFileSavedDialog Commit
map enter RandomMapDialog Commit
map esc StagingFileDialog Cancel
map esc StagingFileLoadSavedDialog Cancel
map esc StagingFileSavedDialog Cancel
map esc RandomMapDialog Cancel

# Lobby - chat
map up ChatPanel|editbox PreviousText
map down ChatPanel|editbox NextText
map enter ChatPanel ActivateChat

# staging/Lobby - Buddy Dialog
map up BuddyDialog|editbox PreviousText
map down BuddyDialog|editbox NextText

# Lobby
map esc LobbyMenu LobbyConfirmExit
# srp062004
map esc CreateGameDialog "CreateGameCancel"
map esc JoinDirectDialog "JoinDirectCancel"


# Staging
map esc StagingMenu StagingConfirmExit

# loading screen
map enter LoadingScreen UserReady

# editor
map delete editor DestroySelected
map numpad-delete editor DestroySelected
map alt-o EditorPanelButtonOptions
map alt-g EditorPanelButtonGame
map alt-m EditorPanelButtonMainMenu
map alt-q EditorPanelButtonExitGame
map F9 editor RequestTest
map F8 editor RequestFinishedQuickEditor

# srp062004
# editor - ESC for specific screens
map esc ActorPropertiesDialog "ActorPropertiesClose"
map esc CameraPropertiesDialog "CameraPropertiesClose"
map esc AreaPropertiesDialog "AreaPropertiesClose"
map esc KingdomEditingDialog "KingdomEditingClose"
map esc RestrictionGroupDialog "RestrictionGroupsClose"
map esc ObjectivesDialog "Close"
map esc MapPropertiesDialog "MapPropertiesClose"
map esc NewMapDialog "NewMapClose"
map esc SharedOrganizationEditor|2 "OECancel"

# game
map esc ButtonMenu
map esc ButtonReturnToGame
map F9 game|testmode RequestEditor	
map F8 game RequestQuickEditor
map ctrl-s ButtonSupplyBorder 

# game - chat
map enter vworld ChatActivate
map space vworld CycleMessageLog
map esc GameChatPanel GameChatClose
map enter GameChatPanel ChatSend
map PageUp GameChatPanel "GameChatPrevFilter"
map PageDown GameChatPanel "GameChatNextFilter"
map up GameChatPanel|editbox PreviousText
map down GameChatPanel|editbox NextText

map esc GameOrganizationEditor|2 "OECancel"
map backspace GameOrganizationEditor|2 "OECancel"
map backspace SidePanelMessageLogPanel|1 CloseSideOrDisplayPanel
map backspace CityManagement|1 CloseSideOrDisplayPanel
map backspace PoliticsDisplay|1 CloseSideOrDisplayPanel
map backspace ObjectivesDisplay|1 CloseSideOrDisplayPanel
map backspace TechnologyDisplay|1 CloseSideOrDisplayPanel

##### not used
#map esc OrganizationEditor|2 "CancelButton_SharedOrgEditor"
#map esc OrganizationEditor|2 "CancelButton_GameOrgEditor"
#map enter OrganizationEditor|2 "RecruitButton_SharedOrgEditor"
#map enter OrganizationEditor|2 "RecruitButton_GameOrgEditor"
#map s OrganizationEditor|2 "SaveToFavoritesButton_SharedOrgEditor"
#map s OrganizationEditor|2 "SaveToFavoritesButton_GameOrgEditor"
########
