#include <sys/stat.h>
#if !defined(_MSC_VER) && !defined(__WATCOMC__)
#include <dirent.h>
-#elif defined(__WATCOMC__)
+#elif defined(__WATCOMC__) || defined(_MSC_VER)
#include <direct.h>
#endif
+#ifdef _MSC_VER
+#include <windows.h>
+#endif
#include <stdlib.h>
#include <string.h>
#define GUI_TEWI_ORIGINAL 107
#define GUI_TEWI_DATE 108
#define GUI_LOG 109
-#define GUI_BUTTON_EXIT 104
-#define GUI_BUTTON_RESET 105
+#define GUI_BUTTON_EXIT 110
+#define GUI_BUTTON_RESET 111
+#define GUI_TEWI_WEBSITE 112
#define TIMER_WATCH_TEWI 1000
/* $Id$ */
#include <windows.h>
+
+#ifdef _MSC_VER
+#include <winresrc.h>
+#endif
+
#include "gui.h"
#include "tw_version.h"
{
LTEXT TW_VERSION_TEXT, GUI_TEWI_NAME, 42, 5, 192, 50
LTEXT "Original by Nishi <nishi@nishi.boats>", GUI_TEWI_ORIGINAL, 42, 5 + 8, 192, 50
- LTEXT "Website: http://nishi.boats/tewi", GUI_TEWI_ORIGINAL, 42, 5 + 8 * 2, 192, 50
+ LTEXT "Website: http://nishi.boats/tewi", GUI_TEWI_WEBSITE, 42, 5 + 8 * 2, 192, 50
DEFPUSHBUTTON "&OK", IDOK, 75, 35, 50, 10
}