Context menu is now created from a resource. Exit olsrd before shutting
[olsrd.git] / gui / win32 / Main / Frontend.rc
1 //Microsoft Developer Studio generated resource script.\r
2 //\r
3 #include "resource.h"\r
4 \r
5 #define APSTUDIO_READONLY_SYMBOLS\r
6 /////////////////////////////////////////////////////////////////////////////\r
7 //\r
8 // Generated from the TEXTINCLUDE 2 resource.\r
9 //\r
10 #include "afxres.h"\r
11 \r
12 /////////////////////////////////////////////////////////////////////////////\r
13 #undef APSTUDIO_READONLY_SYMBOLS\r
14 \r
15 /////////////////////////////////////////////////////////////////////////////\r
16 // English (U.S.) resources\r
17 \r
18 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r
19 #ifdef _WIN32\r
20 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US\r
21 #pragma code_page(1252)\r
22 #endif //_WIN32\r
23 \r
24 #ifdef APSTUDIO_INVOKED\r
25 /////////////////////////////////////////////////////////////////////////////\r
26 //\r
27 // TEXTINCLUDE\r
28 //\r
29 \r
30 1 TEXTINCLUDE MOVEABLE PURE \r
31 BEGIN\r
32     "resource.h\0"\r
33 END\r
34 \r
35 2 TEXTINCLUDE MOVEABLE PURE \r
36 BEGIN\r
37     "#include ""afxres.h""\r\n"\r
38     "\0"\r
39 END\r
40 \r
41 3 TEXTINCLUDE MOVEABLE PURE \r
42 BEGIN\r
43     "#define _AFX_NO_SPLITTER_RESOURCES\r\n"\r
44     "#define _AFX_NO_OLE_RESOURCES\r\n"\r
45     "#define _AFX_NO_TRACKER_RESOURCES\r\n"\r
46     "#define _AFX_NO_PROPERTY_RESOURCES\r\n"\r
47     "\r\n"\r
48     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"\r
49     "#ifdef _WIN32\r\n"\r
50     "LANGUAGE 9, 1\r\n"\r
51     "#pragma code_page(1252)\r\n"\r
52     "#endif //_WIN32\r\n"\r
53     "#include ""res\\Frontend.rc2""  // non-Microsoft Visual C++ edited resources\r\n"\r
54     "#include ""afxres.rc""         // Standard components\r\n"\r
55     "#endif\r\n"\r
56     "\0"\r
57 END\r
58 \r
59 #endif    // APSTUDIO_INVOKED\r
60 \r
61 \r
62 /////////////////////////////////////////////////////////////////////////////\r
63 //\r
64 // Dialog\r
65 //\r
66 \r
67 IDD_FRONTEND_DIALOG DIALOGEX 0, 0, 399, 289\r
68 STYLE DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | \r
69     WS_SYSMENU\r
70 EXSTYLE WS_EX_APPWINDOW\r
71 CAPTION "olsr.org Switch 0.4.9"\r
72 FONT 8, "MS Sans Serif", 0, 0, 0x1\r
73 BEGIN\r
74     CONTROL         "Tab1",IDC_TAB1,"SysTabControl32",0x0,7,7,383,256\r
75     PUSHBUTTON      "Start",IDC_BUTTON1,228,268,50,14\r
76     PUSHBUTTON      "Stop",IDC_BUTTON2,284,268,50,14\r
77     PUSHBUTTON      "Exit",IDC_BUTTON3,340,268,50,14\r
78 END\r
79 \r
80 IDD_DIALOG1 DIALOG DISCARDABLE  0, 0, 377, 240\r
81 STYLE WS_CHILD | WS_VISIBLE\r
82 FONT 8, "MS Sans Serif"\r
83 BEGIN\r
84     EDITTEXT        IDC_EDIT1,7,25,363,208,ES_MULTILINE | ES_READONLY | \r
85                     ES_WANTRETURN | WS_VSCROLL | WS_HSCROLL\r
86     PUSHBUTTON      "Freeze",IDC_BUTTON3,152,7,50,14\r
87     PUSHBUTTON      "Continue",IDC_BUTTON2,208,7,50,14\r
88     PUSHBUTTON      "Save",IDC_BUTTON4,264,7,50,14\r
89     PUSHBUTTON      "Clear",IDC_BUTTON1,320,7,50,14\r
90 END\r
91 \r
92 IDD_DIALOG2 DIALOG DISCARDABLE  0, 0, 377, 240\r
93 STYLE WS_CHILD | WS_VISIBLE\r
94 FONT 8, "MS Sans Serif"\r
95 BEGIN\r
96     CONTROL         "List1",IDC_LIST1,"SysListView32",LVS_LIST | WS_BORDER | \r
97                     WS_TABSTOP,7,19,103,76\r
98     CONTROL         "Slider2",IDC_SLIDER2,"msctls_trackbar32",TBS_AUTOTICKS | \r
99                     TBS_BOTH | WS_TABSTOP,8,116,87,26\r
100     CONTROL         "Enable IP version 6",IDC_CHECK3,"Button",\r
101                     BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,7,155,93,10\r
102     CONTROL         "Offer Internet connection",IDC_CHECK2,"Button",\r
103                     BS_AUTOCHECKBOX | WS_TABSTOP,7,171,93,10\r
104     EDITTEXT        IDC_EDIT1,189,7,26,12,ES_RIGHT\r
105     EDITTEXT        IDC_EDIT2,299,7,26,12,ES_RIGHT\r
106     EDITTEXT        IDC_EDIT3,189,23,26,12,ES_RIGHT\r
107     EDITTEXT        IDC_EDIT9,299,23,26,12,ES_RIGHT\r
108     EDITTEXT        IDC_EDIT4,189,39,26,12,ES_RIGHT\r
109     EDITTEXT        IDC_EDIT10,299,39,26,12,ES_RIGHT\r
110     EDITTEXT        IDC_EDIT5,189,55,26,12,ES_RIGHT\r
111     EDITTEXT        IDC_EDIT6,299,55,26,12,ES_RIGHT\r
112     EDITTEXT        IDC_EDIT7,189,77,26,12,ES_RIGHT\r
113     CONTROL         "Enable hysteresis",IDC_CHECK1,"Button",BS_AUTOCHECKBOX | \r
114                     WS_TABSTOP,134,101,74,10\r
115     EDITTEXT        IDC_EDIT12,189,115,26,12,ES_RIGHT\r
116     EDITTEXT        IDC_EDIT13,299,115,26,12,ES_RIGHT\r
117     EDITTEXT        IDC_EDIT11,189,131,26,12,ES_RIGHT\r
118     CONTROL         "Enable ETX link quality",IDC_CHECK4,"Button",\r
119                     BS_AUTOCHECKBOX | WS_TABSTOP,132,155,92,10\r
120     CONTROL         "for MPR selection only",IDC_RADIO1,"Button",\r
121                     BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,132,171,87,10\r
122     CONTROL         "for MPR selection and routing",IDC_RADIO2,"Button",\r
123                     BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,132,187,109,\r
124                     10\r
125     EDITTEXT        IDC_EDIT14,299,169,26,12,ES_RIGHT | ES_NUMBER\r
126     PUSHBUTTON      "Open",IDC_BUTTON4,210,219,50,14\r
127     PUSHBUTTON      "Save",IDC_BUTTON5,265,219,50,14\r
128     PUSHBUTTON      "Reset",IDC_BUTTON1,320,219,50,14\r
129     LTEXT           "Interface list",IDC_STATIC,7,8,39,8\r
130     LTEXT           "Debug level",IDC_STATIC,7,105,39,8\r
131     RTEXT           "HELLO interval:",IDC_STATIC,132,9,51,8\r
132     RTEXT           "HELLO hold:",IDC_STATIC,251,9,42,8\r
133     RTEXT           "MID interval:",IDC_STATIC,132,25,41,8\r
134     RTEXT           "MID hold:",IDC_STATIC,251,25,32,8\r
135     RTEXT           "HNA interval:",IDC_STATIC,132,41,43,8\r
136     RTEXT           "HNA hold:",IDC_STATIC,251,41,34,8\r
137     RTEXT           "TC interval:",IDC_STATIC,132,57,37,8\r
138     RTEXT           "TC hold:",IDC_STATIC,251,57,28,8\r
139     RTEXT           "Poll interval:",IDC_STATIC,132,79,39,8\r
140     LTEXT           "sec",IDC_STATIC,219,9,12,8\r
141     LTEXT           "sec",IDC_STATIC,329,9,12,8\r
142     LTEXT           "sec",IDC_STATIC,219,25,12,8\r
143     LTEXT           "sec",IDC_STATIC,329,25,12,8\r
144     LTEXT           "sec",IDC_STATIC,219,41,12,8\r
145     LTEXT           "sec",IDC_STATIC,329,41,12,8\r
146     LTEXT           "sec",IDC_STATIC,219,57,12,8\r
147     LTEXT           "sec",IDC_STATIC,329,57,12,8\r
148     LTEXT           "sec",IDC_STATIC,219,79,12,8\r
149     CTEXT           "0",IDC_TEXT1,96,123,11,8\r
150     RTEXT           "Scaling:",IDC_STATIC,132,133,26,8\r
151     RTEXT           "Low mark:",IDC_STATIC,132,117,34,8\r
152     RTEXT           "High mark:",IDC_STATIC,251,117,35,8\r
153     RTEXT           "Window size:",IDC_STATIC,251,171,43,8\r
154 END\r
155 \r
156 IDD_DIALOG3 DIALOG DISCARDABLE  0, 0, 377, 240\r
157 STYLE WS_CHILD | WS_VISIBLE\r
158 FONT 8, "MS Sans Serif"\r
159 BEGIN\r
160     CONTROL         "List1",IDC_LIST1,"SysListView32",LVS_REPORT | \r
161                     LVS_SINGLESEL | WS_BORDER | WS_TABSTOP,7,18,239,215\r
162     CONTROL         "List4",IDC_LIST4,"SysListView32",LVS_REPORT | \r
163                     LVS_SINGLESEL | WS_BORDER | WS_TABSTOP,255,18,115,66\r
164     CONTROL         "List4",IDC_LIST5,"SysListView32",LVS_REPORT | \r
165                     LVS_SINGLESEL | WS_BORDER | WS_TABSTOP,255,92,115,66\r
166     CONTROL         "List4",IDC_LIST6,"SysListView32",LVS_REPORT | \r
167                     LVS_SINGLESEL | WS_BORDER | WS_TABSTOP,255,167,115,66\r
168     LTEXT           "Node list",IDC_STATIC,7,7,32,8\r
169     LTEXT           "Node information",IDC_STATIC,257,7,59,8\r
170 END\r
171 \r
172 IDD_DIALOG4 DIALOG DISCARDABLE  0, 0, 377, 240\r
173 STYLE WS_CHILD | WS_VISIBLE\r
174 FONT 8, "MS Sans Serif"\r
175 BEGIN\r
176     CONTROL         "List1",IDC_LIST1,"SysListView32",LVS_REPORT | WS_BORDER | \r
177                     WS_TABSTOP,7,18,363,215\r
178     LTEXT           "Routing table",IDC_STATIC,7,7,48,8\r
179 END\r
180 \r
181 \r
182 /////////////////////////////////////////////////////////////////////////////\r
183 //\r
184 // DESIGNINFO\r
185 //\r
186 \r
187 #ifdef APSTUDIO_INVOKED\r
188 GUIDELINES DESIGNINFO MOVEABLE PURE \r
189 BEGIN\r
190     IDD_FRONTEND_DIALOG, DIALOG\r
191     BEGIN\r
192         LEFTMARGIN, 7\r
193         RIGHTMARGIN, 390\r
194         TOPMARGIN, 7\r
195         BOTTOMMARGIN, 282\r
196     END\r
197 \r
198     IDD_DIALOG1, DIALOG\r
199     BEGIN\r
200         LEFTMARGIN, 7\r
201         RIGHTMARGIN, 370\r
202         TOPMARGIN, 7\r
203         BOTTOMMARGIN, 233\r
204     END\r
205 \r
206     IDD_DIALOG2, DIALOG\r
207     BEGIN\r
208         LEFTMARGIN, 7\r
209         RIGHTMARGIN, 370\r
210         TOPMARGIN, 6\r
211         BOTTOMMARGIN, 233\r
212     END\r
213 \r
214     IDD_DIALOG3, DIALOG\r
215     BEGIN\r
216         LEFTMARGIN, 7\r
217         RIGHTMARGIN, 370\r
218         TOPMARGIN, 7\r
219         BOTTOMMARGIN, 233\r
220     END\r
221 \r
222     IDD_DIALOG4, DIALOG\r
223     BEGIN\r
224         LEFTMARGIN, 7\r
225         RIGHTMARGIN, 370\r
226         TOPMARGIN, 7\r
227         BOTTOMMARGIN, 233\r
228     END\r
229 END\r
230 #endif    // APSTUDIO_INVOKED\r
231 \r
232 \r
233 /////////////////////////////////////////////////////////////////////////////\r
234 //\r
235 // Icon\r
236 //\r
237 \r
238 // Icon with lowest ID value placed first to ensure application icon\r
239 // remains consistent on all systems.\r
240 IDI_ICON1               ICON    DISCARDABLE     "res\\Frontend.ico"\r
241 IDI_ICON3               ICON    DISCARDABLE     "res\\Tray2.ico"\r
242 IDI_ICON2               ICON    DISCARDABLE     "res\\Tray1.ico"\r
243 \r
244 /////////////////////////////////////////////////////////////////////////////\r
245 //\r
246 // RT_MANIFEST\r
247 //\r
248 \r
249 IDR_241                 RT_MANIFEST MOVEABLE PURE "Switch.exe.manifest"\r
250 \r
251 /////////////////////////////////////////////////////////////////////////////\r
252 //\r
253 // Menu\r
254 //\r
255 \r
256 IDR_TRAYMENU MENU DISCARDABLE \r
257 BEGIN\r
258     POPUP "IDR_TRAYMENU"\r
259     BEGIN\r
260         MENUITEM "Start",                       IDM_START\r
261         MENUITEM "Stop",                        IDM_STOP\r
262         POPUP "Show"\r
263         BEGIN\r
264             MENUITEM "Window",                      IDM_WINDOW\r
265             MENUITEM "Settings",                    IDM_SETTINGS\r
266             MENUITEM "Output",                      IDM_OUTPUT\r
267         END\r
268         MENUITEM "Exit",                        IDM_EXIT\r
269     END\r
270 END\r
271 \r
272 #endif    // English (U.S.) resources\r
273 /////////////////////////////////////////////////////////////////////////////\r
274 \r
275 \r
276 \r
277 #ifndef APSTUDIO_INVOKED\r
278 /////////////////////////////////////////////////////////////////////////////\r
279 //\r
280 // Generated from the TEXTINCLUDE 3 resource.\r
281 //\r
282 #define _AFX_NO_SPLITTER_RESOURCES\r
283 #define _AFX_NO_OLE_RESOURCES\r
284 #define _AFX_NO_TRACKER_RESOURCES\r
285 #define _AFX_NO_PROPERTY_RESOURCES\r
286 \r
287 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r
288 #ifdef _WIN32\r
289 LANGUAGE 9, 1\r
290 #pragma code_page(1252)\r
291 #endif //_WIN32\r
292 #include "res\Frontend.rc2"  // non-Microsoft Visual C++ edited resources\r
293 #include "afxres.rc"         // Standard components\r
294 #endif\r
295 \r
296 /////////////////////////////////////////////////////////////////////////////\r
297 #endif    // not APSTUDIO_INVOKED\r
298 \r