X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=windows%2Fwinstuff.h;h=1ecf6dcb7405e26126a1f9b9e392405bffcc16e5;hb=162d04d360d8d70269ad17a02d44a983cb8dbfef;hp=28dd08dbc70f2540fed86496a7fac3802122afba;hpb=182a511ec3dce0b726be5df4e8e16af605ec4f6a;p=PuTTY.git diff --git a/windows/winstuff.h b/windows/winstuff.h index 28dd08db..1ecf6dcb 100644 --- a/windows/winstuff.h +++ b/windows/winstuff.h @@ -138,6 +138,15 @@ GLOBAL void *logctx; #define FILTER_WAVE_FILES ("Wave Files (*.wav)\0*.WAV\0" \ "All Files (*.*)\0*\0\0\0") +/* + * On some versions of Windows, it has been known for WM_TIMER to + * occasionally get its callback time simply wrong, and call us + * back several minutes early. Defining these symbols enables + * compensation code in timing.c. + */ +#define TIMING_SYNC +#define TIMING_SYNC_TICKCOUNT + /* * winnet.c dynamically loads WinSock 2 or WinSock 1 depending on * what it can get, which means any WinSock routines used outside @@ -222,7 +231,8 @@ HWND doctl(struct ctlpos *cp, RECT r, void bartitle(struct ctlpos *cp, char *name, int id); void beginbox(struct ctlpos *cp, char *name, int idbox); void endbox(struct ctlpos *cp); -void multiedit(struct ctlpos *cp, int password, ...); +void editboxfw(struct ctlpos *cp, int password, char *text, + int staticid, int editid); void radioline(struct ctlpos *cp, char *text, int id, int nacross, ...); void bareradioline(struct ctlpos *cp, int nacross, ...); void radiobig(struct ctlpos *cp, char *text, int id, ...);