forked from QianMo/GPU-Gems-Book-Source-Code
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bLois.rc
184 lines (152 loc) · 5.65 KB
/
bLois.rc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#define IDC_STATIC -1
#include <windows.h>
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_MAIN_ICON ICON DISCARDABLE "DirectX.ico"
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#define IDC_STATIC -1\r\n"
"#include <windows.h>\r\n"
"\r\n"
"\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
IDR_MAIN_ACCEL ACCELERATORS DISCARDABLE
BEGIN
VK_ESCAPE, IDM_EXIT, VIRTKEY, NOINVERT
VK_F2, IDM_CHANGEDEVICE, VIRTKEY, NOINVERT
VK_RETURN, IDM_TOGGLEFULLSCREEN, VIRTKEY, ALT, NOINVERT
"X", IDM_EXIT, VIRTKEY, ALT, NOINVERT
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
IDD_SELECTDEVICE, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 259
TOPMARGIN, 7
BOTTOMMARGIN, 143
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_SELECTDEVICE DIALOG DISCARDABLE 0, 0, 289, 302
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Direct3D Settings"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Adapter and device",IDC_STATIC,5,5,276,47
LTEXT "Display &Adapter:",IDC_STATIC,16,17,98,10,
SS_CENTERIMAGE
COMBOBOX IDC_ADAPTER_COMBO,124,15,149,100,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
LTEXT "Render &Device:",IDC_STATIC,16,34,98,10,SS_CENTERIMAGE
COMBOBOX IDC_DEVICE_COMBO,124,32,149,100,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
GROUPBOX "Display mode settings",IDC_STATIC,5,56,276,98
CONTROL "&Windowed",IDC_WINDOW,"Button",BS_AUTORADIOBUTTON |
WS_GROUP | WS_TABSTOP,16,68,98,15
CONTROL "&Fullscreen",IDC_FULLSCREEN,"Button",BS_AUTORADIOBUTTON,
16,83,98,15
LTEXT "Adapter F&ormat:",IDC_STATIC,16,103,98,8
COMBOBOX IDC_ADAPTERFORMAT_COMBO,124,101,149,204,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_GROUP | WS_TABSTOP
LTEXT "&Resolution:",IDC_STATIC,16,120,98,8
COMBOBOX IDC_RESOLUTION_COMBO,124,118,149,204,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_GROUP | WS_TABSTOP
LTEXT "R&efresh Rate:",IDC_STATIC,16,137,98,8
COMBOBOX IDC_REFRESHRATE_COMBO,124,135,149,204,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_GROUP | WS_TABSTOP
GROUPBOX "Device settings",IDC_STATIC,7,158,274,118
LTEXT "&Back Buffer Format:",IDC_STATIC,16,173,98,8
COMBOBOX IDC_BACKBUFFERFORMAT_COMBO,124,170,149,100,
CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "De&pth/Stencil Buffer Format:",IDC_STATIC,16,190,98,8
COMBOBOX IDC_DEPTHSTENCILBUFFERFORMAT_COMBO,124,187,149,100,
CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "&Multisample Type:",IDC_STATIC,16,207,98,10,
SS_CENTERIMAGE
COMBOBOX IDC_MULTISAMPLE_COMBO,124,204,149,100,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
LTEXT "Multisample &Quality:",IDC_STATIC,16,224,98,8
COMBOBOX IDC_MULTISAMPLE_QUALITY_COMBO,124,221,149,100,
CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "&Vertex Processing:",IDC_STATIC,16,241,98,8
COMBOBOX IDC_VERTEXPROCESSING_COMBO,124,238,149,100,
CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Present &Interval:",IDC_STATIC,16,258,98,8
COMBOBOX IDC_PRESENTINTERVAL_COMBO,124,255,149,100,
CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
DEFPUSHBUTTON "OK",IDOK,86,286,50,14
PUSHBUTTON "Cancel",IDCANCEL,152,286,50,14
END
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDR_MENU MENU DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
MENUITEM "Config &display...\tF2", IDM_CHANGEDEVICE
MENUITEM SEPARATOR
MENUITEM "E&xit\tESC", IDM_EXIT
END
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED