More ... | Edit History:DiffChanges of カレントポジションの設定方法変更機能付きpos between Epoch and 2015/09/09 09:31:22 JST
+ カレントポジションの設定方法変更機能付きpos + {{{ + #module + #define PS_CENTER 0 ;中央 + #define PS_DEFAULT 1;通常と同じ + #define PS_ABSOLUTE 2;(0,画面yサイズ÷2) + #define PS_GRAPH 3;左下が原点 + + #deffunc cxpos int type,int r,int sita + x=r*cos(sita):y=-1*r*sin() + if(type=0):pos (ginfo(12)/2)+x,(ginfo(13)/2)-y + if(type=1):pos x,y + if(type=2):pos x,(ginfo(13)/2)-y + if(type=3):pos x,ginfo(13)-y + pos x,y + return + #global + }}} |