Mercurial > wgsdk
comparison src/include/dialog.rc @ 1:7abb5d8b20ea v1.0
Initial commit: part 2
I added a config GUI, and actual stuff to the README.
The GUI was 'made' in Visual Studio, but I trimmed down the
resource file because it had weird VS2010 skid marks all over it.
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 07 Aug 2022 10:23:10 -0400 |
parents | |
children | 712c7fd6702a |
comparison
equal
deleted
inserted
replaced
0:d91dfd53b8b4 | 1:7abb5d8b20ea |
---|---|
1 #include "resource.h" | |
2 #include "winres.h" | |
3 | |
4 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) | |
5 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US | |
6 | |
7 #ifdef APSTUDIO_INVOKED | |
8 | |
9 1 TEXTINCLUDE | |
10 BEGIN | |
11 "resource.h\0" | |
12 END | |
13 | |
14 2 TEXTINCLUDE | |
15 BEGIN | |
16 "\0" | |
17 END | |
18 | |
19 3 TEXTINCLUDE | |
20 BEGIN | |
21 "\r\n" | |
22 "\0" | |
23 END | |
24 | |
25 #endif // APSTUDIO_INVOKED | |
26 | |
27 DIALOG_CONFIG DIALOGEX 0, 0, 262, 71 | |
28 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU | |
29 CAPTION "GameSDK Config" | |
30 FONT 8, "MS Shell Dlg", 400, 0, 0x1 | |
31 BEGIN | |
32 DEFPUSHBUTTON "OK",IDOK,149,50,50,14 | |
33 PUSHBUTTON "Cancel",IDCANCEL,205,50,50,14 | |
34 CONTROL "Show title in details",TITLE_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,7,77,10 | |
35 CONTROL "Show elapsed time in presence",ELAPSED_TIME_CHECK, | |
36 "Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,20,114,10 | |
37 END | |
38 | |
39 #ifdef APSTUDIO_INVOKED | |
40 GUIDELINES DESIGNINFO | |
41 BEGIN | |
42 DIALOG_CONFIG, DIALOG | |
43 BEGIN | |
44 LEFTMARGIN, 7 | |
45 RIGHTMARGIN, 255 | |
46 TOPMARGIN, 7 | |
47 BOTTOMMARGIN, 64 | |
48 END | |
49 END | |
50 #endif // APSTUDIO_INVOKED | |
51 | |
52 #endif |