;------------------------------------------------------------------------
;		---- Master setup Ver 4.4.5 Script file ----
;
;		TITLE :		プリンタ接続待ち画面
;		FILE  :		DETECT.SCI
;------------------------------------------------------------------------
[SCREEN]
CAPTION=%PRINTERLOGONAME%
BACKGROUND=SCREEN_BG
PAIN=LEFT_STEP,MAIN_FRAME,TITLE_TEXT_PAIN,TEXT1_PAIN,ANIMETION_PAIN,TEXT2_PAIN,STDBTN_PAIN,BMPBTN_PAIN_CANCEL,BMPBTN_PAIN_BACK


;--------------- SCREEN_BG -----------------------
[SCREEN_BG]
FILE=%BITMAP%\bg.bmp
FILLTYPE=STRETCH

;--------------- LEFT_STEP -----------------------
[LEFT_STEP]
AREA=0,0,215,100%
CONTROL=PROGRESS

[PROGRESS]
IF=TRUE
AREA=10,10,100%,100%
CLASS=MSETUP_PROGRESS
FONTSIZE=12
FONTFACE=`%MESSAGE%;STRING;FONTNAME`
FONTBOLD=TRUE
FONTCOLOR=0x2A1F55
FONTGRAYCOLOR=0xC0C0C0
FONTSTEPCOLOR=0xFF0000
FONTITEMCOLOR=0xFFFFFF
STEP1TEXT=`%MESSAGE%;STRING;MSM1801`
STEP1CAPTION=`%MESSAGE%;STRING;MSM1804`
STEP2TEXT=`%MESSAGE%;STRING;MSM1802`
STEP2CAPTION=`%MESSAGE%;STRING;MSM1805`
STEP3TEXT=`%MESSAGE%;STRING;MSM1803`
STEP3CAPTION=%STEP3CAPTION_MSG%
STEP4TEXT=`%MESSAGE%;STRING;MSM1810`
STEP4CAPTION=`%MESSAGE%;STRING;MSM1811`
STEPITEM=%STEPITEM%
STEP=3
ITEM=`%MESSAGE%;STRING;MSM2001`
STEPNUM=%STEPNUM%

;--------------- FRAME セクション名 1 -----------------------
[MAIN_FRAME]
AREA=210,22,740,500
CONTROL=FRAME1

;--------------- コントロールセクション 定義 -----------------------
[FRAME1]
AREA=0,0,100%,100%
CLASS=MSETUP_FRAME

;--------------- TITLE_TEXT_PAIN -----------------------
[TITLE_TEXT_PAIN]
AREA=236,48,722,72
CONTROL=TITLE_TEXT

;--------------- TITLE_TEXT_PAIN CONTROL -----------------------
[TITLE_TEXT]
IF=TRUE
CLASS=MSETUP_TEXT
AREA=0,0,100%,100%
TEXT=`%MESSAGE%;STRING;MSM2001`
FONTSIZE=18
FONTFACE=`%MESSAGE%;STRING;FONTNAME`
FONTBOLD=TRUE
ALIGN=L
BLINK=FALSE
ENABLE=TRUE

;--------------- TEXT1_PAIN -----------------------
[TEXT1_PAIN]
AREA=256,88,720,128
CONTROL=TEXT_CTRL1

;--------------- TEXT1_PAIN CONTROL -----------------------
[TEXT_CTRL1]
IF=TRUE
CLASS=MSETUP_TEXT
AREA=0,0,100%,100%
TEXT=`%MESSAGE%;STRING;MSM2002`
FONTSIZE=12
FONTFACE=`%MESSAGE%;STRING;FONTNAME`
FONTBOLD=FALSE
ALIGN=L
BLINK=FALSE
ENABLE=TRUE

;--------------- ANIMETION_PAIN -----------------------
[ANIMETION_PAIN]
AREA=230,140,720,370
CONTROL=ANIMETION

;--------------- ANIMETION CONTROL -----------------------
[ANIMETION]
IF=TRUE
CLASS=MSETUP_ANIMETION
AREA=0,0,100%,100%
;FILE=%SRC%\RES\anime\USB.ANI
FILE=%ANIMATION_FILE%

;--------------- TEXT2_PAIN -----------------------
[TEXT2_PAIN]
AREA=240,375,564,475
CONTROL=TEXT_SELECTPORT,TEXT_WARNING,BMP_WARNING,TEXT_DETECT

;--------------- TEXT_SELECTPORT CONTROL -----------------------
[TEXT_SELECTPORT]
IF=IS_SHOWSELPORT
CLASS=MSETUP_TEXT
AREA=20,0,100%,50%
TEXT=`%MESSAGE%;STRING;MSM2005`
FONTSIZE=12
FONTFACE=`%MESSAGE%;STRING;FONTNAME`
FONTBOLD=FALSE
ALIGN=L
BLINK=FALSE
ENABLE=TRUE

;--------------- TEXT_WARNING CONTROL -----------------------
[TEXT_WARNING]
IF=IS_WARNING
CLASS=MSETUP_TEXT
AREA=20,60%,100%,100%
TEXT=`%MESSAGE%;STRING;MSM2003`
FONTSIZE=12
FONTFACE=`%MESSAGE%;STRING;FONTNAME`
FONTBOLD=FALSE
ALIGN=L
BLINK=FALSE
ENABLE=TRUE

[IS_WARNING]
IFNE=%DETECTWARNINGFLAG%,0

