|
楼主 |
发表于 2018-4-8 05:39:31
|
显示全部楼层
function mousedown_newbie()
return function (flags, hotspot_id)
if hotspot_id=='btn_newbie' then
if newbie==0 then
newbie=1
else
newbie=0
end
if flags==16 then
if newbie==1 then
switch_name10="任务检查内力-开"
Note("I am a Newbie")
else
switch_name10="任务检查内力-关"
Note("I Not Newbie")
end
WindowRectOp (win2, miniwin.rect_fill, 0,180,140,200,ColourNameToRGB("black")) -- raised, filled, softer, flat 0x909090
WindowFont (win2, "f", "新宋体", 10, true, false, false, false)
WindowText (win2, "f", switch_name10,0,180,140,200,ColourNameToRGB ("gold"), false) -- not Unicode
WindowShow (win2, true) -- show it
end
end
end
end
是改这里么? |
|