Changeset 249 in Main for trunk/Server
- Timestamp:
- Oct 4, 2024, 5:59:55 AM (6 weeks ago)
- Location:
- trunk/Server
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
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);
Note:
See TracChangeset
for help on using the changeset viewer.