//Microsoft Developer Studio generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// 日本語 resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_JPN)
#ifdef _WIN32
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
#pragma code_page(932)
#endif //_WIN32

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE DISCARDABLE 
BEGIN
    "resource.h\0"
END

2 TEXTINCLUDE DISCARDABLE 
BEGIN
    "#include ""afxres.h""\r\n"
    "\0"
END

3 TEXTINCLUDE DISCARDABLE 
BEGIN
    "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
    "#define _AFX_NO_OLE_RESOURCES\r\n"
    "#define _AFX_NO_TRACKER_RESOURCES\r\n"
    "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
    "\r\n"
    "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_JPN)\r\n"
    "#ifdef _WIN32\r\n"
    "LANGUAGE 17, 1\r\n"
    "#pragma code_page(932)\r\n"
    "#endif //_WIN32\r\n"
    "#include ""res\\bmp2FRfont.rc2""  // Microsoft Visual C++ 以外のツールで編集されたリソース\r\n"
    "#include ""l.jpn\\afxres.rc""          // 標準のコンポーネント\r\n"
    "#endif\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINFRAME           ICON    DISCARDABLE     "res\\bmp2FRfont.ico"

/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_BMP2FRFONT_DIALOG DIALOGEX 0, 0, 407, 413
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_ACCEPTFILES | WS_EX_APPWINDOW
CAPTION 
"Bitmap to MB91FV310 font converter v1.00  (Copyright(c)2008 Sumio Morioka, Interface Magazine, CQ publishing Co.Ltd.)"

FONT 9, "ＭＳ Ｐゴシック"
BEGIN
    GROUPBOX        "STEP 1. 入力ビットマップファイル（24bitフルカラー）を指定してください",
                    IDC_STATIC,7,9,317,33
    EDITTEXT        IDC_EDIT_INFILE,11,23,272,14,ES_AUTOHSCROLL,
                    WS_EX_ACCEPTFILES
    PUSHBUTTON      "Browse",IDC_BUTTON_INFILE,290,23,27,14
    GROUPBOX        "STEP 2. パレット値を指定してください",IDC_STATIC,7,54,
                    160,354
    PUSHBUTTON      "標準パレット",IDC_BUTTON_DEFPLT,11,70,47,18
    PUSHBUTTON      "自動設定",IDC_BUTTON_SETPLT,62,70,47,18
    LTEXT           "パレット 0",IDC_STATIC,12,108,29,8
    CONTROL         "使用しない",IDC_CHECK_PLTSW0,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,49,107,47,10
    EDITTEXT        IDC_EDIT_R0,96,104,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_G0,117,104,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_B0,138,104,19,14,ES_RIGHT | ES_AUTOHSCROLL
    LTEXT           "パレット 1",IDC_STATIC,12,124,29,8
    CONTROL         "使用しない",IDC_CHECK_PLTSW1,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,49,122,47,10
    EDITTEXT        IDC_EDIT_R1,96,120,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_G1,117,120,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_B1,138,120,19,14,ES_RIGHT | ES_AUTOHSCROLL
    LTEXT           "パレット 2",IDC_STATIC,12,140,29,8
    CONTROL         "使用しない",IDC_CHECK_PLTSW2,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,49,139,47,10
    EDITTEXT        IDC_EDIT_R2,96,136,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_G2,117,136,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_B2,138,136,19,14,ES_RIGHT | ES_AUTOHSCROLL
    LTEXT           "パレット 3",IDC_STATIC,12,156,29,8
    CONTROL         "使用しない",IDC_CHECK_PLTSW3,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,49,155,47,10
    EDITTEXT        IDC_EDIT_R3,96,152,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_G3,117,152,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_B3,138,152,19,14,ES_RIGHT | ES_AUTOHSCROLL
    LTEXT           "パレット 4",IDC_STATIC,12,173,29,8
    CONTROL         "使用しない",IDC_CHECK_PLTSW4,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,49,171,47,10
    EDITTEXT        IDC_EDIT_R4,96,169,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_G4,117,169,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_B4,138,169,19,14,ES_RIGHT | ES_AUTOHSCROLL
    LTEXT           "パレット 5",IDC_STATIC,12,189,29,8
    CONTROL         "使用しない",IDC_CHECK_PLTSW5,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,49,187,47,10
    EDITTEXT        IDC_EDIT_R5,96,185,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_G5,117,185,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_B5,138,185,19,14,ES_RIGHT | ES_AUTOHSCROLL
    LTEXT           "パレット 6",IDC_STATIC,12,205,29,8
    CONTROL         "使用しない",IDC_CHECK_PLTSW6,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,49,203,47,10
    EDITTEXT        IDC_EDIT_R6,96,201,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_G6,117,201,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_B6,138,201,19,14,ES_RIGHT | ES_AUTOHSCROLL
    LTEXT           "パレット 7",IDC_STATIC,12,221,29,8
    CONTROL         "使用しない",IDC_CHECK_PLTSW7,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,49,219,47,10
    EDITTEXT        IDC_EDIT_R7,96,217,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_G7,117,217,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_B7,138,217,19,14,ES_RIGHT | ES_AUTOHSCROLL
    LTEXT           "パレット 8",IDC_STATIC,12,237,29,8
    CONTROL         "使用しない",IDC_CHECK_PLTSW8,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,49,235,47,10
    EDITTEXT        IDC_EDIT_R8,96,233,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_G8,117,233,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_B8,138,233,19,14,ES_RIGHT | ES_AUTOHSCROLL
    LTEXT           "パレット 9",IDC_STATIC,12,253,29,8
    CONTROL         "使用しない",IDC_CHECK_PLTSW9,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,49,251,47,10
    EDITTEXT        IDC_EDIT_R9,96,249,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_G9,117,249,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_B9,138,249,19,14,ES_RIGHT | ES_AUTOHSCROLL
    LTEXT           "パレット 10",IDC_STATIC,12,269,32,8
    CONTROL         "使用しない",IDC_CHECK_PLTSW10,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,49,267,47,10
    EDITTEXT        IDC_EDIT_R10,96,265,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_G10,117,265,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_B10,138,265,19,14,ES_RIGHT | ES_AUTOHSCROLL
    LTEXT           "パレット 11",IDC_STATIC,12,285,32,8
    CONTROL         "使用しない",IDC_CHECK_PLTSW11,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,49,283,47,10
    EDITTEXT        IDC_EDIT_R11,96,281,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_G11,117,281,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_B11,138,281,19,14,ES_RIGHT | ES_AUTOHSCROLL
    LTEXT           "パレット 12",IDC_STATIC,12,301,32,8
    CONTROL         "使用しない",IDC_CHECK_PLTSW12,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,49,299,47,10
    EDITTEXT        IDC_EDIT_R12,96,297,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_G12,117,297,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_B12,138,297,19,14,ES_RIGHT | ES_AUTOHSCROLL
    LTEXT           "パレット 13",IDC_STATIC,12,317,32,8
    CONTROL         "使用しない",IDC_CHECK_PLTSW13,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,49,315,47,10
    EDITTEXT        IDC_EDIT_R13,96,313,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_G13,117,313,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_B13,138,313,19,14,ES_RIGHT | ES_AUTOHSCROLL
    LTEXT           "パレット 14",IDC_STATIC,12,333,32,8
    CONTROL         "使用しない",IDC_CHECK_PLTSW14,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,49,331,47,10
    EDITTEXT        IDC_EDIT_R14,96,329,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_G14,117,329,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_B14,138,329,19,14,ES_RIGHT | ES_AUTOHSCROLL
    LTEXT           "パレット 15",IDC_STATIC,12,349,32,8
    CONTROL         "使用しない",IDC_CHECK_PLTSW15,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,49,347,47,10
    EDITTEXT        IDC_EDIT_R15,96,345,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_G15,117,345,19,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_B15,138,345,19,14,ES_RIGHT | ES_AUTOHSCROLL
    LTEXT           "R7-0   G7-0  B7-0",IDC_STATIC,98,94,57,8
    GROUPBOX        "STEP 3. 減色処理をして出力ファイルを生成してください",
                    IDC_STATIC,178,54,220,135
    PUSHBUTTON      "減色処理開始",IDC_BUTTON_GENSTART,185,74,72,35
    GROUPBOX        "STEP 4. フラッシュ書き込み用Hexファイルを生成してください",
                    IDC_STATIC,179,198,220,157
    LTEXT           "出力ビットマップファイルは""out.bmp"" です",IDC_STATIC,
                    265,73,123,8
    LTEXT           "PED用パレットファイルは""out.pal""です",IDC_STATIC,265,
                    86,112,8
    LTEXT           "レジスタ設定用Cソースは""out.h""です",IDC_STATIC,265,99,
                    109,8
    CONTROL         "出力ビットマップにグリッドラインを引く （フォント位置識別用）",
                    IDC_CHECK_BMPGRID,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
                    187,125,189,10
    PUSHBUTTON      "Hexファイル生成",IDC_BUTTON_GENHEX,186,216,72,34
    CONTROL         "フォント開始番号を指定する（0〜447）",
                    IDC_CHECK_FONTSTART,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,187,264,125,10
    EDITTEXT        IDC_EDIT_FONTNUM,315,262,24,14,ES_RIGHT | ES_AUTOHSCROLL
    CONTROL         "画像の一部（矩形領域）だけをフォント化する",
                    IDC_CHECK_FONTRANGE,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,187,292,144,10
    EDITTEXT        IDC_EDIT_STATUS,187,147,203,33,ES_MULTILINE | 
                    ES_READONLY | ES_WANTRETURN
    EDITTEXT        IDC_EDIT_FROMY,215,311,23,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_FROMX,283,311,23,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_TOY,215,331,23,14,ES_RIGHT | ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_TOX,283,331,23,14,ES_RIGHT | ES_AUTOHSCROLL
    LTEXT           "上から",IDC_STATIC,192,314,20,8
    LTEXT           "番目，左から",IDC_STATIC,241,314,39,8
    LTEXT           "番目の文字が左上の角",IDC_STATIC,311,314,70,8
    LTEXT           "上から",IDC_STATIC,192,334,20,8
    LTEXT           "番目，左から",IDC_STATIC,241,334,39,8
    LTEXT           "番目の文字が右下の角",IDC_STATIC,311,334,70,8
    LTEXT           "Hexファイルは""out-FLASH-C.hex""です",IDC_STATIC,265,
                    229,115,8
    CONTROL         "パレットの強制指定（透明色などに割り当て）",
                    IDC_CHECK_THRU,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,
                    372,144,10
    LTEXT           "R",IDC_STATIC,11,389,8,8
    LTEXT           "G",IDC_STATIC,44,389,8,8
    LTEXT           "B",IDC_STATIC,78,389,8,8
    LTEXT           "→パレット",IDC_STATIC,111,389,30,8
    EDITTEXT        IDC_EDIT_FORCER,19,387,21,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_FORCEG,52,387,21,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_FORCEB,86,387,21,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_EDIT_FORCEPLT,142,387,21,14,ES_AUTOHSCROLL
    LTEXT           "0〜19→0",IDC_STATIC,228,381,28,8
    LTEXT           "20〜55→1",IDC_STATIC,225,393,32,8
    LTEXT           "56〜91→2",IDC_STATIC,268,381,32,8
    LTEXT           "92〜127→3",IDC_STATIC,264,393,35,8
    LTEXT           "128〜163→4",IDC_STATIC,307,381,39,8
    LTEXT           "164〜199→5",IDC_STATIC,307,393,39,8
    LTEXT           "200〜235→6",IDC_STATIC,355,381,39,8
    LTEXT           "236〜255→7",IDC_STATIC,355,393,39,8
    GROUPBOX        "輝度とパレット値の対応表",IDC_STATIC,178,370,222,36
    PUSHBUTTON      "palファイル",IDC_BUTTON_READPAL,114,70,47,17
