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