;--------------- TEXT_WARNING CONTROL -----------------------
[BMP_WARNING]
IF=IS_WARNING
CLASS=MSETUP_BITMAP
AREA=0,60%,16,75%
FILE=%BITMAP%\ALART.BMP
FILLTYPE=STRETCH
TRANSPARENTCOLOR=0xFF00FF

;--------------- TEXT_DETECT CONTROL -----------------------
[TEXT_DETECT]
IF=IS_DETECT
CLASS=MSETUP_TEXT
AREA=20,60%,100%,100%
TEXT=`%MESSAGE%;STRING;MSM2006`
FONTSIZE=12
FONTFACE=`%MESSAGE%;STRING;FONTNAME`
FONTBOLD=FALSE
ALIGN=L
BLINK=FALSE
ENABLE=TRUE

[IS_DETECT]
IFNE=%DETECTDEVICEFLAG%,0


;--------------- TEXT2_PAIN -----------------------
[STDBTN_PAIN]
AREA=575,383,714,483
CONTROL=BTN_SELECTPORT,BTN_HELP

;--------------- BTN_SELECTPORT CONTROL -----------------------
[BTN_SELECTPORT]
IF=IS_SHOWSELPORT
CLASS=MSETUP_STANDARDBUTTON
AREA=0,0,100%,25
TEXT=`%MESSAGE%;STRING;MSM2004`
FONTSIZE=10
FONTFACE=`%MESSAGE%;STRING;FONTNAME`
FONTBOLD=FALSE
ENABLE=TRUE
EVENT=SELECTPORT_EVENT

[IS_SHOWSELPORT]
IF=%INSTALLFLOW%,Custom
IFNE=%STEPCD%,1


;--------------- BTN_HELP CONTROL -----------------------
[BTN_HELP]
IF=IS_HELP
CLASS=MSETUP_STANDARDBUTTON
AREA=0,60,100%,85
TEXT=`%MESSAGE%;STRING;MSM0011`
FONTSIZE=10
FONTFACE=`%MESSAGE%;STRING;FONTNAME`
FONTBOLD=FALSE
ENABLE=TRUE
EVENT=HELP_EVENT

[IS_HELP]
IFEXIST=%MANUAL_PATH%\html\%LANG%\help.htm

;--------------- BMPBTN_PAIN_CANCEL -----------------------
[BMPBTN_PAIN_CANCEL]
AREA=17,517,160,557
CONTROL=BTN_CANCEL

;--------------- BTN_CANCEL CONTROL -----------------------
[BTN_CANCEL]
IF=TRUE
CLASS=MSETUP_BUTTON
AREA=0,0,136,36
TEXT=`%MESSAGE%;STRING;MSM0002`
FONTSIZE=12
FONTFACE=`%MESSAGE%;STRING;FONTNAME`
FONTBOLD=TRUE
BUTTONCOLOR=GRAY
BUTTONSIZE=SMALL
BLINK=FALSE
ENABLE=TRUE
EVENT=CANCEL_EVENT
OFF_OFFSET=-2,-2
ON_OFFSET=0,0
DISABL_OFFSET=0,0
TRANSPARENTCOLOR=0xFF00FF
DEFAULTBTN=1
TEXTCOLOR=0x000000
SHADOWCOLOR=0xffffff
FOCUSCOLOR=0x555555
DISABLECOLOR=0xA0A0A0

;--------------- BMPBTN_PAIN_BACK -----------------------
[BMPBTN_PAIN_BACK]
AREA=167,517,753,557
CONTROL=BTN_BACK

;--------------- BTN_BACK -----------------------
[BTN_BACK]
IF=IS_LAN
CLASS=MSETUP_BUTTON
AREA=0,0,136,36
TEXT=`%MESSAGE%;STRING;MSM0005`
FONTSIZE=12
FONTFACE=`%MESSAGE%;STRING;FONTNAME`
FONTBOLD=TRUE
BUTTONCOLOR=GRAY
BUTTONSIZE=SMALL
BLINK=FALSE
ENABLE=TRUE
EVENT=PREV_EVENT
OFF_OFFSET=-2,-2
ON_OFFSET=0,0
DISABL_OFFSET=0,0
TRANSPARENTCOLOR=0xFF00FF
TEXTCOLOR=0x000000
SHADOWCOLOR=0xffffff
FOCUSCOLOR=0x555555
DISABLECOLOR=0xA0A0A0

[IS_LAN]
IFNE=%LANFLAG%,0
 
;------------------- TEXTPROGRESS_PAIN -----------------------
[TEXTPROGRESS_PAIN]
AREA=240,440,716,490
CONTROL=TEXT_POSITION,TEXT_REST

[TEXT_POSITION]
IF=TRUE
CLASS=MSETUP_TEXT
AREA=0,0,100%,50%
TEXT=`%MESSAGE%;STRING;MSM1701`
FONTSIZE=12
FONTFACE=`%MESSAGE%;STRING;FONTNAME`
FONTBOLD=TRUE
ALIGN=R
BLINK=FALSE
ENABLE=TRUE

[TEXT_REST]
IF=TRUE
CLASS=MSETUP_TEXT
AREA=0,50%,100%,100%
TEXT=`%MESSAGE%;STRING;MSM1702`
FONTSIZE=12
FONTFACE=`%MESSAGE%;STRING;FONTNAME`
FONTBOLD=TRUE
ALIGN=R
BLINK=FALSE
ENABLE=TRUE