END


#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
 FILEVERSION 1,0,0,1
 PRODUCTVERSION 1,0,0,1
 FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
 FILEFLAGS 0x1L
#else
 FILEFLAGS 0x0L
#endif
 FILEOS 0x4L
 FILETYPE 0x1L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "041104B0"
        BEGIN
            VALUE "CompanyName", "\0"
            VALUE "FileDescription", "bmp2FRfont MFC ｱﾌﾟﾘｹｰｼｮﾝ\0"
            VALUE "FileVersion", "1, 0, 0, 1\0"
            VALUE "InternalName", "bmp2FRfont\0"
            VALUE "LegalCopyright", "Copyright (C) 2008\0"
            VALUE "LegalTrademarks", "\0"
            VALUE "OriginalFilename", "bmp2FRfont.EXE\0"
            VALUE "ProductName", "bmp2FRfont ｱﾌﾟﾘｹｰｼｮﾝ\0"
            VALUE "ProductVersion", "1, 0, 0, 1\0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x411, 1200
    END
END

#endif    // !_MAC


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE 
BEGIN
    IDD_BMP2FRFONT_DIALOG, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 400
        TOPMARGIN, 7
        BOTTOMMARGIN, 406
    END
END
#endif    // APSTUDIO_INVOKED

#endif    // 日本語 resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#define _AFX_NO_SPLITTER_RESOURCES
#define _AFX_NO_OLE_RESOURCES
#define _AFX_NO_TRACKER_RESOURCES
#define _AFX_NO_PROPERTY_RESOURCES

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_JPN)
#ifdef _WIN32
LANGUAGE 17, 1
#pragma code_page(932)
#endif //_WIN32
#include "res\bmp2FRfont.rc2"  // Microsoft Visual C++ 以外のツールで編集されたリソース
#include "l.jpn\afxres.rc"          // 標準のコンポーネント
#endif

/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED

