mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
name changes
This commit is contained in:
parent
c53a37ea8e
commit
b870dabedd
1 changed files with 17 additions and 9 deletions
|
@ -35,30 +35,38 @@ typedef struct CeGamePrefs {
|
|||
/* phonies something */
|
||||
} CeGamePrefs;
|
||||
|
||||
typedef struct PrefsPrefs {
|
||||
typedef struct CePrefsPrefs {
|
||||
/* per-game */
|
||||
CeGamePrefs gp;
|
||||
|
||||
/* global */
|
||||
XP_Bool showColors;
|
||||
CommonPrefs cp;
|
||||
} PrefsPrefs;
|
||||
XP_Bool showColors;
|
||||
|
||||
#ifdef XWFEATURE_CE_EDITCOLORS
|
||||
COLORREF colors[NUM_EDITABLE_COLORS];
|
||||
#endif
|
||||
} CePrefsPrefs;
|
||||
|
||||
typedef struct PrefsDlgState {
|
||||
typedef struct CePrefsDlgState {
|
||||
CEAppGlobals* globals;
|
||||
CePrefsPrefs prefsPrefs;
|
||||
|
||||
XP_Bool userCancelled;
|
||||
//XP_Bool doGlobalPrefs; /* state of the radio */
|
||||
XP_Bool isNewGame;
|
||||
PrefsPrefs prefsPrefs;
|
||||
} PrefsDlgState;
|
||||
#ifdef XWFEATURE_CE_EDITCOLORS
|
||||
XP_Bool colorsChanged;
|
||||
#endif
|
||||
} CePrefsDlgState;
|
||||
|
||||
XP_Bool WrapPrefsDialog( HWND hDlg, CEAppGlobals* globals,
|
||||
PrefsDlgState* state, PrefsPrefs* prefsPrefs,
|
||||
CePrefsDlgState* state, CePrefsPrefs* prefsPrefs,
|
||||
XP_Bool isNewGame );
|
||||
void loadStateFromCurPrefs( const CEAppPrefs* appPrefs, const CurGameInfo* gi,
|
||||
PrefsPrefs* prefsPrefs );
|
||||
CePrefsPrefs* prefsPrefs );
|
||||
void loadCurPrefsFromState( CEAppPrefs* appPrefs, CurGameInfo* gi,
|
||||
const PrefsPrefs* prefsPrefs );
|
||||
const CePrefsPrefs* prefsPrefs );
|
||||
|
||||
LRESULT CALLBACK PrefsDlg(HWND, UINT, WPARAM, LPARAM);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue