/** プールから作成。 */ public void InitializeFromPool(long a_drawpriority, Scroll_Type a_scroll_type, int a_item_length) { //eventplate this.eventplate = new EventPlate.Item(null, EventPlate.EventType.View, a_drawpriority); this.eventplate.SetOnEventPlateOver(this, -1); //list this.list = new System.Collections.Generic.List <ITEM>(); //drawpriority this.param.drawpriority = a_drawpriority; //scroll_value this.param.scroll_value.Initialize(); this.param.scroll_value.SetCallBack(this); this.param.scroll_value.SetItemLength(a_item_length); //scroll_drag this.param.scroll_drag.Initialize(); this.param.scroll_drag.SetCallBack(this); //rect this.param.rect.Set(0, 0, 0, 0); this.param.bg_offset.Set(0, 0); this.param.clip_rect.Set(0, 0, 0, 0); //scroll_type this.param.scroll_type = a_scroll_type; //is_onover this.param.is_onover = false; //visible_flag this.param.visible_flag = true; }
/** プールから作成。 */ 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_click this.callbackparam_click = null; //callbackparam_down this.callbackparam_down = null; //callbackparam_changeoverflag this.callbackparam_changeoverflag = null; //callbackparam_focuscheck this.callbackparam_focuscheck = null; //is_onover this.is_onover = false; //down_flag this.down_flag = 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; //event_request this.event_request = 0; //mode this.mode = Button_Mode.Normal; //dragcancel_flag this.dragcancel_flag = false; //nofocus_flag this.nofocus_flag = false; //focus_flag this.focus_flag = false; }
/** プールから作成。 */ public void InitializeFromPool(long a_drawpriority) { //rect this.rect.Set(0, 0, 0, 0); //button_rect this.button_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, 0); //eventplate_button this.eventplate_button = new Fee.EventPlate.Item(null, Fee.EventPlate.EventType.Button, this.drawpriority + 1); this.eventplate_button.SetOnEventPlateOver(this, 1); //callbackparam_changevalue this.callbackparam_changevalue = null; //is_onover this.is_onover = false; //is_onover_button this.is_onover_button = false; //value this.value = 0.0f; //value_scale this.value_scale = 1.0f; //clip_flag this.clip_flag = false; //clip_rect this.clip_rect.Set(0, 0, 0, 0); //visible_flag this.visible_flag = true; //down_flag this.down_flag = false; //lock_flag this.lock_flag = false; }
/** プールから作成。 */ 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; }