[Top Page][All Pages][Recent Changes]

Edit History:Diff

Changes of カレントポジションの設定方法変更機能付きpos since Epoch

  • + added lines
  • - deleted lines

Return to the edit history

+ * カレントポジションの設定方法変更機能付きpos
+ {{{
+ #module
+ #define PS_CENTER 0 ;中央
+ #define PS_DEFAULT 1;通常と同じ
+ #define PS_ABSOLUTE 2;(0,画面yサイズ÷2)
+ #define PS_GRAPH 3;左下が原点
+ 
+ #deffunc xpos int type,int x,int y
+   if(type=0):pos (ginfo(12)/2)+x,(ginfo(13)/2)-y:return
+   if(type=1):pos x,y:return
+   if(type=2):pos x,(ginfo(13)/2)-y:return
+   if(type=3):pos x,ginfo(13)-y:return
+   pos x,y:return
+   return
+ #global
+ }}}