|
|
| version 1.2, 2003/10/29 21:35:58 | version 1.5, 2005/02/09 20:11:36 |
|---|---|
| Line 6 | Line 6 |
| #endif | #endif |
| typedef struct { | typedef struct { |
| const char *title; | const OEMCHAR *title; |
| const char *ext; | const OEMCHAR *ext; |
| const char *filter; | const OEMCHAR *filter; |
| int defindex; | int defindex; |
| } FILESEL; | } FILESEL; |
| extern const char str_int0[]; | extern const OEMCHAR str_nc[]; |
| extern const char str_int1[]; | extern const OEMCHAR str_int0[]; |
| extern const char str_int2[]; | extern const OEMCHAR str_int1[]; |
| extern const char str_int4[]; | extern const OEMCHAR str_int2[]; |
| extern const char str_int5[]; | extern const OEMCHAR str_int4[]; |
| extern const char str_int6[]; | extern const OEMCHAR str_int5[]; |
| extern const OEMCHAR str_int6[]; | |
| #define SetDlgItemCheck(a, b, c) \ | #define SetDlgItemCheck(a, b, c) \ |
| SendDlgItemMessage((a), (b), BM_SETCHECK, (c), 0) | SendDlgItemMessage((a), (b), BM_SETCHECK, (c), 0) |
| Line 29 extern const char str_int6[]; | Line 30 extern const char str_int6[]; |
| (((a) + (b)) / 2) | (((a) + (b)) / 2) |
| #define SETLISTSTR(a, b, c) \ | #define SETLISTSTR(a, b, c) \ |
| dlgs_setliststr((a), (b), (c), sizeof((c))/sizeof(char *)) | dlgs_setliststr((a), (b), (c), sizeof((c))/sizeof(OEMCHAR *)) |
| #define SETnLISTSTR(a, b, c, d) \ | #define SETnLISTSTR(a, b, c, d) \ |
| dlgs_setliststr((a), (b), (c), (d)) | dlgs_setliststr((a), (b), (c), (d)) |
| Line 39 extern const char str_int6[]; | Line 40 extern const char str_int6[]; |
| BOOL dlgs_selectfile(HWND hWnd, const FILESEL *item, | BOOL dlgs_selectfile(HWND hWnd, const FILESEL *item, |
| char *path, UINT size, int *ro); | OEMCHAR *path, UINT size, int *ro); |
| BOOL dlgs_selectwritefile(HWND hWnd, const FILESEL *item, | BOOL dlgs_selectwritefile(HWND hWnd, const FILESEL *item, |
| char *path, UINT size); | OEMCHAR *path, UINT size); |
| BOOL dlgs_selectwritenum(HWND hWnd, const FILESEL *item, | BOOL dlgs_selectwritenum(HWND hWnd, const FILESEL *item, |
| char *path, UINT size); | OEMCHAR *path, UINT size); |
| void dlgs_browsemimpidef(HWND hWnd, WORD res); | void dlgs_browsemimpidef(HWND hWnd, UINT16 res); |
| void dlgs_setliststr(HWND hWnd, WORD res, const char **item, UINT items); | void dlgs_setliststr(HWND hWnd, UINT16 res, const OEMCHAR **item, UINT items); |
| void dlgs_setlistuint32(HWND hWnd, WORD res, const UINT32 *item, UINT items); | void dlgs_setlistuint32(HWND hWnd, UINT16 res, const UINT32 *item, UINT items); |
| void dlgs_setlistmidiout(HWND hWnd, WORD res, const char *defname); | void dlgs_setlistmidiout(HWND hWnd, UINT16 res, const OEMCHAR *defname); |
| void dlgs_setlistmidiin(HWND hWnd, WORD res, const char *defname); | void dlgs_setlistmidiin(HWND hWnd, UINT16 res, const OEMCHAR *defname); |
| void dlgs_linex(BYTE *image, int x, int y, int l, int align, BYTE c); | void dlgs_drawbmp(HDC hdc, UINT8 *bmp); |
| void dlgs_liney(BYTE *image, int x, int y, int l, int align, BYTE c); | |
| void dlgs_setjumperx(BYTE *image, int x, int y, int align); | |
| void dlgs_setjumpery(BYTE *image, int x, int y, int align); | |