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"); } }
public void SetConsole(Gui.Widgets.DwarfConsole Console) { this.ConsoleLogOutput = Console; Console.AddMessage(PreConsoleLogQueue.ToString()); }