Update to documentation for 'exitlauncher' command.

Add Shift-PageUp/PageDn for scrolling with the keyboard in DataGridWidgets
(most useful with the new RAM UI having multiple banks of RAM).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1755 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2009-06-08 13:13:05 +00:00
parent 78a8112287
commit e34594d1b7
2 changed files with 15 additions and 5 deletions

View File

@ -772,7 +772,7 @@
</tr>
<tr>
<td><pre>-showinfo &lt;0|1&gt;</pre></td>
<td><pre>-showinfo &lt;1|0&gt;</pre></td>
<td>Shows some game info on the commandline while Stella is running.</td>
</tr>
@ -819,13 +819,13 @@
</tr>
<tr>
<td><pre>-sssingle &lt;0|1&gt;</pre></td>
<td><pre>-sssingle &lt;1|0&gt;</pre></td>
<td>Generate single snapshot instead of many, overwriting
any previous snapshots.</td>
</tr>
<tr>
<td><pre>-ss1x &lt;0|1&gt;</pre></td>
<td><pre>-ss1x &lt;1|0&gt;</pre></td>
<td>Ignore any scaling applied to the TIA image, and save
snapshot in unscaled (1x) mode.</td>
</tr>
@ -860,6 +860,12 @@
gz, zip), 'LIST' is a ':' separated list of valid rom extensions.</td>
</tr>
<tr>
<td><pre>-exitlauncher &lt;1|0&gt;</pre></td>
<td>After exiting a ROM, either exit back to the launcher (1) or
completely exit the emulator (0).</td>
</tr>
<tr>
<td><pre>-romviewer &lt;0|1|2&gt;</pre></td>
<td>Hide ROM info viewer in ROM launcher mode (0), or use the

View File

@ -346,7 +346,9 @@ bool DataGridWidget::handleKeyDown(int ascii, int keycode, int modifiers)
break;
case 256+24: // pageup
if (_currentRow > 0)
if(instance().eventHandler().kbdShift(modifiers) && _scrollBar)
handleMouseWheel(0, 0, -1);
else if (_currentRow > 0)
{
_currentRow = 0;
dirty = true;
@ -354,7 +356,9 @@ bool DataGridWidget::handleKeyDown(int ascii, int keycode, int modifiers)
break;
case 256+25: // pagedown
if (_currentRow < (int) _rows - 1)
if(instance().eventHandler().kbdShift(modifiers) && _scrollBar)
handleMouseWheel(0, 0, +1);
else if (_currentRow < (int) _rows - 1)
{
_currentRow = _rows - 1;
dirty = true;