Home | History | Annotate | Line # | Download | only in res
hpcmenu.rc revision 1.13
      1  1.13    uwe /*	$NetBSD: hpcmenu.rc,v 1.13 2005/05/11 13:59:27 uwe 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.7    uwe #include "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.13    uwe 	IDS_DIR_CARD_JP			L"\\\xFF92\xFF93\xFF98 \xFF76\xFF70\xFF84\xFF9E\\"
     58  1.13    uwe 	IDS_DIR_CARD_JP1		L"\\\xFF92\xFF93\xFF98 \xFF76\xFF70\xFF84\xFF9E1\\"
     59  1.13    uwe 	IDS_DIR_CARD_JP2		L"\\\xFF92\xFF93\xFF98 \xFF76\xFF70\xFF84\xFF9E2\\"
     60  1.12    uch 	IDS_DIR_CARD_MMCARD		"\\Multimedia Card\\"
     61   1.1    uch 	IDS_DIR_USER_DEFINED		"user defined"
     62   1.1    uch }
     63   1.1    uch 
     64   1.7    uwe IDI_ICON		ICON			"hpcboot.ico"
     65   1.7    uwe IDI_HPCMENU_MAIN	BITMAP	DISCARDABLE	"kernel.bmp"
     66   1.7    uwe IDI_HPCMENU_OPTION	BITMAP	DISCARDABLE	"option.bmp"
     67   1.7    uwe IDI_HPCMENU_CONSOLE	BITMAP	DISCARDABLE	"console.bmp"
     68   1.1    uch 
     69   1.1    uch WMain DIALOG DISCARDABLE 0, 0, 0, 0
     70   1.1    uch STYLE WS_CHILD
     71   1.1    uch {
     72   1.1    uch 	// kernel directory
     73   1.5    uch 	COMBOBOX	IDC_MAIN_DIR,			5,  5, 70, 120,
     74   1.1    uch 		WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP |
     75   1.1    uch 		CBS_DROPDOWN | CBS_AUTOHSCROLL
     76   1.1    uch 	// kernel file name
     77  1.11    uwe 	EDITTEXT	IDC_MAIN_KERNEL			75, 5, 40, 12,
     78   1.1    uch 		WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP |
     79   1.1    uch 		ES_LEFT | ES_AUTOHSCROLL
     80   1.1    uch 	// platform select
     81   1.5    uch 	COMBOBOX	IDC_MAIN_PLATFORM,		5, 20, 110, 80,
     82   1.1    uch 		WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP |
     83   1.1    uch 		CBS_DROPDOWN | CBS_AUTOHSCROLL
     84   1.1    uch 	// root file system select
     85   1.5    uch 	AUTORADIOBUTTON	"wd",	IDC_MAIN_ROOT_WD,	10, 40, 22, 10
     86   1.5    uch 	AUTORADIOBUTTON	"sd",	IDC_MAIN_ROOT_SD,	35, 40, 22, 10
     87   1.5    uch 	AUTORADIOBUTTON	"md",	IDC_MAIN_ROOT_MD,	60, 40, 22, 10
     88   1.5    uch 	AUTORADIOBUTTON	"nfs",	IDC_MAIN_ROOT_NFS,	85, 40, 22, 10
     89   1.8    uwe 	EDITTEXT	IDC_MAIN_ROOT_MD_OPS		10, 53, 100, 12,
     90   1.1    uch 		WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP |
     91   1.1    uch 		ES_LEFT | ES_AUTOHSCROLL
     92   1.1    uch 	GROUPBOX	"root file system"	IDC_MAIN_ROOT_OPTION
     93   1.8    uwe 							5, 33, 110, 35
     94   1.1    uch 	// boot options
     95   1.1    uch 	AUTOCHECKBOX	"boot verbosely"	IDC_MAIN_OPTION_V
     96   1.5    uch 							5, 59, 120, 9
     97   1.1    uch 	AUTOCHECKBOX	"boot to single user"	IDC_MAIN_OPTION_S
     98   1.5    uch 							5, 68, 120, 9
     99   1.1    uch 	AUTOCHECKBOX	"ask for file name to boot from" IDC_MAIN_OPTION_A
    100   1.5    uch 							5, 77, 120, 9
    101   1.4  enami 	AUTOCHECKBOX	"break into kernel debugger" IDC_MAIN_OPTION_D
    102   1.5    uch 							5, 86, 120, 9
    103   1.3    uch 	AUTOCHECKBOX	"serial console",	IDC_MAIN_OPTION_H,
    104   1.5    uch 							5, 95, 55, 9
    105   1.5    uch 	COMBOBOX	IDC_MAIN_OPTION_H_SPEED		65, 93, 50, 40,
    106   1.3    uch 		WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP |
    107   1.3    uch 		CBS_DROPDOWN | CBS_AUTOHSCROLL
    108   1.1    uch }
    109   1.1    uch 
    110   1.1    uch WOption DIALOG DISCARDABLE 0, 0, 0, 0
    111   1.1    uch STYLE WS_CHILD
    112   1.1    uch {
    113  1.10    uwe 	AUTOCHECKBOX	"Auto Boot",		IDC_OPT_AUTO,	5, 0,  50, 12
    114   1.1    uch 	EDITTEXT	IDC_OPT_AUTO_INPUT, 55, 0, 24, 15,
    115   1.1    uch 		WS_CHILD | WS_VISIBLE | WS_BORDER | ES_LEFT
    116   1.6    uch 	AUTOCHECKBOX	"Reverse Video",	IDC_OPT_VIDEO,	5, 14, 80, 12
    117   1.6    uch 	AUTOCHECKBOX	"Pause Before Boot",	IDC_OPT_PAUSE,	5, 26, 80, 12
    118   1.6    uch 	AUTOCHECKBOX	"Load Debug Info",	IDC_OPT_DEBUG,	5, 38, 80, 12
    119  1.11    uwe 	AUTOCHECKBOX	"Safety Message",	IDC_OPT_SAFETY,	5, 50, 80, 12
    120   1.6    uch 	LTEXT		"Extra Kernel Options:"		-1, 5, 62, 80, 12
    121   1.6    uch 	EDITTEXT	IDC_OPT_EXTKOPT		5, 74, 120, 12,
    122   1.6    uch 		WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP |
    123   1.6    uch 		ES_LEFT | ES_AUTOHSCROLL
    124   1.1    uch }
    125   1.1    uch 
    126   1.1    uch WConsole DIALOG DISCARDABLE 0, 0, 0, 0
    127   1.1    uch STYLE WS_CHILD
    128   1.1    uch {
    129   1.9    uwe 	AUTOCHECKBOX	"", IDC_CONS_CHK7,  5, 0, 10, 10
    130   1.9    uwe 	AUTOCHECKBOX	"", IDC_CONS_CHK6, 15, 0, 10, 10
    131   1.9    uwe 	AUTOCHECKBOX	"", IDC_CONS_CHK5, 25, 0, 10, 10
    132   1.9    uwe 	AUTOCHECKBOX	"", IDC_CONS_CHK4, 35, 0, 10, 10
    133   1.9    uwe 	AUTOCHECKBOX	"", IDC_CONS_CHK3, 45, 0, 10, 10
    134   1.9    uwe 	AUTOCHECKBOX	"", IDC_CONS_CHK2, 55, 0, 10, 10
    135   1.9    uwe 	AUTOCHECKBOX	"", IDC_CONS_CHK1, 65, 0, 10, 10
    136   1.1    uch 	AUTOCHECKBOX	"", IDC_CONS_CHK0, 75, 0, 10, 10
    137   1.1    uch 	PUSHBUTTON	"a", IDC_CONS_BTN0, 85, 0, 10, 10,
    138   1.1    uch 		WS_CHILD | WS_VISIBLE
    139   1.1    uch 	PUSHBUTTON	"b", IDC_CONS_BTN1, 95, 0, 10, 10,
    140   1.1    uch 		WS_CHILD | WS_VISIBLE
    141   1.1    uch 	PUSHBUTTON	"c", IDC_CONS_BTN2, 105, 0, 10, 10,
    142   1.1    uch 		WS_CHILD | WS_VISIBLE
    143   1.1    uch 	PUSHBUTTON	"d", IDC_CONS_BTN3, 115, 0, 10, 10,
    144   1.1    uch 		WS_CHILD | WS_VISIBLE
    145   1.2    uch 	AUTOCHECKBOX	"save to file", IDC_CONS_FILESAVE,  5, 10, 120, 10
    146   1.2    uch 	EDITTEXT	IDC_CONS_FILENAME   5, 20, 120, 12,
    147   1.2    uch 		WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP |
    148   1.2    uch 		ES_LEFT | ES_AUTOHSCROLL
    149   1.1    uch 	EDITTEXT	IDC_CONS_EDIT, 0, 0, 0, 0,
    150   1.1    uch 		WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL |
    151   1.1    uch 		ES_AUTOHSCROLL | ES_AUTOVSCROLL | ES_LEFT | ES_MULTILINE |
    152   1.1    uch 		ES_WANTRETURN
    153   1.1    uch }
    154