add zoom level hotkeys to documented hardcoded actions

This commit is contained in:
thrust26 2019-05-23 22:17:39 +02:00
parent b68a7ffb9f
commit ae439ba318
2 changed files with 8 additions and 4 deletions

View File

@ -1464,14 +1464,14 @@
<tr>
<td>Switch to next <i>larger</i> zoom level in windowed mode,
</br>toggle stretching in fullscreen mode</td>
</br>toggle stretching in fullscreen mode (*)</td>
<td>Alt + =</td>
<td>Cmd + =</td>
</tr>
<tr>
<td>Switch to next <i>smaller</i> zoom level in windowed mode,
</br>toggle stretching in fullscreen mode</td>
</br>toggle stretching in fullscreen mode (*)</td>
<td>Alt + -</td>
<td>Cmd + -</td>
</tr>

View File

@ -759,6 +759,10 @@ void EventHandler::setActionMappings(EventMode mode)
if(event == Event::Quit)
prepend = modifier + " + Q (*)";
else if (event == Event::VidmodeIncrease)
prepend = "Alt + '=' (*)";
else if (event == Event::VidmodeDecrease)
prepend = "Alt + '-' (*)";
else if(event == Event::VolumeDecrease)
prepend = "Alt + '[' (*)";
else if(event == Event::VolumeIncrease)
@ -1328,8 +1332,8 @@ EventHandler::ActionList EventHandler::ourEmulActionList[EMUL_ACTIONLIST_SIZE] =
{ Event::VolumeDecrease, "Decrease volume", "", false },
{ Event::VolumeIncrease, "Increase volume", "", false },
{ Event::SoundToggle, "Toggle sound", "", false },
{ Event::VidmodeDecrease, "Previous video mode", "", false },
{ Event::VidmodeIncrease, "Next video mode", "", false },
{ Event::VidmodeDecrease, "Previous zoom level", "", false },
{ Event::VidmodeIncrease, "Next zoom level", "", false },
{ Event::PauseMode, "Pause", "", false },
{ Event::OptionsMenuMode, "Enter options menu UI", "", false },
{ Event::CmdMenuMode, "Toggle command menu UI", "", false },