|
马上加入TC
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
namespace zhu
function bool 开始_点击()
int foobara = dm.CreateFoobarRoundRect(0,1024,10,200,200,30,30)
int foobarb = dm.CreateFoobarRoundRect(0,1024,400,200,200,30,30)
//////////////////////////////////////
其他功能
/////////////////////////////////////
return turn
endfunciton
end namespace
/////////////////////////////////////////////////////////////////////////////////////////////////////
namespace fu
function bool tishi(int x, int y , string tishineirong )
int dm_reta = dm.FoobarFillRect(foobara,0,0,200,200,"FF0000")
int dm_retb = dm.FoobarDrawText(foobara,x,y,200,30,tishineirong,"000000",1)
int dm_reta1 = dm.FoobarFillRect(foobarb,0,0,200,200,"FF0000")
int dm_retb1 = dm.FoobarDrawText(foobarb,x,y,200,30,tishineirong,"000000",1)
dm.FoobarUpdate(foobara)
dm.FoobarUpdate(foobarb)
return true
endfunction
endnamespace
1.如何吧zhu空间的foobara 和foobarb 传值给fu空间呢?
2.如果直接在fu空间内创建大漠FOOBAR那么调用一次fu空间就会创建一个大漠foobar- -!狠头疼啊!
|
|