Exemplo n.º 1
0
        private void ShowNextPage(DwarfConsole Console)
        {
            int linesShown = 0;

            while (linesShown < Console.VisibleLines - 2 && PendingOutput.Count > 0)
            {
                Console.AddMessage(PendingOutput[0] + "\n");
                PendingOutput.RemoveAt(0);
                linesShown += 1;
            }

            if (PendingOutput.Count > 0)
            {
                Console.AddMessage("** Press any key for more\n");
            }
        }
Exemplo n.º 2
0
 public void SetConsole(Gui.Widgets.DwarfConsole Console)
 {
     this.ConsoleLogOutput = Console;
     Console.AddMessage(PreConsoleLogQueue.ToString());
 }