void MarkPendingRedraw() { TableWidget table = (TableWidget)widgets[view.tableIndex]; table.ClampIndex(); table.RecalculateDrawData(); pendingRedraw = true; game.Dirty = true; }
public override void DrawAll() { DrawBackground(); TableWidget table = (TableWidget)widgets[tableIndex]; if (table != null) { table.ClampIndex(); } base.DrawAll(); }
internal void RedrawTable() { using (FastBitmap dst = game.LockBits()) DrawTableBackground(dst); TableWidget table = (TableWidget)widgets[tableIndex]; table.ClampIndex(); int tableHeight = Math.Max(game.Height - tableY - 50, 1); table.Height = tableHeight; using (drawer) { drawer.SetBitmap(game.Framebuffer); table.RedrawData(drawer); } }