-
Notifications
You must be signed in to change notification settings - Fork 1
/
MenuStats.rc
283 lines (243 loc) · 20.6 KB
/
MenuStats.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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
// Microsoft Visual C++ generated resource script.
//
#include "Menu.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (United States) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"Menu.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
STATISTICS DIALOGEX 0, 0, 316, 172
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Statistics"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
GROUPBOX "Frames Resent",IDC_STATIC,157,6,149,16,WS_GROUP
GROUPBOX "Download Rate",IDC_STATIC,7,38,149,16
LTEXT "0",IDC_DRATE,96,43,43,8,0,WS_EX_RIGHT
LTEXT "bps",IDC_STATIC,139,43,13,8,0,WS_EX_RIGHT
GROUPBOX "Upload Rate",IDC_STATIC,7,54,149,16
LTEXT "0",IDC_URATE,96,59,43,8,0,WS_EX_RIGHT
LTEXT "bps",IDC_STATIC,140,59,13,8,0,WS_EX_RIGHT
GROUPBOX "Overall Download Rate",IDC_STATIC,7,71,149,16
LTEXT "0",IDC_ODRATE,96,76,43,8,0,WS_EX_RIGHT
LTEXT "bps",IDC_STATIC,140,76,13,8,0,WS_EX_RIGHT
GROUPBOX "Effective Download Rate",IDC_STATIC,157,38,152,16
LTEXT "0",IDC_EDRATE,249,43,43,8,0,WS_EX_RIGHT
LTEXT "bps",IDC_STATIC,293,43,13,8,0,WS_EX_RIGHT
GROUPBOX "Effective Upload Rate",IDC_STATIC,157,54,152,16
LTEXT "0",IDC_EURATE,249,59,43,8,0,WS_EX_RIGHT
LTEXT "bps",IDC_STATIC,293,59,13,8,0,WS_EX_RIGHT
GROUPBOX "Effective ODR",IDC_STATIC,157,71,152,16
LTEXT "0",IDC_EODRATE,249,76,43,8,0,WS_EX_RIGHT
LTEXT "bps",IDC_STATIC,293,76,13,8,0,WS_EX_RIGHT
LTEXT "0",IDC_FRAMES_RESENT,245,12,33,8,0,WS_EX_RIGHT
LTEXT "frames",IDC_STATIC,279,12,24,8,0,WS_EX_RIGHT
GROUPBOX "ACKs Sent",IDC_STATIC,8,103,149,16
LTEXT "0",IDC_ACKSENT,87,109,48,8,0,WS_EX_RIGHT
LTEXT "ACKs",IDC_STATIC,137,109,17,8,0,WS_EX_RIGHT
GROUPBOX "ACKs Received",IDC_STATIC,158,103,152,16
LTEXT "0",IDC_ACKRECEIVED,241,109,48,8,0,WS_EX_RIGHT
LTEXT "ACKs",IDC_STATIC,291,109,17,8,0,WS_EX_RIGHT
GROUPBOX "EOTs Sent",IDC_STATIC,8,119,149,16
LTEXT "0",IDC_EOTSENT,87,125,48,8,0,WS_EX_RIGHT
LTEXT "EOTs",IDC_STATIC,137,125,17,8,0,WS_EX_RIGHT
GROUPBOX "EOTs Received",IDC_STATIC,158,119,152,16
LTEXT "0",IDC_EOTRECEIVED,241,125,48,8,0,WS_EX_RIGHT
LTEXT "EOTs",IDC_STATIC,291,125,17,8,0,WS_EX_RIGHT
GROUPBOX "RVIs Sent",IDC_STATIC,8,135,149,16
LTEXT "0",IDC_RVISENT,89,141,48,8,0,WS_EX_RIGHT
LTEXT "RVIs",IDC_STATIC,137,141,17,8,0,WS_EX_RIGHT
GROUPBOX "RVIs Received",IDC_STATIC,158,135,152,16
LTEXT "0",IDC_RVIRECEIVED,243,141,48,8,0,WS_EX_RIGHT
LTEXT "RVIs",IDC_STATIC,291,141,17,8,0,WS_EX_RIGHT
PUSHBUTTON "Clear Stats",IDC_CLEAR_STATS,119,154,72,18
GROUPBOX "Frames Sent",IDC_STATIC,7,6,149,16
LTEXT "0",IDC_FRAMESENT,80,11,48,8,0,WS_EX_RIGHT
LTEXT "frames",IDC_STATIC,129,11,24,8,0,WS_EX_RIGHT
GROUPBOX "Frames Received",IDC_STATIC,7,22,149,16
LTEXT "0",IDC_FRAMEREC,82,28,48,8,0,WS_EX_RIGHT
LTEXT "frames",IDC_STATIC,130,28,24,8,0,WS_EX_RIGHT
GROUPBOX "Frames Discarded",IDC_STATIC,157,22,152,16
LTEXT "0",IDC_FRAME_DISCARDED,235,28,48,8,0,WS_EX_RIGHT
LTEXT "frames",IDC_STATIC,283,28,24,8,0,WS_EX_RIGHT
GROUPBOX "Overall Upload Rate",IDC_STATIC,8,87,149,16
LTEXT "0",IDC_OURATE,97,93,43,8,0,WS_EX_RIGHT
LTEXT "bps",IDC_STATIC,141,93,13,8,0,WS_EX_RIGHT
GROUPBOX "Effective OUR",IDC_STATIC,158,87,152,16
LTEXT "0",IDC_EOURATE,250,93,43,8,0,WS_EX_RIGHT
LTEXT "bps",IDC_STATIC,294,93,13,8,0,WS_EX_RIGHT
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
"STATISTICS", DIALOG
BEGIN
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON2 ICON "icon2.ico"
#endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// English (Canada) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENC)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_CAN
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
DEBUG DIALOGEX 0, 0, 393, 282
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Debugger"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
CONTROL 103,IDC_STATIC_IDLE,"Static",SS_BITMAP | SS_REALSIZEIMAGE,31,71,38,35
CONTROL 104,IDC_STATIC_T1,"Static",SS_BITMAP | SS_REALSIZEIMAGE,103,27,38,35
CONTROL 105,IDC_STATIC_T2,"Static",SS_BITMAP,178,25,38,35,WS_EX_TRANSPARENT
CONTROL 106,IDC_STATIC_T3,"Static",SS_BITMAP,253,25,38,35
CONTROL 107,IDC_STATIC_R1,"Static",SS_BITMAP,104,109,38,35
CONTROL 108,IDC_STATIC_R2,"Static",SS_BITMAP,180,109,38,35
CONTROL 109,IDC_STATIC_R3,"Static",SS_BITMAP,255,108,38,35
GROUPBOX "Protocol Status",IDC_STATIC,10,10,370,156
CONTROL 110,IDC_STATIC_R4,"Static",SS_BITMAP,317,108,38,35
PUSHBUTTON "Send ENQ",IDC_BUTTONENQ,17,181,68,21
PUSHBUTTON "Send ACK",IDC_BUTTONACK,102,181,68,20
PUSHBUTTON "Send RVI",IDC_BUTTONRVI,102,210,68,20
PUSHBUTTON "FRAME0",IDC_BUTTONF1,187,181,91,27
PUSHBUTTON "FRAME1",IDC_BUTTONF2,187,217,91,26
PUSHBUTTON "Send EOT",IDC_BUTTONEOT,17,210,67,20
PUSHBUTTON "Start Debugging",IDC_DEBUGSTART,54,239,80,26
PUSHBUTTON "Bad CRC FRAME",IDC_BUTTONF3,287,181,91,27
PUSHBUTTON "Remove Frame",IDC_BUTTONF4,287,217,91,26
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
"DEBUG", DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 386
TOPMARGIN, 7
BOTTOMMARGIN, 275
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON1 ICON "baby2.ICO"
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
MYMENU MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&Connect", IDM_CONNECT
MENUITEM "&Disconnect", IDM_DISCONNECT, GRAYED
MENUITEM "E&xit", IDM_EXIT
END
POPUP "&Settings"
BEGIN
POPUP "&Connect Using"
BEGIN
MENUITEM "COM1", IDM_COM1
MENUITEM "COM2", IDM_COM2
MENUITEM "COM3", IDM_COM3, CHECKED
MENUITEM "COM4", IDM_COM4
MENUITEM "COM5", IDM_COM5
MENUITEM "COM6", IDM_COM6
MENUITEM "COM7", IDM_COM7
MENUITEM "COM8", IDM_COM8
MENUITEM "COM9", IDM_COM9
END
MENUITEM "&COMM Settings", IDM_COMMSET
END
POPUP "&View"
BEGIN
MENUITEM "&Statistics", IDM_STATISTICS
MENUITEM "&Debugger", IDM_DEBUGGER
END
POPUP "Open"
BEGIN
MENUITEM "Transmit File", ID_OPEN_TRANSMITFILE
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
IDB_IDLE BITMAP "idle.bmp"
IDB_T1 BITMAP "T1.bmp"
IDB_T2 BITMAP "T2.bmp"
IDB_T3 BITMAP "T3.bmp"
IDB_R1 BITMAP "R1.bmp"
IDB_R2 BITMAP "R2.bmp"
IDB_R3 BITMAP "R3.bmp"
IDB_R4 BITMAP "R4.bmp"
IDB_IDLE2 BITMAP "idle2.bmp"
IDB_R1_2 BITMAP "R1_2.bmp"
IDB_R2_2 BITMAP "R2_2.bmp"
IDB_R3_2 BITMAP "R3_2.bmp"
IDB_R4_2 BITMAP "R4_2.bmp"
IDB_T1_2 BITMAP "T1_2.bmp"
IDB_T2_2 BITMAP "T2_2.bmp"
IDB_T3_2 BITMAP "T3_2.bmp"
#endif // English (Canada) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED