1 /* -*-C++-*- $NetBSD: resource.h,v 1.5 2002/03/25 17:23:20 uch Exp $ */ 2 3 /*- 4 * Copyright (c) 2001 The NetBSD Foundation, Inc. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to The NetBSD Foundation 8 * by UCHIYAMA Yasushi. 9 * 10 * Redistribution and use in source and binary forms, with or without 11 * modification, are permitted provided that the following conditions 12 * are met: 13 * 1. Redistributions of source code must retain the above copyright 14 * notice, this list of conditions and the following disclaimer. 15 * 2. Redistributions in binary form must reproduce the above copyright 16 * notice, this list of conditions and the following disclaimer in the 17 * documentation and/or other materials provided with the distribution. 18 * 3. All advertising materials mentioning features or use of this software 19 * must display the following acknowledgement: 20 * This product includes software developed by the NetBSD 21 * Foundation, Inc. and its contributors. 22 * 4. Neither the name of The NetBSD Foundation nor the names of its 23 * contributors may be used to endorse or promote products derived 24 * from this software without specific prior written permission. 25 * 26 * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 27 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 28 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 29 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 30 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 31 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 32 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 33 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 34 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 35 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 36 * POSSIBILITY OF SUCH DAMAGE. 37 */ 38 39 #define _APS_NO_MFC 1 40 41 #define IDI_ICON 1 42 #define IDD_TIMER 2 43 #define IDC_CMDBAR 3 44 45 #define BOOT_BUTTON_WIDTH 50 46 #define IDC_PROGRESSBAR 4 47 #define IDC_BOOTBUTTON 5 48 #define IDC_CANCELBUTTON 6 49 // TabCtrl ID 50 #define IDC_BASE 7 51 52 #define TABCTRL_TAB_WIDTH 20 53 #define TABCTRL_TAB_HEIGHT 40 54 #define TABCTRL_PAD_WIDTH 2 55 #define TABCTRL_TAB_IMAGE_WIDTH \ 56 (TABCTRL_TAB_WIDTH - TABCTRL_PAD_WIDTH * 2) 57 #define TABCTRL_TAB_IMAGE_HEIGHT \ 58 (TABCTRL_TAB_HEIGHT - TABCTRL_PAD_WIDTH * 2) 59 60 // Child Dialog ID 61 #define IDC_BASE_MAIN 0 62 #define IDC_BASE_OPTION 1 63 #define IDC_BASE_CONSOLE 2 64 65 // Main Dialog ID 66 #define IDC_MAIN_ROOT_OPTION 100 67 #define IDC_MAIN_ROOT_ 101 68 #define IDC_MAIN_ROOT_WD 101 69 #define IDC_MAIN_ROOT_SD 102 70 #define IDC_MAIN_ROOT_MD 103 71 #define IDC_MAIN_ROOT_NFS 104 72 #define IDC_MAIN_ROOT_MD_OPS 105 73 74 #define IDC_MAIN_OPTION_A 150 75 #define IDC_MAIN_OPTION_S 151 76 #define IDC_MAIN_OPTION_V 152 77 #define IDC_MAIN_OPTION_H 153 78 #define IDC_MAIN_OPTION_H_SPEED 154 79 #define IDC_MAIN_OPTION_D 155 80 81 #define IDC_MAIN_DIR 1001 82 #define IDC_MAIN_PLATFORM 1002 83 #define IDC_MAIN_KERNEL 1003 84 85 86 // Option Dialog ID 87 #define IDC_OPT_AUTO 200 88 #define IDC_OPT_AUTO_INPUT 2000 89 #define IDC_OPT_AUTO_UPDOWN 2001 90 #define IDC_OPT_VIDEO 201 91 #define IDC_OPT_PAUSE 202 92 #define IDC_OPT_DEBUG 203 93 #define IDC_OPT_SAFETY 205 94 #define IDC_OPT_EXTKOPT 206 95 96 // Console Dialog ID 97 #define IDC_CONS_CHK_ 300 98 #define IDC_CONS_CHK0 300 99 #define IDC_CONS_CHK1 301 100 #define IDC_CONS_CHK2 302 101 #define IDC_CONS_CHK3 303 102 #define IDC_CONS_CHK4 304 103 #define IDC_CONS_CHK5 305 104 #define IDC_CONS_CHK6 306 105 #define IDC_CONS_CHK7 307 106 #define IDC_CONS_CHK_END 308 107 #define IDC_CONS_BTN_ 310 108 #define IDC_CONS_BTN0 310 109 #define IDC_CONS_BTN1 311 110 #define IDC_CONS_BTN2 312 111 #define IDC_CONS_BTN3 313 112 #define IDC_CONS_EDIT 320 113 #define IDC_CONS_FILESAVE 321 114 #define IDC_CONS_FILENAME 322 115 116 // String table. 117 #define IDS_APP_TITLE 10000 118 #define IDS_HPCMENU 10002 119 120 #define IDS_DIR_FFS_ROOT1 10004 121 #define IDS_DIR_FFS_ROOT2 10006 122 #define IDS_DIR_FAT_ROOT 10008 123 #define IDS_DIR_FAT_MY_DOCUMENTS 10010 124 #define IDS_DIR_CARD_EN 10012 125 #define IDS_DIR_CARD_EN1 10014 126 #define IDS_DIR_CARD_EN2 10016 127 #define IDS_DIR_CARD_JP 10018 128 #define IDS_DIR_CARD_JP1 10020 129 #define IDS_DIR_CARD_JP2 10022 130 #define IDS_DIR_USER_DEFINED 10024 131 132 #define IDS_DIR_START IDS_DIR_FFS_ROOT1 133 #define IDS_DIR_END IDS_DIR_USER_DEFINED 134 #define IDS_DIR_SEQ(r) (((r) - IDS_DIR_START) >> 1) 135 #define IDS_DIR_RES(n) (((n) << 1) + IDS_DIR_START) 136 #define IDS_DIR_RES_VALID(n) \ 137 ((n) >= IDS_DIR_START && (n) <= IDS_DIR_END) 138 139