mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +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
|
#endif
|
||||||
END /* XW_MAIN_FORM */
|
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/"
|
STRING ID 1000 "/palm/programs/Crosswords/"
|
||||||
|
|
||||||
APPLICATIONICONNAME ID 1000 ICONTEXT
|
APPLICATIONICONNAME ID 1000 ICONTEXT
|
||||||
|
|
|
@ -2462,13 +2462,15 @@ mainViewHandleEvent( EventPtr event )
|
||||||
if ( ch < 255 && ch > ' ' ) {
|
if ( ch < 255 && ch > ' ' ) {
|
||||||
draw = board_handleKey( globals->game.board, ch );
|
draw = board_handleKey( globals->game.board, ch );
|
||||||
if ( !draw && ch >= 'a' ) {
|
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 ) {
|
if ( xpkey != XP_KEY_NONE ) {
|
||||||
draw = board_handleKey( globals->game.board, xpkey );
|
draw = board_handleKey( globals->game.board, xpkey );
|
||||||
}
|
}
|
||||||
|
handled = draw;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue