mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-29 10:26:36 +01:00
Simple fnav resource for main form: a start
This commit is contained in:
parent
935f87979e
commit
7c2e09cca5
2 changed files with 19 additions and 1 deletions
|
@ -131,6 +131,22 @@ BEGIN
|
|||
#endif
|
||||
END /* XW_MAIN_FORM */
|
||||
|
||||
#ifdef XWFEATURE_FIVEWAY
|
||||
NAVIGATION ID XW_MAIN_FORM
|
||||
INITIALSTATE kFrmNavHeaderFlagsObjectFocusStartState
|
||||
INITIALOBJECTID XW_MAIN_FLIP_BUTTON_ID
|
||||
BEGIN
|
||||
ID XW_MAIN_FLIP_BUTTON_ID
|
||||
ID XW_MAIN_VALUE_BUTTON_ID
|
||||
ID XW_MAIN_HINT_BUTTON_ID
|
||||
ID XW_MAIN_SHOWTRAY_BUTTON_ID
|
||||
ID XW_MAIN_HIDE_BUTTON_ID
|
||||
ID XW_MAIN_JUGGLE_BUTTON_ID
|
||||
ID XW_MAIN_TRADE_BUTTON_ID
|
||||
ID XW_MAIN_DONE_BUTTON_ID
|
||||
END
|
||||
#endif
|
||||
|
||||
STRING ID 1000 "/palm/programs/Crosswords/"
|
||||
|
||||
APPLICATIONICONNAME ID 1000 ICONTEXT
|
||||
|
|
|
@ -2462,13 +2462,15 @@ mainViewHandleEvent( EventPtr event )
|
|||
if ( ch < 255 && ch > ' ' ) {
|
||||
draw = board_handleKey( globals->game.board, ch );
|
||||
if ( !draw && ch >= 'a' ) {
|
||||
draw = board_handleKey( globals->game.board, ch - ('a' - 'A') );
|
||||
draw = board_handleKey( globals->game.board,
|
||||
ch - ('a' - 'A') );
|
||||
}
|
||||
}
|
||||
}
|
||||
if ( xpkey != XP_KEY_NONE ) {
|
||||
draw = board_handleKey( globals->game.board, xpkey );
|
||||
}
|
||||
handled = draw;
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue