mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-07 05:24:46 +01:00
pass backspace key through
This commit is contained in:
parent
9339264238
commit
ed37da3b09
1 changed files with 7 additions and 7 deletions
|
@ -179,10 +179,10 @@ void CXWordsAppView::Draw( const TRect& aRect ) const
|
|||
if ( iGame.board ) {
|
||||
XP_Rect rect;
|
||||
|
||||
rect.left = aRect.iTl.iX;
|
||||
rect.top = aRect.iTl.iY;
|
||||
rect.width = aRect.Width();
|
||||
rect.height = aRect.Height();
|
||||
rect.left = SC( XP_U16, aRect.iTl.iX );
|
||||
rect.top = SC( XP_U16, aRect.iTl.iY );
|
||||
rect.width = SC( XP_U16, aRect.Width() );
|
||||
rect.height = SC( XP_U16, aRect.Height() );
|
||||
|
||||
board_invalRect( iGame.board, &rect );
|
||||
board_draw( iGame.board );
|
||||
|
@ -718,9 +718,9 @@ CXWordsAppView::HandleKeyEvent( const TKeyEvent& aKeyEvent )
|
|||
case EKeyEnter:
|
||||
key = XP_RETURN_KEY;
|
||||
break;
|
||||
|
||||
// XP_CURSOR_KEY_DEL,
|
||||
|
||||
case EKeyBackspace:
|
||||
key = XP_CURSOR_KEY_DEL;
|
||||
break;
|
||||
case EKeyLeftArrow: // 14
|
||||
key = XP_CURSOR_KEY_LEFT;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue