Class Ansi1
A simple splashscreen that fades in a screen specifying "Powered by SadConsole".
Implements
Inherited Members
Namespace: SadConsole.SplashScreens
Assembly: SadConsole.dll
Syntax
public class Ansi1 : ScreenSurface, IDisposable, IScreenSurfaceEditable, IScreenSurface, IScreenObject, IPositionable, IComponentHost, ISurface, ISurfaceSettable
Constructors
Ansi1()
Creates the ansi splash screen using the EmbeddedFont and a font size of One.
Declaration
public Ansi1()
Ansi1(IFont, Sizes)
Creates the ansi splash screen using the specified font and size.
Declaration
public Ansi1(IFont font, IFont.Sizes fontSize)
Parameters
Type | Name | Description |
---|---|---|
IFont | font | The font to use. |
IFont.Sizes | fontSize | The font size to use. |
Ansi1(Sizes)
Creates the ansi splash screen using the EmbeddedFont and the specified font size.
Declaration
public Ansi1(IFont.Sizes fontSize)
Parameters
Type | Name | Description |
---|---|---|
IFont.Sizes | fontSize | The size of font to use. |
Methods
ProcessKeyboard(Keyboard)
Ends the animation when a key is pressed.
Declaration
public override bool ProcessKeyboard(Keyboard keyboard)
Parameters
Type | Name | Description |
---|---|---|
Keyboard | keyboard | The keyboard state. |
Returns
Type | Description |
---|---|
bool | The base implementation of the keyboard. |