Home | History | Annotate | Line # | Download | only in res
hpcmenu.rc revision 1.2
      1  1.2  uch /*	$NetBSD: hpcmenu.rc,v 1.2 2001/03/22 18:26:46 uch 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  uch 	COMBOBOX	IDC_MAIN_DIR,			5, 0, 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  uch 	EDITTEXT	IDC_MAIN_KERNEL			75, 0, 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  uch 	COMBOBOX	IDC_MAIN_PLATFORM,		5, 12, 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  uch 	AUTORADIOBUTTON	"wd",	IDC_MAIN_ROOT_WD,	10, 32, 22, 10
     85  1.1  uch 	AUTORADIOBUTTON	"sd",	IDC_MAIN_ROOT_SD,	35, 32, 22, 10
     86  1.1  uch 	AUTORADIOBUTTON	"md",	IDC_MAIN_ROOT_MD,	60, 32, 22, 10
     87  1.1  uch 	AUTORADIOBUTTON	"nfs",	IDC_MAIN_ROOT_NFS,	85, 32, 22, 10
     88  1.1  uch 	EDITTEXT	IDC_MAIN_ROOT_MD_OPS		10, 42, 90, 11,
     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  uch 							5, 24, 105, 30
     93  1.1  uch 	// boot options
     94  1.1  uch 	AUTOCHECKBOX	"boot verbosely"	IDC_MAIN_OPTION_V
     95  1.1  uch 							5, 54, 120, 9
     96  1.1  uch 	AUTOCHECKBOX	"boot to single user"	IDC_MAIN_OPTION_S
     97  1.1  uch 							5, 63, 120, 9
     98  1.1  uch 	AUTOCHECKBOX	"ask for file name to boot from" IDC_MAIN_OPTION_A
     99  1.1  uch 							5, 72, 120, 9
    100  1.1  uch 	AUTOCHECKBOX	"serial console (19200 bps)",	IDC_MAIN_OPTION_H,
    101  1.1  uch 							5, 81, 120, 9
    102  1.1  uch }
    103  1.1  uch 
    104  1.1  uch WOption DIALOG DISCARDABLE 0, 0, 0, 0
    105  1.1  uch STYLE WS_CHILD
    106  1.1  uch {
    107  1.1  uch 	EDITTEXT	IDC_OPT_AUTO_INPUT, 55, 0, 24, 15,
    108  1.1  uch 		WS_CHILD | WS_VISIBLE | WS_BORDER | ES_LEFT
    109  1.1  uch 	AUTOCHECKBOX	"Auto Boot",		IDC_OPT_AUTO,	5, 0,  50, 12
    110  1.1  uch 	AUTOCHECKBOX	"Reverse Video",	IDC_OPT_VIDEO,	5, 15, 80, 12
    111  1.1  uch 	AUTOCHECKBOX	"Pause Before Boot",	IDC_OPT_PAUSE,	5, 30, 80, 12
    112  1.1  uch 	AUTOCHECKBOX	"Load Debug Info",	IDC_OPT_DEBUG,	5, 45, 80, 12
    113  1.1  uch 	AUTOCHECKBOX	"Safety Message",	IDC_OPT_SAFETY,	5, 60, 80, 12
    114  1.1  uch }
    115  1.1  uch 
    116  1.1  uch WConsole DIALOG DISCARDABLE 0, 0, 0, 0
    117  1.1  uch STYLE WS_CHILD
    118  1.1  uch {
    119  1.1  uch 	AUTOCHECKBOX	"", IDC_CONS_CHK0, 75, 0, 10, 10
    120  1.1  uch 	AUTOCHECKBOX	"", IDC_CONS_CHK1, 65, 0, 10, 10
    121  1.1  uch 	AUTOCHECKBOX	"", IDC_CONS_CHK2, 55, 0, 10, 10
    122  1.1  uch 	AUTOCHECKBOX	"", IDC_CONS_CHK3, 45, 0, 10, 10
    123  1.1  uch 	AUTOCHECKBOX	"", IDC_CONS_CHK4, 35, 0, 10, 10
    124  1.1  uch 	AUTOCHECKBOX	"", IDC_CONS_CHK5, 25, 0, 10, 10
    125  1.1  uch 	AUTOCHECKBOX	"", IDC_CONS_CHK6, 15, 0, 10, 10
    126  1.1  uch 	AUTOCHECKBOX	"", IDC_CONS_CHK7,  5, 0, 10, 10
    127  1.1  uch 	PUSHBUTTON	"a", IDC_CONS_BTN0, 85, 0, 10, 10,
    128  1.1  uch 		WS_CHILD | WS_VISIBLE
    129  1.1  uch 	PUSHBUTTON	"b", IDC_CONS_BTN1, 95, 0, 10, 10,
    130  1.1  uch 		WS_CHILD | WS_VISIBLE
    131  1.1  uch 	PUSHBUTTON	"c", IDC_CONS_BTN2, 105, 0, 10, 10,
    132  1.1  uch 		WS_CHILD | WS_VISIBLE
    133  1.1  uch 	PUSHBUTTON	"d", IDC_CONS_BTN3, 115, 0, 10, 10,
    134  1.1  uch 		WS_CHILD | WS_VISIBLE
    135  1.2  uch 	AUTOCHECKBOX	"save to file", IDC_CONS_FILESAVE,  5, 10, 120, 10
    136  1.2  uch 	EDITTEXT	IDC_CONS_FILENAME   5, 20, 120, 12,
    137  1.2  uch 		WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP |
    138  1.2  uch 		ES_LEFT | ES_AUTOHSCROLL
    139  1.1  uch 	EDITTEXT	IDC_CONS_EDIT, 0, 0, 0, 0,
    140  1.1  uch 		WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL |
    141  1.1  uch 		ES_AUTOHSCROLL | ES_AUTOVSCROLL | ES_LEFT | ES_MULTILINE |
    142  1.1  uch 		ES_WANTRETURN
    143  1.1  uch }
    144  1.2  uch 
    145