/** モード。設定。 */ private void SetMode(CheckButton_Mode a_mode) { if (this.mode != a_mode) { this.mode = a_mode; //コールバック。モード変更。 this.OnChangeMode(); } }
/** プールから作成。 */ 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; }