コード例 #1
0
        /** プールへ削除。
         */
        public void DeleteToPool()
        {
            //OnDelete
            this.eventplate.OnDelete();

            //コールバック解除。
            this.callbackparam_changecheck = null;

            //ターゲット解除。
            Fee.Ui.Ui.GetInstance().UnSetTargetRequest(this);
        }
コード例 #2
0
        /** プールから作成。
         */
        public void InitializeFromPool(long a_drawpriority)
        {
            //rect
            this.rect.Set(0, 0, 0, 0);

            //drawpriority
            this.drawpriority = a_drawpriority;

            //eventplate
            this.eventplate = new Fee.EventPlate.Item(null, Fee.EventPlate.EventType.Button, this.drawpriority);
            this.eventplate.SetOnEventPlateOver(this, -1);

            //callbackparam_changecheck
            this.callbackparam_changecheck = null;

            //is_onover
            this.is_onover = false;

            //lock_flag
            this.lock_flag = false;

            //clip_flag
            this.clip_flag = false;

            //clip_rect
            this.clip_rect.Set(0, 0, 0, 0);

            //visible_flag
            this.visible_flag = true;

            //mode
            this.mode = CheckButton_Mode.Normal;

            //check_flag
            this.check_flag = false;
        }