自由に使ってください
自由に使ってください
; title"sample" ; screen 0,400,200 repeat redraw 0 gradf 0,0,400,200,1,$333333,$111111 ; gradf 10,10,160,35,1,$007700,$004400 gradf 11,11,158,33,1,$333333,$222222 if mousex>=10&mousey>=10&mousey<=45&mousex<=170{ gradf 11,11,158,33,1,$333333,$222233 stick click,,1 if click=256&mode=0{ mode=1 }else{ if click=256&mode=1{ mode=0 } } } if mode=1{ gradf 11,11,158,33,1,$333333,$222233 //メニューの項目 gradf 200,20,180,35,1,$333333,$333333 pos 220,30:mes"Menu 1" ; gradf 200,60,180,35,1,$333333,$333333 pos 220,70:mes"Menu 2" ; gradf 200,100,180,35,1,$333333,$333333 pos 220,110:mes"Menu 3" ; gradf 200,140,180,35,1,$333333,$333333 pos 220,150:mes"Menu 4" } font"Meiryo",13 color 255,255,255 pos -1000,-1000:mes"設定>>" pos (160-ginfo_mesx)/2+10,(35-ginfo_mesy)/2+10:mes"設定>>" ; redraw 1 wait 1 loop