You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
789 B
32 lines
789 B
4 weeks ago
|
using Mindmagma.Curses;
|
||
|
|
||
|
namespace ANSI_Fahrplan.Screens;
|
||
|
|
||
|
public class IntroScreen : Screen {
|
||
|
private nint infoTextBox;
|
||
|
|
||
|
/// <summary>
|
||
|
/// Pass class constructor through to inherited constructor
|
||
|
/// </summary>
|
||
|
/// <param name="rootWindow">Root window to use for this screen</param>
|
||
|
public IntroScreen (nint rootWindow) : base (rootWindow) { }
|
||
|
|
||
|
public override void Show () {
|
||
|
string asciiArtPlusText =
|
||
|
"Press F1 for a quick start guide or simply press Enter\n" +
|
||
|
"to see upcoming events\n" +
|
||
|
AsciiArt.logo38c3_80x24 +
|
||
|
"\n38C3 Fahrplan in your terminal!";
|
||
|
|
||
|
AsciiArt.ShowCentered (RootWindow, asciiArtPlusText);
|
||
|
|
||
|
//infoTextBox = NCurses.SubWindow (infoTextBox, );
|
||
|
|
||
|
NCurses.Refresh ();
|
||
|
NCurses.WindowRefresh (RootWindow);
|
||
|
}
|
||
|
|
||
|
public override void Hide () {
|
||
|
|
||
|
}
|
||
|
}
|