[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Lynx-dev] LYmsec_delay() function
From: |
Gisle Vanem |
Subject: |
[Lynx-dev] LYmsec_delay() function |
Date: |
Sat, 18 Sep 2004 15:55:00 +0200 |
Bela, Tom,
I've added this function based on HTAlert.c etc. And used that in
LYMainLoop.c (disregard my previous patch).
The SEC2SEC macro is indeed confusing. Can't we use millisec for all
timeouts and use LYmsec_delay() instead?
BTW. I spent some time figuring out why the djgpp/S-Lang version didn't
work with the mouse under Win-XP. The cause was I had
DJGPP_KEYHANDLER defined. I suggest this patch/message:
--- orig/src/lycurses.c Thu Jul 1 01:55:04 2004
+++ src/lycurses.c Sat Sep 18 15:08:56 2004
@@ -58,6 +58,10 @@
#define COLOR_BKGD ((COLOR_PAIRS >= 9) ? get_color_pair(9) : A_NORMAL)
#endif
+#if defined(DJGPP_KEYHANDLER) && defined(USE_SLANG) && defined(USE_MOUSE)
+#error Cannot use DJGPP_KEYHANDLER with USE_SLANG/USE_MOUSE
+#endif
+
#ifdef USE_CURSES_PADS
WINDOW *LYwin = 0;
int LYshiftWin = 0;
-------
--gv
DIFFS.TXT
Description: Text document
- [Lynx-dev] LYmsec_delay() function,
Gisle Vanem <=