Esempio n. 1
0
        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);
            }
        }