- Timestamp:
- Oct 4, 2024, 5:59:55 AM (6 weeks ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Platform/vc6.mk
r244 r249 14 14 LIBSUF = .dll 15 15 OBJ = obj 16 PREOBJS = tewi_vc6.res gui_vc6.res16 PREOBJS = vc6.res -
trunk/Server/Makefile
r244 r249 49 49 $(WINDRES) tewi.rc -O coff -o $@ 50 50 51 tewi_vc6.res: tewi.rc ../Binary/tewi.ico52 rc /fo$@ tewi.rc53 54 51 tewi_bcc.res: tewi.rc ../Binary/tewi.ico 55 52 brc32 -r -fo$@ tewi.rc … … 58 55 $(WINDRES) gui.rc -O coff -o $@ 59 56 60 gui_vc6.res: gui.rc gui.h61 rc /fo$@ gui.rc62 63 57 gui_bcc.res: gui.rc gui.h 64 58 brc32 -r -fo$@ gui.rc 65 59 60 vc6.res: tewi.rc gui.rc 61 cat tewi.rc gui.rc > concat.rc 62 rc /fo$@ concat.rc 63 rm -f concat.rc 64 66 65 clean: 67 rm -f *.o tewi *.exe *.res *.elf *.sfo *.pbp *.self *.pkg *.obj 66 rm -f *.o tewi *.exe *.res *.elf *.sfo *.pbp *.self *.pkg *.obj concat.rc -
trunk/Server/gui.c
r244 r249 60 60 ShowBitmapSize(hWnd, hdc, "TEWILOGO", size.left, size.top, WINWIDTH(size), WINWIDTH(size)); 61 61 EndPaint(hWnd, &ps); 62 }else if(msg == WM_CTLCOLORDLG || msg == WM_CTLCOLORSTATIC){ 63 HDC dc = (HDC)wp; 64 SetBkMode(dc, TRANSPARENT); 65 return GetSysColorBrush(COLOR_MENU); 62 66 }else{ 63 67 return FALSE; … … 80 84 if(trig == GUI_BUTTON_ABOUT){ 81 85 if(ev == BN_CLICKED){ 82 DialogBox(hInst, "VERSIONDLG", hWnd, VersionDialog);86 DialogBox(hInst, "VERSIONDLG", hWnd, (DLGPROC)VersionDialog); 83 87 } 84 88 }else if(trig == GUI_BUTTON_START){ -
trunk/Server/gui.rc
r244 r249 5 5 #include "tw_version.h" 6 6 7 PBTEWI BITMAP ".. /Binary/pbtewi.bmp"7 PBTEWI BITMAP "..\\Binary\\pbtewi.bmp" 8 8 TEWILOGO BITMAP "../Binary/tewi.bmp" 9 9 … … 12 12 CAPTION "Version Information" 13 13 { 14 LTEXT "Tewi HTTPd version " TW_VERSION, GUI_TEWI_NAME, 42, 5, 192, 5014 LTEXT TW_VERSION_TEXT, GUI_TEWI_NAME, 42, 5, 192, 50 15 15 LTEXT "Original by Nishi <nishi@nishi.boats>", GUI_TEWI_ORIGINAL, 42, 5 + 8, 192, 50 16 LTEXT "Compilation date: " __DATE__ " " __TIME__, GUI_TEWI_DATE, 42, 5 + 8 + 8, 192, 5017 16 DEFPUSHBUTTON "&OK", IDOK, 75, 35, 50, 10 18 17 } -
trunk/Server/main.c
r244 r249 8 8 9 9 #pragma resource "tewi_bcc.res" 10 10 11 #pragma resource "gui_bcc.res" 11 12 -
trunk/Server/tw_version.h
r209 r249 9 9 10 10 #define TW_VERSION "2.03D\0" 11 #define TW_VERSION_TEXT "Tewi HTTPd version 2.03D" 11 12 12 13 const char* tw_get_version(void); -
trunk/Tool/option.c
r244 r249 54 54 #ifdef BUILD_GUI 55 55 printf(" -lcomctl32"); 56 printf(" -luser32"); 56 57 #endif 57 58 }else if(strcmp(argv[3], "WINDOWS_WATCOM") == 0){ … … 63 64 #ifdef BUILD_GUI 64 65 printf(" comctl32.lib"); 66 printf(" user32.lib"); 65 67 #endif 66 68 } -
trunk/bcc.sh
r240 r249 29 29 options="$options -tWD" 30 30 shared=1 31 elif [ "$i" = "-mwindows" ]; then 32 options="$options -tW" 31 33 elif [ "`echo "$i" | grep -Eo "^-D"`" = "-D" ]; then 32 34 options="$options -`echo "$i" | sed "s/^-//g"`" 33 35 elif [ "`echo "$i" | grep -Eo "^-l"`" = "-l" ]; then 34 if [ ! "$i" = "-lwsock32" ]; then36 if [ ! "$i" = "-lwsock32" -a ! "$i" = "-luser32" -a ! "$i" = "-lcomctl32" ]; then 35 37 libraries="$libraries `echo "$i" | sed "s/^-l//g"`.lib" 36 38 fi -
trunk/vc6.sh
r222 r249 7 7 options="/I../VC6Compat" 8 8 obj=0 9 win=0 9 10 source="" 10 11 libraries="" … … 27 28 elif [ "$i" = "-shared" ]; then 28 29 options="$options /LD" 30 elif [ "$i" = "-mwindows" ]; then 31 win=1 29 32 elif [ "`echo "$i" | grep -Eo "^-D"`" = "-D" ]; then 30 33 options="$options /`echo "$i" | sed "s/^-//g"`" 31 34 elif [ "`echo "$i" | grep -Eo "^-l"`" = "-l" ]; then 35 if [ "$i" = "-luser32" ]; then 36 libraries="$libraries gdi32.lib" 37 fi 32 38 libraries="$libraries `echo "$i" | sed "s/^-l//g"`.lib" 33 39 elif [ "$dowhat" = "output" ]; then … … 49 55 link="/link /nodefaultlib:libc $libraries" 50 56 fi 57 if [ "$obj" = "0" ]; then 58 if [ "$win" = "1" ]; then 59 link="$link /SUBSYSTEM:windows" 60 fi 61 fi 51 62 construct="cl /nologo $options $source $link" 52 63 echo "Run: $construct"
Note:
See TracChangeset
for help on using the changeset viewer.