public override void PostOpen()
if (this.table == null)
this.table = this.CreateTable()
this.SetDirty()
public override void DoWindowContents(Rect rect)
base.DoWindowContents(rect)
this.table.PawnTableOnGUI(new Vector2(rect.x, rect.y + this.ExtraTopSpace))
public void Notify_PawnsChanged()
this.SetDirty()
public override void Notify_ResolutionChanged()
this.table = this.CreateTable()
base.Notify_ResolutionChanged()
private PawnTable CreateTable()
return new PawnTable(this.PawnTableDef, () => this.Pawns, 998, UI.screenWidth - (int)(this.Margin * 2f), 0, (int)( (float)(UI.screenHeight - 35) - this.ExtraBottomSpace - this.ExtraTopSpace - this.Margin * 2f))
protected void SetDirty()
this.table.SetDirty()
this.SetInitialSizeAndPosition()
コメントをかく