mirror of https://github.com/stella-emu/stella.git
The 'listdelay' option now allows 0, meaning to completely disable list-skipping.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3119 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
7490b7db2a
commit
7f321a9628
16
Changes.txt
16
Changes.txt
|
@ -22,24 +22,28 @@
|
||||||
* Fixed major bug with joysticks, where mapping was being lost on reset,
|
* Fixed major bug with joysticks, where mapping was being lost on reset,
|
||||||
the app would crash when plugging/unplugging certain sticks, etc.
|
the app would crash when plugging/unplugging certain sticks, etc.
|
||||||
|
|
||||||
* Added dialog which shows the joystick database, and the ability to
|
* Added dialog which shows the internal joystick database (all the
|
||||||
remove (currently unplugged) joysticks from this database.
|
joysticks that Stella knows about) and the ability to remove
|
||||||
|
(currently unplugged) joysticks from this database.
|
||||||
|
|
||||||
* Added preliminary support for 'WD' (Wickstead Design) bankswitching
|
* Added preliminary support for 'WD' (Wickstead Design) bankswitching
|
||||||
scheme.
|
scheme.
|
||||||
|
|
||||||
* The minimum supported version for the OSX port is now OSX 10.7.
|
|
||||||
Because of this, the 32-bit version is also discontinued, as 10.7
|
|
||||||
supports 64-bit Intel only apps.
|
|
||||||
|
|
||||||
* The debugger 'reset' command now does a complete system reset,
|
* The debugger 'reset' command now does a complete system reset,
|
||||||
instead of simply setting the PC to the reset vector address.
|
instead of simply setting the PC to the reset vector address.
|
||||||
|
|
||||||
|
* The 'listdelay' command now accepts a value of zero, indicating that
|
||||||
|
list-skipping (jumping to a line in a list by keypress) is disabled.
|
||||||
|
|
||||||
* Added 'Shift-Alt/Shift-Cmd s' keyboard shortcut, to enable continuous
|
* Added 'Shift-Alt/Shift-Cmd s' keyboard shortcut, to enable continuous
|
||||||
snapshot mode for each frame. This is really only useful if you
|
snapshot mode for each frame. This is really only useful if you
|
||||||
save snapshots in 1x mode; using it in high-resolution mode is
|
save snapshots in 1x mode; using it in high-resolution mode is
|
||||||
not recommended. Special thanks to SvOlli for the idea and code.
|
not recommended. Special thanks to SvOlli for the idea and code.
|
||||||
|
|
||||||
|
* The minimum supported version for the OSX port is now OSX 10.7.
|
||||||
|
Because of this, the 32-bit version is also discontinued, as 10.7
|
||||||
|
supports 64-bit Intel only apps.
|
||||||
|
|
||||||
* Updated included PNG library to latest stable version.
|
* Updated included PNG library to latest stable version.
|
||||||
|
|
||||||
-Have fun!
|
-Have fun!
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
|
@ -2108,7 +2108,7 @@
|
||||||
<td><pre>-listdelay <delay></pre></td>
|
<td><pre>-listdelay <delay></pre></td>
|
||||||
<td>Set the amount of time to wait between treating successive
|
<td>Set the amount of time to wait between treating successive
|
||||||
keypresses as a single word in list widgets (value can range
|
keypresses as a single word in list widgets (value can range
|
||||||
from 300-1000).</td>
|
from 300-1000). Use '0' to disable list-skipping completely,</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
@ -44,7 +44,7 @@ class ListWidget : public EditableWidget
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ListWidget(GuiObject* boss, const GUI::Font& font,
|
ListWidget(GuiObject* boss, const GUI::Font& font,
|
||||||
int x, int y, int w, int h, bool quickSelect = true);
|
int x, int y, int w, int h, bool quickSelect);
|
||||||
virtual ~ListWidget();
|
virtual ~ListWidget();
|
||||||
|
|
||||||
int rows() const { return _rows; }
|
int rows() const { return _rows; }
|
||||||
|
|
|
@ -18,13 +18,15 @@
|
||||||
//============================================================================
|
//============================================================================
|
||||||
|
|
||||||
#include "bspf.hxx"
|
#include "bspf.hxx"
|
||||||
|
#include "Settings.hxx"
|
||||||
#include "ScrollBarWidget.hxx"
|
#include "ScrollBarWidget.hxx"
|
||||||
#include "StringListWidget.hxx"
|
#include "StringListWidget.hxx"
|
||||||
|
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
StringListWidget::StringListWidget(GuiObject* boss, const GUI::Font& font,
|
StringListWidget::StringListWidget(GuiObject* boss, const GUI::Font& font,
|
||||||
int x, int y, int w, int h, bool hilite)
|
int x, int y, int w, int h, bool hilite)
|
||||||
: ListWidget(boss, font, x, y, w, h),
|
: ListWidget(boss, font, x, y, w, h,
|
||||||
|
boss->instance().settings().getInt("listdelay") >= 300),
|
||||||
_hilite(hilite)
|
_hilite(hilite)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -250,6 +250,7 @@ UIDialog::UIDialog(OSystem& osystem, DialogContainer& parent,
|
||||||
|
|
||||||
// Delay between quick-selecting characters in ListWidget
|
// Delay between quick-selecting characters in ListWidget
|
||||||
items.clear();
|
items.clear();
|
||||||
|
VarList::push_back(items, "Disabled", "0");
|
||||||
VarList::push_back(items, "300 ms", "300");
|
VarList::push_back(items, "300 ms", "300");
|
||||||
VarList::push_back(items, "400 ms", "400");
|
VarList::push_back(items, "400 ms", "400");
|
||||||
VarList::push_back(items, "500 ms", "500");
|
VarList::push_back(items, "500 ms", "500");
|
||||||
|
@ -257,9 +258,9 @@ UIDialog::UIDialog(OSystem& osystem, DialogContainer& parent,
|
||||||
VarList::push_back(items, "700 ms", "700");
|
VarList::push_back(items, "700 ms", "700");
|
||||||
VarList::push_back(items, "800 ms", "800");
|
VarList::push_back(items, "800 ms", "800");
|
||||||
VarList::push_back(items, "900 ms", "900");
|
VarList::push_back(items, "900 ms", "900");
|
||||||
VarList::push_back(items, "1 sec", "1000");
|
VarList::push_back(items, "1 second", "1000");
|
||||||
myListDelayPopup = new PopUpWidget(myTab, font, xpos, ypos, pwidth, lineHeight,
|
myListDelayPopup = new PopUpWidget(myTab, font, xpos, ypos, pwidth, lineHeight,
|
||||||
items, "List quick delay: ", lwidth);
|
items, "List quick delay (*): ", lwidth);
|
||||||
wid.push_back(myListDelayPopup);
|
wid.push_back(myListDelayPopup);
|
||||||
ypos += lineHeight + 4;
|
ypos += lineHeight + 4;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue