mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
35 lines
No EOL
688 B
C#
35 lines
No EOL
688 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Cosmos.HAL
|
|
{
|
|
public abstract class TextScreenBase : Device
|
|
{
|
|
public abstract void Clear();
|
|
|
|
public abstract void SetColors(ConsoleColor aForeground, ConsoleColor aBackground);
|
|
|
|
public abstract ushort Cols
|
|
{
|
|
get;
|
|
}
|
|
|
|
public abstract ushort Rows
|
|
{
|
|
get;
|
|
}
|
|
|
|
public abstract void SetCursorPos(int x, int y);
|
|
|
|
public abstract void ScrollUp();
|
|
|
|
public abstract char this[int x, int y]
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
} |