int animation_phase; // -1:off, 0,1,2,3~ : phase number int animation_inout; // 0 : in , 1 : out, 2 : emphasis int animation_click; // 0 : when clicked, 1 : immediately int animation_direction; // 0 : fade , 1 : right , 2 : left , 3 : top , 4 : bottom int animation_effect; // 0 :nothing , 1 : do effect after(before) animation
この変数をどのメンバーにするかが問題。
GConstのConstTypeにCONST_EFFECTというのを追加して、「スライドアニメーション専用」の作業を行う。ただ、これでは対象となるオブジェクトを指定しにくい。