hpcmenu.rc revision 1.5.8.2 1 1.5.8.2 nathanw /* $NetBSD: hpcmenu.rc,v 1.5.8.2 2002/04/01 07:40:16 nathanw Exp $ */
2 1.5.8.2 nathanw
3 1.5.8.2 nathanw /*-
4 1.5.8.2 nathanw * Copyright (c) 2001 The NetBSD Foundation, Inc.
5 1.5.8.2 nathanw * All rights reserved.
6 1.5.8.2 nathanw *
7 1.5.8.2 nathanw * This code is derived from software contributed to The NetBSD Foundation
8 1.5.8.2 nathanw * by UCHIYAMA Yasushi.
9 1.5.8.2 nathanw *
10 1.5.8.2 nathanw * Redistribution and use in source and binary forms, with or without
11 1.5.8.2 nathanw * modification, are permitted provided that the following conditions
12 1.5.8.2 nathanw * are met:
13 1.5.8.2 nathanw * 1. Redistributions of source code must retain the above copyright
14 1.5.8.2 nathanw * notice, this list of conditions and the following disclaimer.
15 1.5.8.2 nathanw * 2. Redistributions in binary form must reproduce the above copyright
16 1.5.8.2 nathanw * notice, this list of conditions and the following disclaimer in the
17 1.5.8.2 nathanw * documentation and/or other materials provided with the distribution.
18 1.5.8.2 nathanw * 3. All advertising materials mentioning features or use of this software
19 1.5.8.2 nathanw * must display the following acknowledgement:
20 1.5.8.2 nathanw * This product includes software developed by the NetBSD
21 1.5.8.2 nathanw * Foundation, Inc. and its contributors.
22 1.5.8.2 nathanw * 4. Neither the name of The NetBSD Foundation nor the names of its
23 1.5.8.2 nathanw * contributors may be used to endorse or promote products derived
24 1.5.8.2 nathanw * from this software without specific prior written permission.
25 1.5.8.2 nathanw *
26 1.5.8.2 nathanw * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
27 1.5.8.2 nathanw * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
28 1.5.8.2 nathanw * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
29 1.5.8.2 nathanw * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
30 1.5.8.2 nathanw * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
31 1.5.8.2 nathanw * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
32 1.5.8.2 nathanw * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33 1.5.8.2 nathanw * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34 1.5.8.2 nathanw * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35 1.5.8.2 nathanw * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36 1.5.8.2 nathanw * POSSIBILITY OF SUCH DAMAGE.
37 1.5.8.2 nathanw */
38 1.5.8.2 nathanw
39 1.5.8.2 nathanw #define APSTUDIO_READONLY_SYMBOLS
40 1.5.8.2 nathanw #define APSTUDIO_HIDDEN_SYMBOLS
41 1.5.8.2 nathanw #include <windows.h>
42 1.5.8.2 nathanw #undef APSTUDIO_HIDDEN_SYMBOLS
43 1.5.8.2 nathanw #include <res/resource.h>
44 1.5.8.2 nathanw #undef APSTUDIO_READONLY_SYMBOLS
45 1.5.8.2 nathanw
46 1.5.8.2 nathanw STRINGTABLE DISCARDABLE
47 1.5.8.2 nathanw {
48 1.5.8.2 nathanw IDS_APP_TITLE "hpcboot"
49 1.5.8.2 nathanw IDS_HPCMENU "HPCBOOT"
50 1.5.8.2 nathanw IDS_DIR_FFS_ROOT1 "/"
51 1.5.8.2 nathanw IDS_DIR_FFS_ROOT2 "2:/"
52 1.5.8.2 nathanw IDS_DIR_FAT_ROOT "\\"
53 1.5.8.2 nathanw IDS_DIR_FAT_MY_DOCUMENTS "\\My Documents\\"
54 1.5.8.2 nathanw IDS_DIR_CARD_EN "\\Storage Card\\"
55 1.5.8.2 nathanw IDS_DIR_CARD_EN1 "\\Storage Card1\\"
56 1.5.8.2 nathanw IDS_DIR_CARD_EN2 "\\Storage Card2\\"
57 1.5.8.2 nathanw IDS_DIR_CARD_JP "\\ \\"
58 1.5.8.2 nathanw IDS_DIR_CARD_JP1 "\\ 1\\"
59 1.5.8.2 nathanw IDS_DIR_CARD_JP2 "\\ 2\\"
60 1.5.8.2 nathanw IDS_DIR_USER_DEFINED "user defined"
61 1.5.8.2 nathanw }
62 1.5.8.2 nathanw
63 1.5.8.2 nathanw IDI_ICON ICON "res\\hpcboot.ico"
64 1.5.8.2 nathanw IDI_HPCMENU_MAIN BITMAP DISCARDABLE "res\\kernel.bmp"
65 1.5.8.2 nathanw IDI_HPCMENU_OPTION BITMAP DISCARDABLE "res\\option.bmp"
66 1.5.8.2 nathanw IDI_HPCMENU_CONSOLE BITMAP DISCARDABLE "res\\console.bmp"
67 1.5.8.2 nathanw
68 1.5.8.2 nathanw WMain DIALOG DISCARDABLE 0, 0, 0, 0
69 1.5.8.2 nathanw STYLE WS_CHILD
70 1.5.8.2 nathanw {
71 1.5.8.2 nathanw // kernel directory
72 1.5.8.2 nathanw COMBOBOX IDC_MAIN_DIR, 5, 5, 70, 120,
73 1.5.8.2 nathanw WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP |
74 1.5.8.2 nathanw CBS_DROPDOWN | CBS_AUTOHSCROLL
75 1.5.8.2 nathanw // kernel file name
76 1.5.8.2 nathanw EDITTEXT IDC_MAIN_KERNEL 75, 5, 40, 12,
77 1.5.8.2 nathanw WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP |
78 1.5.8.2 nathanw ES_LEFT | ES_AUTOHSCROLL
79 1.5.8.2 nathanw // platform select
80 1.5.8.2 nathanw COMBOBOX IDC_MAIN_PLATFORM, 5, 20, 110, 80,
81 1.5.8.2 nathanw WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP |
82 1.5.8.2 nathanw CBS_DROPDOWN | CBS_AUTOHSCROLL
83 1.5.8.2 nathanw // root file system select
84 1.5.8.2 nathanw AUTORADIOBUTTON "wd", IDC_MAIN_ROOT_WD, 10, 40, 22, 10
85 1.5.8.2 nathanw AUTORADIOBUTTON "sd", IDC_MAIN_ROOT_SD, 35, 40, 22, 10
86 1.5.8.2 nathanw AUTORADIOBUTTON "md", IDC_MAIN_ROOT_MD, 60, 40, 22, 10
87 1.5.8.2 nathanw AUTORADIOBUTTON "nfs", IDC_MAIN_ROOT_NFS, 85, 40, 22, 10
88 1.5.8.2 nathanw EDITTEXT IDC_MAIN_ROOT_MD_OPS 10, 53, 90, 12,
89 1.5.8.2 nathanw WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP |
90 1.5.8.2 nathanw ES_LEFT | ES_AUTOHSCROLL
91 1.5.8.2 nathanw GROUPBOX "root file system" IDC_MAIN_ROOT_OPTION
92 1.5.8.2 nathanw 5, 33, 105, 35
93 1.5.8.2 nathanw // boot options
94 1.5.8.2 nathanw AUTOCHECKBOX "boot verbosely" IDC_MAIN_OPTION_V
95 1.5.8.2 nathanw 5, 59, 120, 9
96 1.5.8.2 nathanw AUTOCHECKBOX "boot to single user" IDC_MAIN_OPTION_S
97 1.5.8.2 nathanw 5, 68, 120, 9
98 1.5.8.2 nathanw AUTOCHECKBOX "ask for file name to boot from" IDC_MAIN_OPTION_A
99 1.5.8.2 nathanw 5, 77, 120, 9
100 1.5.8.2 nathanw AUTOCHECKBOX "break into kernel debugger" IDC_MAIN_OPTION_D
101 1.5.8.2 nathanw 5, 86, 120, 9
102 1.5.8.2 nathanw AUTOCHECKBOX "serial console", IDC_MAIN_OPTION_H,
103 1.5.8.2 nathanw 5, 95, 55, 9
104 1.5.8.2 nathanw COMBOBOX IDC_MAIN_OPTION_H_SPEED 65, 93, 50, 40,
105 1.5.8.2 nathanw WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP |
106 1.5.8.2 nathanw CBS_DROPDOWN | CBS_AUTOHSCROLL
107 1.5.8.2 nathanw }
108 1.5.8.2 nathanw
109 1.5.8.2 nathanw WOption DIALOG DISCARDABLE 0, 0, 0, 0
110 1.5.8.2 nathanw STYLE WS_CHILD
111 1.5.8.2 nathanw {
112 1.5.8.2 nathanw EDITTEXT IDC_OPT_AUTO_INPUT, 55, 0, 24, 15,
113 1.5.8.2 nathanw WS_CHILD | WS_VISIBLE | WS_BORDER | ES_LEFT
114 1.5.8.2 nathanw AUTOCHECKBOX "Auto Boot", IDC_OPT_AUTO, 5, 0, 50, 12
115 1.5.8.2 nathanw AUTOCHECKBOX "Reverse Video", IDC_OPT_VIDEO, 5, 14, 80, 12
116 1.5.8.2 nathanw AUTOCHECKBOX "Pause Before Boot", IDC_OPT_PAUSE, 5, 26, 80, 12
117 1.5.8.2 nathanw AUTOCHECKBOX "Load Debug Info", IDC_OPT_DEBUG, 5, 38, 80, 12
118 1.5.8.2 nathanw AUTOCHECKBOX "Safety Message", IDC_OPT_SAFETY, 5, 50, 80, 12
119 1.5.8.2 nathanw LTEXT "Extra Kernel Options:" -1, 5, 62, 80, 12
120 1.5.8.2 nathanw EDITTEXT IDC_OPT_EXTKOPT 5, 74, 120, 12,
121 1.5.8.2 nathanw WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP |
122 1.5.8.2 nathanw ES_LEFT | ES_AUTOHSCROLL
123 1.5.8.2 nathanw }
124 1.5.8.2 nathanw
125 1.5.8.2 nathanw WConsole DIALOG DISCARDABLE 0, 0, 0, 0
126 1.5.8.2 nathanw STYLE WS_CHILD
127 1.5.8.2 nathanw {
128 1.5.8.2 nathanw AUTOCHECKBOX "", IDC_CONS_CHK0, 75, 0, 10, 10
129 1.5.8.2 nathanw AUTOCHECKBOX "", IDC_CONS_CHK1, 65, 0, 10, 10
130 1.5.8.2 nathanw AUTOCHECKBOX "", IDC_CONS_CHK2, 55, 0, 10, 10
131 1.5.8.2 nathanw AUTOCHECKBOX "", IDC_CONS_CHK3, 45, 0, 10, 10
132 1.5.8.2 nathanw AUTOCHECKBOX "", IDC_CONS_CHK4, 35, 0, 10, 10
133 1.5.8.2 nathanw AUTOCHECKBOX "", IDC_CONS_CHK5, 25, 0, 10, 10
134 1.5.8.2 nathanw AUTOCHECKBOX "", IDC_CONS_CHK6, 15, 0, 10, 10
135 1.5.8.2 nathanw AUTOCHECKBOX "", IDC_CONS_CHK7, 5, 0, 10, 10
136 1.5.8.2 nathanw PUSHBUTTON "a", IDC_CONS_BTN0, 85, 0, 10, 10,
137 1.5.8.2 nathanw WS_CHILD | WS_VISIBLE
138 1.5.8.2 nathanw PUSHBUTTON "b", IDC_CONS_BTN1, 95, 0, 10, 10,
139 1.5.8.2 nathanw WS_CHILD | WS_VISIBLE
140 1.5.8.2 nathanw PUSHBUTTON "c", IDC_CONS_BTN2, 105, 0, 10, 10,
141 1.5.8.2 nathanw WS_CHILD | WS_VISIBLE
142 1.5.8.2 nathanw PUSHBUTTON "d", IDC_CONS_BTN3, 115, 0, 10, 10,
143 1.5.8.2 nathanw WS_CHILD | WS_VISIBLE
144 1.5.8.2 nathanw AUTOCHECKBOX "save to file", IDC_CONS_FILESAVE, 5, 10, 120, 10
145 1.5.8.2 nathanw EDITTEXT IDC_CONS_FILENAME 5, 20, 120, 12,
146 1.5.8.2 nathanw WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP |
147 1.5.8.2 nathanw ES_LEFT | ES_AUTOHSCROLL
148 1.5.8.2 nathanw EDITTEXT IDC_CONS_EDIT, 0, 0, 0, 0,
149 1.5.8.2 nathanw WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL |
150 1.5.8.2 nathanw ES_AUTOHSCROLL | ES_AUTOVSCROLL | ES_LEFT | ES_MULTILINE |
151 1.5.8.2 nathanw ES_WANTRETURN
152 1.5.8.2 nathanw }
153 1.5.8.2 nathanw
154