/* リソースファイル <Tex2Hex.rcp> */

/* ヘッダファイルの取り込み */
#include "Tex2Hex.h"

/* メイン画面 */
FORM  ID resFormIDTex2Hex AT ( 0 0 160 160 )
NOFRAME
USABLE
MENUID resMenuIDTex2Hex

BEGIN
    TITLE "Tex 2 Hex"
    FIELD ID resFieldIDText AT (30 25 100 AUTO ) USABLE LEFTALIGN FONT 0 EDITABLE
                          UNDERLINED SINGLELINE MAXCHARS 20
    BUTTON "Convert to Hex" ID resButtonIDConvert AT ( 40 48 AUTO AUTO) USABLE FRAME FONT 0
    FIELD ID resFieldIDHex AT (30 70 100 50 ) USABLE LEFTALIGN FONT 0 NONEDITABLE
                          MULTIPLELINES MAXCHARS 90
    GRAFFITISTATEINDICATOR AT (145 150)
END

VERSION 1 "1.0"
ICON "Tex2Hex.bmp"
BITMAP ID resBitmapIDText "text.bmp"
BITMAP ID resBitmapIDHex  "hex.bmp"

/* メニュー部分 */
MENU ID resMenuIDTex2Hex

BEGIN

  PULLDOWN "Commands"
  BEGIN
    MENUITEM "Convert" resMenuItemConvert
    MENUITEM "About"   resMenuItemAbout   "A"
  END

  PULLDOWN "Edit"
  BEGIN
    MENUITEM "Copy"    resMenuItemCopy    "C"
    MENUITEM "Paste"   resMenuItemPaste   "P"
  END

END

/* ダイアログ画面 (メニューの about 選択時) */
ALERT ID  resAlertIDAbout
INFORMATION
BEGIN
  TITLE "About Tex2Hex"
  MESSAGE "Demo program for the ASDK tutorial"
  BUTTONS "Done"
END

/* ダイアログ画面(入力エリアに何も書かれていないときの警告) */
ALERT ID resAlertIDErrNullStr
ERROR
BEGIN
  TITLE "Error"
  MESSAGE "Cannot convert a null string"
  BUTTONS "Oops"
END