public override void SetView(View view) { base.SetView(view); updateViewChipData(); }
public override void SetView(View view) { _viewChips = null; base.SetView(view); }
public virtual void SetView(View view) { this.view = view; int vb = (int)(view.Y + view.Height); _xOffset = view.X % _chipData.ChipWidth; _yOffset = view.Y % _chipData.ChipHeight; _xFirstIdx = convertP2IdxX(view.X); _yFirstIdx = convertP2IdxY(view.Y); _xLastIdx = _xFirstIdx + _needColumnNum; _yLastIdx = _yFirstIdx + _needRowNum; if(_viewChips != null) _viewChips.Clear(); _viewChips = null; }