¤ª¤Ï¤è¤¦¤´¤¶¤¤¤Þ¤¹¡£
»þ·×¡ÊÇطʲèÁü¤Î±¦²¼¤Ë»þ·×ɽ¼¨¡Ë¤òºî¤Ã¤Æ¡¢¤½¤Îº¸Â¦¤Ë¥Ü¥¿¥ó¤òºî¤Ã¤Æ¤¤¤Þ¤¹¡£
¥Ü¥¿¥ó¤ò²¡¤¹¤È¡¢»þ·×¤¬»ß¤Þ¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡¦¡¦¡¦¡£
¤ªÊ¹¤¤·¤¿¤¤¤È»×¤Ã¤Æ¡¢¥½¡¼¥¹¤ò¸«°×¤¯¤·¤Æ¤¤¤¿¤é¡¢¸½ºßÆüÉÕ¤â¾Ã¤¨¤Æ¤·¤Þ¤Ã¤¿¤ß¤¿¤¤¤Ç¤¹¡¦¡¦¡¦¡£
¤Ê¤ä¤ó¤Ç¤¤¤¿¤éÄ«¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡¦¡¦¡¦¡£¡Ê£Ô£Ô¡Ë
²¿ÅÙ¤â¤â¤¦¤·¤ï¤±¤¢¤ê¤Þ¤»¤ó¡£¤è¤í¤·¤¯¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£¡Ê£Ô£Ô¡Ë
#include "hsp3util.as" ; getdatestr¡ÊÆüÉÕ¡Ë,gettimestr¡Ê»þ´Ö¡Ë¤ò»È¤¨¤ë¤è¤¦¤Ë¤Ê¤ë
screen 0,320,80 ; ²èÌÌ¥µ¥¤¥º»ØÄê
picload "tokei.jpg" ; ÇØ·Ê
font msgothic,18,1 ; ʸ»ú¥µ¥¤¥º¤ò»ØÄê¡Ê¥Õ¥©¥ó¥È̾¡¦Ê¸»ú¥µ¥¤¥º¡¦ÂÀʸ»ú¤Ê¤É¡Ë
t1="":t2=""
;----------------------------------------------------------------------------
;(ÁªÂò¥Ü¥¿¥ó)
objsize 100,26
pos 40,40
button " ¥Ü¥¿¥ó£±",*popo1
button " ¥Ü¥¿¥ó£²",*popo2
button " ¥Ü¥¿¥ó£³",*popo3
button " ¥Ü¥¿¥ó£´",*popo4
newcom objVBsc, "ScriptControl"
objVBsc("Language")="VBScript"
goto *tmprt
;----------------------------------------------------------------------------
;(¥Ü¥¿¥ó£±)
*popo1
onexit *owari
dispx=ginfo_dispx
dispy=ginfo_dispy
screen 1,dispx,dispy,0,(dispx-400)/2,(dispy-300)/2,400,300 ;¿¿¤óÃæ¤Ëɽ¼¨
color 0,0,255 :boxf
width 400,300
gsel 1,2
stop
;----------------------------------------------------------------------------
;(¥Ü¥¿¥ó£²)
*popo2
onexit *owari
dispx=ginfo_dispx
dispy=ginfo_dispy
screen 1,dispx,dispy,0,(dispx-400)/2,(dispy-300)/2,400,300 ;¿¿¤óÃæ¤Ëɽ¼¨
color 0,0,255 :boxf
width 400,300
gsel 1,2
stop
;----------------------------------------------------------------------------
;(¥Ü¥¿¥ó£³)
*popo3
onexit *owari
dispx=ginfo_dispx
dispy=ginfo_dispy
screen 1,dispx,dispy,0,(dispx-400)/2,(dispy-300)/2,400,300 ;¿¿¤óÃæ¤Ëɽ¼¨
color 0,0,255 :boxf
width 400,300
gsel 1,2
stop
;----------------------------------------------------------------------------
;(¥Ü¥¿¥ó£´)
*popo4
onexit *owari
dispx=ginfo_dispx
dispy=ginfo_dispy
screen 1,dispx,dispy,0,(dispx-400)/2,(dispy-300)/2,400,300 ;¿¿¤óÃæ¤Ëɽ¼¨
color 0,0,255 :boxf
width 400,300
gsel 1,2
stop
;----------------------------------------------------------------------------
*owari ;screen 1°Ê¹ß¤Î±¦¾å¤Î£Ø½èÍý
actwin=ginfo_act
if actwin{gsel actwin,-1: stop}
end
;----------------------------------------------------------------------------
; »þ·×ɽ¼¨¤Î¥á¥¤¥ó
*tmprt
getdatestr t1¡¡¡¡¡¡¡¡; ÆüÉÕ¤ò¼èÆÀ
gettimestr t2 ; »þ¹ï¤ò¼èÆÀ
redraw 0
color 255 ; »þ·×¤òɽ¼¨¤¹¤ë¥Ü¥Ã¥¯¥¹¤Î¿§¡Ê255¤ÇÀÖ¿§¡Ë
boxf 130,150,300,225 ;¡Êº¸¾å¾ºÂɸ¡¦º¸¾å£ÙºÂɸ¡¦±¦²¼¾ºÂɸ¡¦±¦²¼£ÙºÂɸ¡Ë
color 0,0,0 ; »þ¹ï¤Îʸ»ú¿§
pos 175,170:mes t1 ; »þ¹ï¤òɽ¼¨
pos 175,195:mes t2 ; ÆüÉÕ¤òɽ¼¨
redraw 1
wait 100 ; 1ÉÃ¥¦¥¨¥¤¥È¤¹¤ë
goto *tmprt ; ̵¸Â¥ë¡¼¥×