|
15 | 15 | #include <shlobj.h> |
16 | 16 | #include "../config.h" |
17 | 17 |
|
18 | | -#define TCLOCKVERSION "TClock Light kt160827" |
| 18 | +#define TCLOCKVERSION "TClock Light kt160828" |
19 | 19 |
|
20 | 20 | #define CLASS_TCLOCKMAIN "TClockMainClass" |
21 | 21 | #define CLASS_TCLOCKPROP "TClockPropertyClass" |
@@ -177,8 +177,7 @@ void InitColorCombo(HWND hDlg, int idCombo, |
177 | 177 | const COLORREF *pColAdd, int nAdd, COLORREF colDef); |
178 | 178 | void OnMeasureItemColorCombo(LPMEASUREITEMSTRUCT pmis); |
179 | 179 | void OnDrawItemColorCombo(LPDRAWITEMSTRUCT pdis, char (*pTexts)[80]); |
180 | | -void ChooseColorWithCombo(HINSTANCE hInst, HWND hDlg, |
181 | | - int idCombo); |
| 180 | +BOOL ChooseColorWithCombo(HWND hDlg, int idCombo); |
182 | 181 | void InitFontNameCombo(HWND hDlg, int idCombo, const char* deffont); |
183 | 182 | void InitFontSizeCombo(HWND hDlg, int idCombo, |
184 | 183 | const char *fontname, int charset); |
@@ -249,9 +248,9 @@ int r_strnicmp(const char* d, const char* s, size_t n); |
249 | 248 | int r_atoi(const char *p); |
250 | 249 | int r_atox(const char *p); |
251 | 250 | int r__wtoi(const WCHAR *p); |
252 | | -int r_wcslen(const wchar_t *p); |
| 251 | +size_t r_wcslen(const wchar_t *p); |
253 | 252 | wchar_t *r_wcscpy(wchar_t *dp, const wchar_t *sp); |
254 | | -int r_wcsncmp(const wchar_t *p1, const wchar_t *p2, int count); |
| 253 | +int r_wcsncmp(const wchar_t *p1, const wchar_t *p2, size_t count); |
255 | 254 | wchar_t *r_wcscat(wchar_t *dp, const wchar_t *sp); |
256 | 255 | wchar_t *r_wcsstr(const wchar_t *string, const wchar_t *strCharSet); |
257 | 256 |
|
@@ -331,7 +330,6 @@ DWORDLONG r_M32x32to64(DWORD a, DWORD b); |
331 | 330 |
|
332 | 331 | BOOL PlayFile(HWND hwnd, const char *fname, int loops); |
333 | 332 | BOOL PlayFileCmdLine(HWND hwnd, const char *str); |
334 | | -BOOL Player(HWND hwnd, const char *fname); |
335 | 333 | void StopFile(void); |
336 | 334 | void OnMCINotify(HWND hwnd, WPARAM wFlags, LONG lDevID); |
337 | 335 | BOOL IsSoundFile(const char* fname); |
|
0 commit comments