mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-06 20:45:54 +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 */
|
/* phonies something */
|
||||||
} CeGamePrefs;
|
} CeGamePrefs;
|
||||||
|
|
||||||
typedef struct PrefsPrefs {
|
typedef struct CePrefsPrefs {
|
||||||
/* per-game */
|
/* per-game */
|
||||||
CeGamePrefs gp;
|
CeGamePrefs gp;
|
||||||
|
|
||||||
/* global */
|
/* global */
|
||||||
XP_Bool showColors;
|
|
||||||
CommonPrefs cp;
|
CommonPrefs cp;
|
||||||
} PrefsPrefs;
|
XP_Bool showColors;
|
||||||
|
|
||||||
typedef struct PrefsDlgState {
|
#ifdef XWFEATURE_CE_EDITCOLORS
|
||||||
|
COLORREF colors[NUM_EDITABLE_COLORS];
|
||||||
|
#endif
|
||||||
|
} CePrefsPrefs;
|
||||||
|
|
||||||
|
typedef struct CePrefsDlgState {
|
||||||
CEAppGlobals* globals;
|
CEAppGlobals* globals;
|
||||||
|
CePrefsPrefs prefsPrefs;
|
||||||
|
|
||||||
XP_Bool userCancelled;
|
XP_Bool userCancelled;
|
||||||
//XP_Bool doGlobalPrefs; /* state of the radio */
|
//XP_Bool doGlobalPrefs; /* state of the radio */
|
||||||
XP_Bool isNewGame;
|
XP_Bool isNewGame;
|
||||||
PrefsPrefs prefsPrefs;
|
#ifdef XWFEATURE_CE_EDITCOLORS
|
||||||
} PrefsDlgState;
|
XP_Bool colorsChanged;
|
||||||
|
#endif
|
||||||
|
} CePrefsDlgState;
|
||||||
|
|
||||||
XP_Bool WrapPrefsDialog( HWND hDlg, CEAppGlobals* globals,
|
XP_Bool WrapPrefsDialog( HWND hDlg, CEAppGlobals* globals,
|
||||||
PrefsDlgState* state, PrefsPrefs* prefsPrefs,
|
CePrefsDlgState* state, CePrefsPrefs* prefsPrefs,
|
||||||
XP_Bool isNewGame );
|
XP_Bool isNewGame );
|
||||||
void loadStateFromCurPrefs( const CEAppPrefs* appPrefs, const CurGameInfo* gi,
|
void loadStateFromCurPrefs( const CEAppPrefs* appPrefs, const CurGameInfo* gi,
|
||||||
PrefsPrefs* prefsPrefs );
|
CePrefsPrefs* prefsPrefs );
|
||||||
void loadCurPrefsFromState( CEAppPrefs* appPrefs, CurGameInfo* gi,
|
void loadCurPrefsFromState( CEAppPrefs* appPrefs, CurGameInfo* gi,
|
||||||
const PrefsPrefs* prefsPrefs );
|
const CePrefsPrefs* prefsPrefs );
|
||||||
|
|
||||||
LRESULT CALLBACK PrefsDlg(HWND, UINT, WPARAM, LPARAM);
|
LRESULT CALLBACK PrefsDlg(HWND, UINT, WPARAM, LPARAM);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue