DataGridWidget now supports keypad +/-.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3147 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2015-02-09 19:32:28 +00:00
parent 5dece736b1
commit 6f194fcd76
2 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,8 @@
insertion of illegal characters. This will be extended throughout
the code in future releases.
* DataGridWidgets in the debugger now respond to keypad '+' and '-'.
-Have fun!

View File

@ -423,11 +423,13 @@ bool DataGridWidget::handleKeyDown(StellaKey key, StellaMod mod)
break;
case KBDK_MINUS: // decrement
case KBDK_KP_MINUS:
if(_editable)
decrementCell();
break;
case KBDK_EQUALS: // increment
case KBDK_KP_PLUS:
if(_editable)
incrementCell();
break;