mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +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 ) {
|
if ( iGame.board ) {
|
||||||
XP_Rect rect;
|
XP_Rect rect;
|
||||||
|
|
||||||
rect.left = aRect.iTl.iX;
|
rect.left = SC( XP_U16, aRect.iTl.iX );
|
||||||
rect.top = aRect.iTl.iY;
|
rect.top = SC( XP_U16, aRect.iTl.iY );
|
||||||
rect.width = aRect.Width();
|
rect.width = SC( XP_U16, aRect.Width() );
|
||||||
rect.height = aRect.Height();
|
rect.height = SC( XP_U16, aRect.Height() );
|
||||||
|
|
||||||
board_invalRect( iGame.board, &rect );
|
board_invalRect( iGame.board, &rect );
|
||||||
board_draw( iGame.board );
|
board_draw( iGame.board );
|
||||||
|
@ -718,9 +718,9 @@ CXWordsAppView::HandleKeyEvent( const TKeyEvent& aKeyEvent )
|
||||||
case EKeyEnter:
|
case EKeyEnter:
|
||||||
key = XP_RETURN_KEY;
|
key = XP_RETURN_KEY;
|
||||||
break;
|
break;
|
||||||
|
case EKeyBackspace:
|
||||||
// XP_CURSOR_KEY_DEL,
|
key = XP_CURSOR_KEY_DEL;
|
||||||
|
break;
|
||||||
case EKeyLeftArrow: // 14
|
case EKeyLeftArrow: // 14
|
||||||
key = XP_CURSOR_KEY_LEFT;
|
key = XP_CURSOR_KEY_LEFT;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue