diff --git a/wince/ceprefs.c b/wince/ceprefs.c index 0afca9d86..266878284 100755 --- a/wince/ceprefs.c +++ b/wince/ceprefs.c @@ -72,7 +72,7 @@ adjustForChoice( CePrefsDlgState* state ) HWND hDlg = state->dlgHdr.hDlg; XP_U16 goesWithGlobal[] = {IDC_CHECKCOLORPLAYED, IDC_LEFTYCHECK, IDC_CHECKSHOWCURSOR, IDC_CHECKROBOTSCORES, - IDC_PREFCOLORS + IDC_HIDETILEVALUES, IDC_PREFCOLORS #ifdef ALLOW_CHOOSE_FONTS ,IDC_PREFFONTS #endif @@ -195,6 +195,7 @@ loadControlsFromState( CePrefsDlgState* pState ) ceSetChecked( hDlg, IDC_CHECKSHOWCURSOR, prefsPrefs->cp.showBoardArrow ); ceSetChecked( hDlg, IDC_CHECKROBOTSCORES, prefsPrefs->cp.showRobotScores ); + ceSetChecked( hDlg, IDC_HIDETILEVALUES, prefsPrefs->cp.hideTileValues ); #ifdef FEATURE_TRAY_EDIT ceSetChecked( hDlg, IDC_PICKTILES, prefsPrefs->gp.allowPickTiles ); @@ -245,6 +246,7 @@ ceControlsToPrefs( CePrefsDlgState* state ) prefsPrefs->cp.showBoardArrow = ceGetChecked( hDlg, IDC_CHECKSHOWCURSOR ); prefsPrefs->cp.showRobotScores = ceGetChecked( hDlg, IDC_CHECKROBOTSCORES ); + prefsPrefs->cp.hideTileValues = ceGetChecked( hDlg, IDC_HIDETILEVALUES ); prefsPrefs->gp.timerEnabled = ceGetChecked( hDlg, TIMER_CHECK ); if ( prefsPrefs->gp.timerEnabled ) { diff --git a/wince/resource.h b/wince/resource.h index e229572d5..945068d79 100755 --- a/wince/resource.h +++ b/wince/resource.h @@ -69,18 +69,19 @@ #define IDC_CHECKHINTSOK 1041 #define IDC_CHECKSHOWCURSOR 1042 #define IDC_CHECKROBOTSCORES 1043 -#define IDC_PREFCOLORS 1044 -#define IDC_PREFFONTS 1100 -#define PHONIES_LABEL 1045 -#define IDC_ROLECOMBO 1046 -#define GIJUGGLE_BUTTON 1048 -#define IDC_TOTAL_LABEL 1049 -#define IDC_REMOTE_LABEL 1050 -#define IDC_PICKTILES 1051 -#define IDC_BPICK 1052 -#define IDC_PICKMSG 1053 +#define IDC_HIDETILEVALUES 1044 +#define IDC_PREFCOLORS 1045 +#define IDC_PREFFONTS 1046 +#define PHONIES_LABEL 1048 +#define IDC_ROLECOMBO 1049 +#define GIJUGGLE_BUTTON 1050 +#define IDC_TOTAL_LABEL 1051 +#define IDC_REMOTE_LABEL 1052 +#define IDC_PICKTILES 1053 +#define IDC_BPICK 1054 +#define IDC_PICKMSG 1055 #ifdef FEATURE_TRAY_EDIT -# define IDC_CPICK 1054 +# define IDC_CPICK 1100 # define IDC_BACKUP 1056 #endif #ifdef XWFEATURE_SEARCHLIMIT diff --git a/wince/xwords4.rc b/wince/xwords4.rc index 4b3d2b970..1ec592308 100755 --- a/wince/xwords4.rc +++ b/wince/xwords4.rc @@ -564,9 +564,11 @@ BEGIN BS_AUTOCHECKBOX | WS_TABSTOP,8,PR_ROW3,80,PREFS_ROW_HT CONTROL "Explain robot scores",IDC_CHECKROBOTSCORES,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,8,PR_ROW4,80,PREFS_ROW_HT - PUSHBUTTON "Edit colors...",IDC_PREFCOLORS,8,PR_ROW5,60,12 + CONTROL "Hide tile values",IDC_HIDETILEVALUES,"Button", + BS_AUTOCHECKBOX | WS_TABSTOP,8,PR_ROW5,80,PREFS_ROW_HT + PUSHBUTTON "Edit colors...",IDC_PREFCOLORS,8,PR_ROW6,60,12 #ifdef ALLOW_CHOOSE_FONTS - PUSHBUTTON "Choose font...",IDC_PREFFONTS,8,PR_ROW6,60,12 + PUSHBUTTON "Choose font...",IDC_PREFFONTS,8,PR_ROW7,60,12 #endif /* Per game */