2009-10-12 03:35:35 +00:00
|
|
|
/* Some typedefs for appearance */
|
|
|
|
|
|
|
|
/* This is the global structure used to store the current values.
|
|
|
|
A pointer of this get's passed to the functions either directly
|
|
|
|
or by passing hwnd and getting the pointer by GetWindowLongPtr */
|
|
|
|
typedef struct tagGLOBALS
|
|
|
|
{
|
2010-07-04 16:40:03 +00:00
|
|
|
INT ThemeId; /* Theme is customized if ThemeId == -1 */
|
2009-10-12 03:35:35 +00:00
|
|
|
THEME Theme;
|
|
|
|
THEME ThemeAdv;
|
2010-07-04 16:40:03 +00:00
|
|
|
BOOL bHasChanged;
|
2009-10-12 03:35:35 +00:00
|
|
|
HBITMAP hbmpColor[3];
|
|
|
|
INT CurrentElement;
|
|
|
|
HFONT hBoldFont;
|
|
|
|
HFONT hItalicFont;
|
2010-07-04 16:40:03 +00:00
|
|
|
BOOL bInitializing;
|
2009-10-12 03:35:35 +00:00
|
|
|
} GLOBALS;
|
|
|
|
|
|
|
|
/* prototypes for appearance.c */
|
|
|
|
INT_PTR CALLBACK AppearancePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
|
|
|
|
|
|
/* prototypes for advappdlg.c */
|
|
|
|
INT_PTR CALLBACK AdvAppearanceDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
|
|
|
|
|
|
/* prototypes for effappdlg.c */
|
|
|
|
INT_PTR CALLBACK EffAppearanceDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|