Fully Feature List | All commands + Usage

THE LIST IS NOT COMPLETED YET!
I finished it but sadly my fucking computer crashed and the text was gone..

ACPI.cs

Shutdown
// Shuts the system down
Shutdown();

Bluescreen.cs

Initiate Bluescreen
// Initiates a simple Bluescreen
Init();

// Initiates a Bluescreen with custom title
Init(string error);

// Initiates a Bluescreen with custom title and description
Init(string error, string description);

// Initiates a Bluescreen with custom title and description
// and prints the title in red (if critical = true)
// It is not possible to continue without restarting. (Pressing Enter = ACPI Shutdown)
Init(string error, string description, bool critical);
Initiate Kernel Panic
/* This will show a red screen with the following text:
* KERNEL PANIC
* CRITICAL KERNEL EXCEPTION
* PLEASE CONTACT YOUR SOFTWARE MANUFACTURER
*
* It is not possible to continue without hardrestart. (Power Button)
*/
Panic();

Bootscreen.cs

Show Bootscreen
// Effects
public enum Effect : byte
        { SlideFromLeft, SlideFromRight, SlideFromTop, SlideFromBottom, Typewriter, Matrix }

// Shows a bootscreen with 750.000 ticks
Show(string OSname, Effect efx, ConsoleColor color);

// Shows a bootscreen with custom tick count
Show(string OSname, Effect efx, ConsoleColor color, int ticks);

Console.cs

Oh god.. xD

Write a text in many many many many many many different ways
// Write nothing. Very pointless xD
Write();

// Write a string
Write(string text);

// Write a colored string
Write(string text, ConsoleColor color);

// Write a colored string, centered on the X-Axis
Write(string text, ConsoleColor color, bool xcenter);

// Write a colored string, centered on the X- and/or Y-Axis
Write(string text, ConsoleColor color, bool xcenter, bool ycenter);

// Write a fore- and/or background-colored string, centered on the X- and/or Y-Axis.
WriteEx(string text, ConsoleColor foreColor, ConsoleColor backColor, bool xcenter, bool ycenter);

// Start a new line
WriteLine();

// Write a text and start a new line
WriteLine(string text);

// Write a colored string and start a new line
WriteLine(string text, ConsoleColor color);

// Write a colored string, centered on the X-Axis and start a new line
WriteLine(string text, ConsoleColor color, bool xcenter);

// Write a colored string, centered on the X- and/or Y-Axis and start a new line
WriteLine(string text, ConsoleColor color, bool xcenter, bool ycenter);

// Write a fore-and/or background-colored string, centered on the X- and/or Y-Axis + start a new line
WriteLineEx(string text, ConsoleColor foreColor, ConsoleColor backColor, bool xcenter, bool ycenter);

// Same as WriteLine() or WriteLineEx() without any parameters
NewLine();

Fill the background with a color
Fill(ConsoleColor color);
ClearExtended(ConsoleColor color); // Same as Fill

Set a custom indent
SetIndent(int indent);

Draw a Logo Bar
A logo bar is a text (e.g. your OS name or build), in the first line and centered on the X-Axis.
The second line is clean, so it looks better.
DrawLogoBar(string text, ConsoleColor color);

Last edited Feb 1, 2013 at 11:54 AM by SplitOS, version 4

Comments

No comments yet.