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.

28 lines
715 B

4 weeks ago
using Mindmagma.Curses;
using SCI.CursesWrapper;
4 weeks ago
namespace ANSI_Fahrplan.Screens;
public class IntroScreen : Window {
4 weeks ago
private nint infoTextBox;
/// <summary>
/// Pass class constructor through to inherited constructor
/// </summary>
/// <param name="parentWindow">Parent window of this window object</param>
public IntroScreen (nint screen) :
base (
1, 1,
CursesWrapper.GetWidth (screen) - 2,
CursesWrapper.GetHeight (screen) - 2
)
{
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 (WindowId, asciiArtPlusText);
4 weeks ago
}
}