API Diff between 10.0.1-debug and 9.2.1
756 Additions
332 Removals
SadConsole
-
public static class Algorithms
- public static void Circle(int centerX, int centerY, int radius, Action<int, int> plot)
- public static void Ellipse(int x0, int y0, int x1, int y1, Action<int, int> plot)
- public static void Line(int x1, int y1, int x2, int y2, Func<int, int, bool> plot)
-
public class AnimatedScreenSurface : ScreenSurface
-
public class AnimatedScreenObject : ScreenObject, IScreenSurface, IScreenObject, IPositionable, IComponentHost
- public enum AnimationState
- public class AnimationStateChangedEventArgs : EventArgs
- protected TimeSpan AddedTime
- protected int CurrentFrameIndexValue
- protected bool IsMouseOver
- protected int NewFrameHeight
- protected int NewFrameWidth
- protected TimeSpan TimePerFrame
- public Rectangle AbsoluteArea { get; }
- public TimeSpan AnimationDuration { get; set; }
- public Point Center { get; set; }
- public ICellSurface CurrentFrame { get; }
- public int CurrentFrameIndex { get; set; }
- public virtual string DefaultRendererName { get; }
- public bool FocusOnMouseClick { get; set; }
- public IFont Font { get; set; }
- public Point FontSize { get; set; }
- public bool ForceRendererRefresh { get; set; }
- public List<ICellSurface> Frames { get; }
- public int Height { get; }
- public int HeightPixels { get; }
- public bool IsDirty { get; set; }
- public bool IsEmpty { get; }
- public bool IsPlaying { get; protected set; }
- public bool MoveToFrontOnMouseClick { get; set; }
- public string Name { get; set; }
- public IRenderer Renderer { get; set; }
- public bool Repeat { get; set; }
- public AnimationState State { get; set; }
- public Color Tint { get; set; }
- public bool UsePixelPositioning { get; set; }
- public int ViewHeight { get; set; }
- public Point ViewPosition { get; set; }
- public int ViewWidth { get; set; }
- public int Width { get; }
- public int WidthPixels { get; }
- public event EventHandler<AnimationStateChangedEventArgs> AnimationStateChanged
- public event EventHandler<MouseScreenObjectState> MouseButtonClicked
- public event EventHandler<MouseScreenObjectState> MouseEnter
- public event EventHandler<MouseScreenObjectState> MouseExit
- public event EventHandler<MouseScreenObjectState> MouseMove
- public AnimatedScreenObject(string name, int width, int height)
- public AnimatedScreenObject(string name, IEnumerable<ICellSurface> frames)
- public AnimatedScreenObject(string name, int width, int height, IFont font, Point fontSize)
- public AnimatedScreenObject(string name, IFont font, Point fontSize, IEnumerable<ICellSurface> frames)
- public static AnimatedScreenObject CreateStatic(int width, int height, int frames, double blankChance, Color? background = default, Color? foreground = default)
- public static AnimatedScreenObject FromImage(string name, string filePath, Point frameLayout, TimeSpan frameDuration, Point? pixelPadding = default, Point? frameStartAndFinish = default, IFont font = null, Action<ColoredGlyphBase> action = null, TextureConvertMode convertMode = 1, TextureConvertForegroundStyle convertForegroundStyle = 0, TextureConvertBackgroundStyle convertBackgroundStyle = 0)
- public static AnimatedScreenObject Load(string file)
- public ICellSurface CreateFrame()
- protected virtual void Dispose(bool disposing)
- public void Dispose()
- protected virtual void OnMouseEnter(MouseScreenObjectState state)
- protected virtual void OnMouseExit(MouseScreenObjectState state)
- protected virtual void OnMouseLeftClicked(MouseScreenObjectState state)
- protected virtual void OnMouseMove(MouseScreenObjectState state)
- protected virtual void OnRightMouseClicked(MouseScreenObjectState state)
- public void Restart()
- public void Save(string file)
- public void Start()
- public void Stop()
-
public struct CellDecorator : IEquatable<CellDecorator>
-
public static class CellDecoratorHelpers
-
public class CellSurface : ICellSurface, IGridView<ColoredGlyphBase>, IEnumerable<ColoredGlyphBase>, IEnumerable, ISurface, ICellSurfaceResize, ICellSurfaceSettable
- public ColoredGlyph[] Cells { get; protected set; }
- public ColoredGlyphBase[] Cells { get; protected set; }
- public ColoredGlyph this[int x, int y] { get; protected set; }
- public ColoredGlyph this[int index] { get; protected set; }
- public ColoredGlyph this[Point position] { get; protected set; }
- public ColoredGlyphBase this[int x, int y] { get; protected set; }
- public ColoredGlyphBase this[int index] { get; protected set; }
- public ColoredGlyphBase this[Point position] { get; protected set; }
- public Span<ColoredGlyphBase> this[Range range] { get; }
- public ICellSurface Surface { get; }
- public CellSurface(int width, int height, ColoredGlyph[] initialCells)
- public CellSurface(int width, int height, ColoredGlyphBase[] initialCells)
- public CellSurface(int viewWidth, int viewHeight, int totalWidth, int totalHeight, ColoredGlyph[] initialCells)
- public CellSurface(IGridView<ColoredGlyph> surface, int visibleWidth = 0, int visibleHeight = 0)
- public IEnumerator<ColoredGlyph> GetEnumerator()
- public CellSurface(int viewWidth, int viewHeight, int totalWidth, int totalHeight, ColoredGlyphBase[] initialCells)
- public CellSurface(IGridView<ColoredGlyphBase> surface, int visibleWidth = 0, int visibleHeight = 0)
- public IEnumerator<ColoredGlyphBase> GetEnumerator()
- public void SetSurface(ColoredGlyph[] cells, int width, int height, int bufferWidth, int bufferHeight)
- public void SetSurface(ColoredGlyphBase[] cells, int width, int height, int bufferWidth, int bufferHeight)
-
public static class CellSurfaceEditor
- public static void AddDecorator(this ICellSurface surface, int x, int y, int count, CellDecorator[] decorators)
- public static void AddDecorator(this ICellSurface surface, int index, int count, CellDecorator[] decorators)
- public static void Clear(this ICellSurface surface)
- public static void Clear(this ICellSurface surface, int x, int y)
- public static void Clear(this ICellSurface surface, int x, int y, int length)
- public static void Clear(this ICellSurface surface, Rectangle area)
- public static void ClearDecorators(this ICellSurface surface, int x, int y, int count)
- public static void ClearDecorators(this ICellSurface surface, int index, int count)
- public static void ClearShiftValues(this ICellSurface surface)
- public static void ConnectLines(this ICellSurface surface)
- public static void ConnectLines(this ICellSurface surface, int[] lineStyle)
- public static void ConnectLines(this ICellSurface surface, int[] lineStyle, Rectangle area)
- public static void Copy(this ICellSurface surface, ICellSurface destination)
- public static void Copy(this ICellSurface surface, ICellSurface destination, int x, int y)
- public static void Copy(this ICellSurface surface, Rectangle area, ICellSurface destination, int destinationX, int destinationY)
- public static void Copy(this ICellSurface surface, int x, int y, int width, int height, ICellSurface destination, int destinationX, int destinationY)
- public static void DrawBox(this ICellSurface surface, Rectangle area, ShapeParameters parameters)
- public static void DrawBox(this ICellSurface surface, Rectangle area, ColoredGlyph border, ColoredGlyph fill = null, int[] connectedLineStyle = null)
- public static void DrawCircle(this ICellSurface surface, Rectangle area, ShapeParameters parameters)
- public static void DrawCircle(this ICellSurface surface, Rectangle area, ColoredGlyph outer, ColoredGlyph inner = null)
- public static IEnumerable<ColoredGlyph> DrawLine(this ICellSurface surface, Point start, Point end, int? glyph, Color? foreground = default, Color? background = default, Mirror? mirror = default)
- public static ColoredGlyph[] Erase(this ICellSurface surface, int x, int y, int count)
- public static void Erase(this ICellSurface surface, int x, int y)
- public static void Erase(this ICellSurface surface)
- public static ColoredGlyph[] Fill(this ICellSurface surface, Color? foreground = default, Color? background = default, int? glyph = default, Mirror? mirror = default)
- public static ColoredGlyph[] Fill(this ICellSurface surface, int x, int y, int length, Color? foreground = default, Color? background = default, int? glyph = default, Mirror? mirror = default)
- public static ColoredGlyph[] Fill(this ICellSurface surface, Rectangle area, Color? foreground = default, Color? background = default, int? glyph = default, Mirror? mirror = default)
- public static void FillWithRandomGarbage(this ICellSurface surface, IFont associatedFont)
- public static void FillWithRandomGarbage(this ICellSurface surface, int maxGlyphValue)
- public static Color GetBackground(this ICellSurface surface, int x, int y)
- public static ColoredGlyph GetCellAppearance(this ICellSurface surface, int x, int y)
- public static IEnumerable<ColoredGlyph> GetCells(this ICellSurface surface, Rectangle area)
- public static ICellEffect GetEffect(this ICellSurface surface, int x, int y)
- public static ICellEffect GetEffect(this ICellSurface surface, int index)
- public static Color GetForeground(this ICellSurface surface, int x, int y)
- public static int GetGlyph(this ICellSurface surface, int x, int y)
- public static Mirror GetMirror(this ICellSurface surface, int x, int y)
- public static string GetString(this ICellSurface surface, int x, int y, int length)
- public static string GetString(this ICellSurface surface, int index, int length)
- public static ColoredString GetStringColored(this ICellSurface surface, int x, int y, int length)
- public static ColoredString GetStringColored(this ICellSurface surface, int index, int length)
- public static ICellSurface GetSubSurface(this ICellSurface surface, Rectangle view)
- public static bool IsValidCell(this ICellSurface surface, int x, int y)
- public static bool IsValidCell(this ICellSurface surface, int x, int y, out int index)
- public static bool IsValidCell(this ICellSurface surface, int index)
- public static void Print(this ICellSurface surface, int x, int y, string text)
- public static void Print(this ICellSurface surface, int x, int y, string text, Color foreground)
- public static void Print(this ICellSurface surface, int x, int y, string text, Color foreground, Color background)
- public static void Print(this ICellSurface surface, int x, int y, string text, Color foreground, Color background, Mirror mirror)
- public static void Print(this ICellSurface surface, int x, int y, string text, Color foreground, Color background, Mirror mirror, CellDecorator[] decorators)
- public static void Print(this ICellSurface surface, int x, int y, string text, Mirror mirror)
- public static void Print(this ICellSurface surface, int x, int y, string text, ColoredGlyph appearance, ICellEffect effect = null)
- public static void Print(this ICellSurface surface, int x, int y, ColoredString text)
- public static void AddDecorator(this ISurface obj, int x, int y, int count, CellDecorator[] decorators)
- public static void AddDecorator(this ISurface obj, Point position, CellDecorator[] decorators)
- public static void AddDecorator(this ISurface obj, int index, int count, CellDecorator[] decorators)
- public static void AddDecorator(this ISurface obj, int index, CellDecorator[] decorators)
- public static void Clear(this ISurface obj)
- public static void Clear(this ISurface obj, int x, int y)
- public static void Clear(this ISurface obj, int x, int y, int length)
- public static void Clear(this ISurface obj, Rectangle area)
- public static void Clear(this ISurface obj, IEnumerable<Point> cellPositions)
- public static void ClearDecorators(this ISurface obj, int x, int y, int count)
- public static void ClearDecorators(this ISurface obj, int index, int count)
- public static void ClearShiftValues(this ISurface obj)
- public static void ConnectLines(this ISurface obj)
- public static void ConnectLines(this ISurface obj, int[] lineStyle)
- public static void ConnectLines(this ISurface obj, int[] lineStyle, Rectangle area)
- public static void Copy(this ISurface obj, ICellSurface destination)
- public static void Copy(this ISurface obj, ICellSurface destination, int x, int y)
- public static void Copy(this ISurface obj, Rectangle area, ICellSurface destination, int destinationX, int destinationY)
- public static void Copy(this ISurface obj, int x, int y, int width, int height, ICellSurface destination, int destinationX, int destinationY)
- public static void DrawBox(this ISurface obj, Rectangle area, ShapeParameters parameters)
- public static void DrawCircle(this ISurface obj, Rectangle area, ShapeParameters parameters)
- public static IEnumerable<ColoredGlyphBase> DrawLine(this ISurface obj, Point start, Point end, int? glyph, Color? foreground = default, Color? background = default, Mirror? mirror = default)
- public static ColoredGlyphBase[] Erase(this ISurface obj, int x, int y, int count)
- public static void Erase(this ISurface obj, int x, int y)
- public static void Erase(this ISurface obj)
- public static ColoredGlyphBase[] Fill(this ISurface obj, ColoredGlyphBase iconAppearance)
- public static ColoredGlyphBase[] Fill(this ISurface obj, Color? foreground = default, Color? background = default, int? glyph = default, Mirror? mirror = default)
- public static ColoredGlyphBase[] Fill(this ISurface obj, int x, int y, int length, Color? foreground = default, Color? background = default, int? glyph = default, Mirror? mirror = default)
- public static ColoredGlyphBase[] Fill(this ISurface obj, Rectangle area, Color? foreground = default, Color? background = default, int? glyph = default, Mirror? mirror = default)
- public static void FillWithRandomGarbage(this ISurface obj, IFont associatedFont)
- public static void FillWithRandomGarbage(this ISurface obj, int maxGlyphValue)
- public static void FillWithRandomGarbage(this ISurface obj, int maxGlyphValue, Rectangle area)
- public static Color GetBackground(this ISurface obj, int x, int y)
- public static ColoredGlyphBase GetCellAppearance(this ISurface obj, int x, int y)
- public static IEnumerable<ColoredGlyphBase> GetCells(this ISurface obj, Rectangle area)
- public static ICellEffect GetEffect(this ISurface obj, int x, int y)
- public static ICellEffect GetEffect(this ISurface obj, int index)
- public static Color GetForeground(this ISurface obj, int x, int y)
- public static int GetGlyph(this ISurface obj, int x, int y)
- public static Mirror GetMirror(this ISurface obj, int x, int y)
- public static string GetString(this ISurface obj, int x, int y, int length)
- public static string GetString(this ISurface obj, int index, int length)
- public static ColoredString GetStringColored(this ISurface obj, int x, int y, int length)
- public static ColoredString GetStringColored(this ISurface obj, int index, int length)
- public static ICellSurface GetSubSurface(this ISurface obj, Rectangle view)
- public static ICellSurface GetSubSurface(this ISurface obj)
- public static bool IsValidCell(this ISurface obj, int x, int y)
- public static bool IsValidCell(this ISurface obj, int x, int y, out int index)
- public static bool IsValidCell(this ISurface obj, int index)
- public static void Print(this ISurface obj, int x, int y, string text)
- public static void Print(this ISurface obj, int x, int y, string text, Color foreground)
- public static void Print(this ISurface obj, int x, int y, string text, Color foreground, Color background)
- public static void Print(this ISurface obj, int x, int y, string text, Color foreground, Color background, Mirror mirror)
- public static void Print(this ISurface obj, int x, int y, string text, Color foreground, Color background, Mirror mirror, CellDecorator[] decorators)
- public static void Print(this ISurface obj, int x, int y, string text, Mirror mirror)
- public static void Print(this ISurface obj, int x, int y, string text, ColoredGlyphBase appearance, ICellEffect effect = null)
- public static void Print(this ISurface obj, int x, int y, ColoredString text)
- public static void Print(this ISurface obj, int x, int y, ColoredGlyphBase[] glyphs)
- public static void Print(this ISurface obj, int x, int y, IEnumerable<ColoredGlyphBase> glyphs)
- public static void SetBackground(this ICellSurface surface, int x, int y, Color color)
- public static void SetCellAppearance(this ICellSurface surface, int x, int y, ColoredGlyph appearance)
- public static void SetDecorator(this ICellSurface surface, int x, int y, int count, CellDecorator[] decorators)
- public static void SetDecorator(this ICellSurface surface, int index, int count, CellDecorator[] decorators)
- public static void SetEffect(this ICellSurface surface, int x, int y, ICellEffect effect)
- public static void SetEffect(this ICellSurface surface, int index, ICellEffect effect)
- public static void SetEffect(this ICellSurface surface, IEnumerable<Point> cells, ICellEffect effect)
- public static void SetEffect(this ICellSurface surface, IEnumerable<int> cells, ICellEffect effect)
- public static void SetEffect(this ICellSurface surface, ColoredGlyph cell, ICellEffect effect)
- public static void SetEffect(this ICellSurface surface, IEnumerable<ColoredGlyph> cells, ICellEffect effect)
- public static void SetForeground(this ICellSurface surface, int x, int y, Color color)
- public static void SetGlyph(this ICellSurface surface, int x, int y, int glyph)
- public static void SetGlyph(this ICellSurface surface, int x, int y, int glyph, Color foreground)
- public static void SetGlyph(this ICellSurface surface, int x, int y, int glyph, Color foreground, Color background)
- public static void SetGlyph(this ICellSurface surface, int x, int y, int glyph, Color foreground, Color background, Mirror mirror)
- public static void SetGlyph(this ICellSurface surface, int x, int y, int glyph, Color foreground, Color background, Mirror mirror, IEnumerable<CellDecorator> decorators)
- public static void SetGlyph(this ICellSurface surface, int x, int y, ColoredGlyph glyph)
- public static void SetMirror(this ICellSurface surface, int x, int y, Mirror mirror)
- public static void SetPixels(this ICellSurface surface, Color[] pixels)
- public static void SetPixels(this ICellSurface surface, Rectangle area, Color[] pixels)
- public static void ShiftColumn(this ICellSurface surface, int col, int amount, bool wrap)
- public static void ShiftColumn(this ICellSurface surface, int col, int startingY, int count, int amount, bool wrap)
- public static void ShiftColumnDown(this ICellSurface surface, int col, int startingY, int count, int amount, bool wrap)
- public static void ShiftColumnDownUnchecked(this ICellSurface surface, int col, int startingY, int count, int amount, bool wrap)
- public static void ShiftColumnUp(this ICellSurface surface, int col, int startingY, int count, int amount, bool wrap)
- public static void ShiftColumnUpUnchecked(this ICellSurface surface, int col, int startingY, int count, int amount, bool wrap)
- public static void ShiftDown(this ICellSurface surface)
- public static void ShiftDown(this ICellSurface surface, int amount, bool wrap = false)
- public static void ShiftLeft(this ICellSurface surface)
- public static void ShiftLeft(this ICellSurface surface, int amount, bool wrap = false)
- public static void ShiftRight(this ICellSurface surface)
- public static void ShiftRight(this ICellSurface surface, int amount, bool wrap = false)
- public static void ShiftRow(this ICellSurface surface, int row, int amount, bool wrap)
- public static void ShiftRow(this ICellSurface surface, int row, int startingX, int count, int amount, bool wrap)
- public static void ShiftRowLeft(this ICellSurface surface, int row, int startingX, int count, int amount, bool wrap)
- public static void ShiftRowLeftUnchecked(this ICellSurface surface, int row, int startingX, int count, int amount, bool wrap)
- public static void ShiftRowRight(this ICellSurface surface, int row, int startingX, int count, int amount, bool wrap)
- public static void ShiftRowRightUnchecked(this ICellSurface surface, int row, int startingX, int count, int amount, bool wrap)
- public static void ShiftUp(this ICellSurface surface)
- public static void ShiftUp(this ICellSurface surface, int amount, bool wrap = false)
- public static void RemoveDecorator(this ISurface obj, int x, int y, int count, CellDecorator[] decorators)
- public static void RemoveDecorator(this ISurface obj, Point position, CellDecorator[] decorators)
- public static void RemoveDecorator(this ISurface obj, int index, int count, CellDecorator[] decorators)
- public static void RemoveDecorator(this ISurface obj, int index, CellDecorator[] decorators)
- public static void SetBackground(this ISurface obj, int x, int y, Color color)
- public static void SetCellAppearance(this ISurface obj, int x, int y, ColoredGlyphBase appearance)
- public static void SetDecorator(this ISurface obj, int x, int y, int count, CellDecorator[] decorators)
- public static void SetDecorator(this ISurface obj, Point position, CellDecorator[] decorators)
- public static void SetDecorator(this ISurface obj, int index, int count, CellDecorator[] decorators)
- public static void SetDecorator(this ISurface obj, int index, CellDecorator[] decorators)
- public static void SetEffect(this ISurface obj, int x, int y, ICellEffect effect)
- public static void SetEffect(this ISurface obj, int index, ICellEffect effect)
- public static void SetEffect(this ISurface obj, IEnumerable<Point> cells, ICellEffect effect)
- public static void SetEffect(this ISurface obj, IEnumerable<int> cells, ICellEffect effect)
- public static void SetEffect(this ISurface obj, ColoredGlyphBase cell, ICellEffect effect)
- public static void SetEffect(this ISurface obj, IEnumerable<ColoredGlyphBase> cells, ICellEffect effect)
- public static void SetForeground(this ISurface obj, int x, int y, Color color)
- public static void SetGlyph(this ISurface obj, int x, int y, int glyph)
- public static void SetGlyph(this ISurface obj, int x, int y, int glyph, Color foreground)
- public static void SetGlyph(this ISurface obj, int x, int y, int glyph, Color foreground, Color background)
- public static void SetGlyph(this ISurface obj, int x, int y, int glyph, Color foreground, Color background, Mirror mirror)
- public static void SetGlyph(this ISurface obj, int x, int y, int glyph, Color foreground, Color background, Mirror mirror, IEnumerable<CellDecorator> decorators)
- public static void SetMirror(this ISurface obj, int x, int y, Mirror mirror)
- public static void SetPixels(this ISurface obj, Color[] pixels)
- public static void SetPixels(this ISurface obj, Rectangle area, Color[] pixels)
- public static void ShiftColumn(this ISurface obj, int col, int amount, bool wrap)
- public static void ShiftColumn(this ISurface obj, int col, int startingY, int count, int amount, bool wrap)
- public static void ShiftColumnDown(this ISurface obj, int col, int startingY, int count, int amount, bool wrap)
- public static void ShiftColumnDownUnchecked(this ISurface obj, int col, int startingY, int count, int amount, bool wrap)
- public static void ShiftColumnUp(this ISurface obj, int col, int startingY, int count, int amount, bool wrap)
- public static void ShiftColumnUpUnchecked(this ISurface obj, int col, int startingY, int count, int amount, bool wrap)
- public static void ShiftDown(this ISurface obj)
- public static void ShiftDown(this ISurface obj, int amount, bool wrap = false)
- public static void ShiftLeft(this ISurface obj)
- public static void ShiftLeft(this ISurface obj, int amount, bool wrap = false)
- public static void ShiftRight(this ISurface obj)
- public static void ShiftRight(this ISurface obj, int amount, bool wrap = false)
- public static void ShiftRow(this ISurface obj, int row, int amount, bool wrap)
- public static void ShiftRow(this ISurface obj, int row, int startingX, int count, int amount, bool wrap)
- public static void ShiftRowLeft(this ISurface obj, int row, int startingX, int count, int amount, bool wrap)
- public static void ShiftRowLeftUnchecked(this ISurface obj, int row, int startingX, int count, int amount, bool wrap)
- public static void ShiftRowRight(this ISurface obj, int row, int startingX, int count, int amount, bool wrap)
- public static void ShiftRowRightUnchecked(this ISurface obj, int row, int startingX, int count, int amount, bool wrap)
- public static void ShiftUp(this ISurface obj)
- public static void ShiftUp(this ISurface obj, int amount, bool wrap = false)
-
public class ColoredGlyph : ColoredGlyphBase, IMatchable<ColoredGlyph>
- public Color Background { get; set; }
- public CellDecorator[] Decorators { get; set; }
- public Color Foreground { get; set; }
- public int Glyph { get; set; }
- public char GlyphCharacter { get; set; }
- public bool IsDirty { get; set; }
- public bool IsVisible { get; set; }
- public Mirror Mirror { get; set; }
- public event EventHandler IsDirtySet
- public ColoredGlyph(Color foreground, Color background, int glyph, Mirror mirror, bool isVisible, CellDecorator[] decorators)
- public static ColoredGlyph[] CreateArray(int size)
- public void Clear()
- public ColoredGlyph Clone()
- public void CopyAppearanceFrom(ColoredGlyph cell, bool deepCopy = true)
- public void CopyAppearanceTo(ColoredGlyph cell, bool deepCopy = true)
- public ColoredGlyph(Color foreground, Color background, int glyph, Mirror mirror, bool isVisible, List<CellDecorator> decorators)
- public ColoredGlyphState ToState()
-
public sealed class ColoredGlyphAndEffect : ColoredGlyph, IMatchable<ColoredGlyphAndEffect>
-
public abstract class ColoredGlyphBase : IMatchable<ColoredGlyphBase>
-
public struct ColoredGlyphState
-
public class ColoredString : IEnumerable<ColoredGlyphAndEffect>, IEnumerable
-
public class Console : ScreenSurface
- public Rectangle Area { get; }
- public int Count { get; }
- public Color DefaultBackground { get; set; }
- public Color DefaultForeground { get; set; }
- public int DefaultGlyph { get; set; }
- public EffectsManager Effects { get; }
- public int Height { get; }
- public bool IsScrollable { get; }
- public ColoredGlyph this[int index] { get; }
- public ColoredGlyph this[int x, int y] { get; }
- public ColoredGlyph this[Point position] { get; }
- public int TimesShiftedDown { get; set; }
- public int TimesShiftedLeft { get; set; }
- public int TimesShiftedRight { get; set; }
- public int TimesShiftedUp { get; set; }
- public bool UsePrintProcessor { get; set; }
- public Rectangle View { get; set; }
- public int ViewHeight { get; set; }
- public Point ViewPosition { get; set; }
- public int ViewWidth { get; set; }
- public int Width { get; }
- public event EventHandler IsDirtyChanged
- public Console(int width, int height, ColoredGlyph[] initialCells)
- public Console(int width, int height, ColoredGlyphBase[] initialCells)
- public Console(int width, int height, int bufferWidth, int bufferHeight, ColoredGlyph[] initialCells)
- public Console(int width, int height, int bufferWidth, int bufferHeight, ColoredGlyphBase[] initialCells)
- public IEnumerator<ColoredGlyph> GetEnumerator()
- public void Resize(int width, int height, int bufferWidth, int bufferHeight, bool clear)
- public void Resize(int width, int height, bool clear)
-
public abstract class GameHost : IDisposable
-
public struct GlyphDefinition
-
public interface ICellSurface : IGridView<ColoredGlyphBase>, IEnumerable<ColoredGlyphBase>, IEnumerable, ISurface
-
public interface ICellSurfaceSettable
-
public interface IFont : IDisposable
-
public interface IScreenObject : IPositionable, IComponentHost
-
public interface IScreenSurface : IScreenObject, IPositionable, IComponentHost
-
public interface IScreenSurfaceEditable : IScreenSurface, IScreenObject, IPositionable, IComponentHost, ISurface
-
public interface ISurface
-
public interface ISurfaceSettable
-
public class LayeredScreenSurface : ScreenSurface, ILayeredData
- public LayeredSurface Layers { get; }
- public LayeredScreenSurface(int width, int height)
- public LayeredScreenSurface(int width, int height, ColoredGlyphBase[] initialCells)
- public LayeredScreenSurface(int width, int height, int bufferWidth, int bufferHeight)
- public LayeredScreenSurface(int width, int height, int bufferWidth, int bufferHeight, ColoredGlyphBase[] initialCells)
- public LayeredScreenSurface(ICellSurface surface, IFont font = null, Point? fontSize = default)
-
public sealed class SadFont : IFont, IDisposable
-
public class ScreenObject : IScreenObject, IPositionable, IComponentHost
-
public class ScreenObjectCollection<TScreenObject> : IReadOnlyList<TScreenObject>, IEnumerable<TScreenObject>, IEnumerable, IReadOnlyCollection<TScreenObject> where TScreenObject : IScreenObject
-
public class ScreenObjectComparer : IComparer<IScreenObject>
-
public class ScreenSurface : ScreenObject, IDisposable, IScreenSurfaceEditable, IScreenSurface, IScreenObject, IPositionable, IComponentHost, ISurface, ISurfaceSettable
- public int Height { get; }
- public bool QuietSurfaceHandling { get; set; }
- public SortedSet<IRenderStep> RenderSteps { get; }
- public int ViewHeight { get; set; }
- public Point ViewPosition { get; set; }
- public int ViewWidth { get; set; }
- public int Width { get; }
- public ScreenSurface(int width, int height, ColoredGlyph[] initialCells)
- public ScreenSurface(int width, int height, ColoredGlyphBase[] initialCells)
- public ScreenSurface(IGridView<ColoredGlyph> surface, int visibleWidth = 0, int visibleHeight = 0)
- public ScreenSurface(IGridView<ColoredGlyphBase> surface, int visibleWidth = 0, int visibleHeight = 0)
- public ScreenSurface(int viewWidth, int viewHeight, int totalWidth, int totalHeight, ColoredGlyphBase[] initialCells)
- public ScreenSurface(int viewWidth, int viewHeight, int totalWidth, int totalHeight, ColoredGlyph[] initialCells)
- public void Resize(int width, int height, int bufferWidth, int bufferHeight, bool clear)
- public void Resize(int width, int height, bool clear)
-
public static class Serializer
- public static T Load<T>(string file, bool isCompressed)
- public static void Save<T>(T instance, string file, bool compress)
- public static T Load<T>(string file, bool isCompressed, JsonSerializerSettings settings = null)
- public static void Save<T>(T instance, string file, bool compress, JsonSerializerSettings settings = null)
-
public static class Settings
-
public class ShapeParameters
- public ColoredGlyph BorderGlyph { get; set; }
- public ColoredGlyphBase BorderGlyph { get; set; }
- public ColoredGlyph[] BoxBorderStyleGlyphs { get; set; }
- public ColoredGlyph FillGlyph { get; set; }
- public ColoredGlyphBase[] BoxBorderStyleGlyphs { get; set; }
- public ColoredGlyphBase FillGlyph { get; set; }
- public ShapeParameters(bool hasBorder, ColoredGlyph borderGlyph, bool ignoreBorderForeground, bool ignoreBorderBackground, bool ignoreBorderGlyph, bool ignoreBorderMirror, bool hasFill, ColoredGlyph fillGlyph, bool ignoreFillForeground, bool ignoreFillBackground, bool ignoreFillGlyph, bool ignoreFillMirror, int[] boxBorderStyle, ColoredGlyph[] boxBorderStyleGlyphs)
- public static ShapeParameters CreateBorder(ColoredGlyph borderStyle, bool ignoreForeground = false, bool ignoreBackground = false, bool ignoreGlyph = false, bool ignoreMirror = false)
- public static ShapeParameters CreateFilled(ColoredGlyph borderStyle, ColoredGlyph fillStyle, bool ignoreBorderForeground = false, bool ignoreBorderBackground = false, bool ignoreBorderGlyph = false, bool ignoreBorderMirror = false, bool ignoreFillForeground = false, bool ignoreFillBackground = false, bool ignoreFillGlyph = false, bool ignoreFillMirror = false)
- public static ShapeParameters CreateStyledBox(int[] borderStyle, ColoredGlyph borderColors, bool ignoreBorderForeground = false, bool ignoreBorderBackground = false, bool ignoreBorderMirror = false)
- public static ShapeParameters CreateStyledBoxExplicit(ColoredGlyph[] borderGlyphs, bool ignoreBorderForeground = false, bool ignoreBorderBackground = false, bool ignoreBorderMirror = true)
- public static ShapeParameters CreateStyledBoxExplicitFilled(ColoredGlyph[] borderGlyphs, ColoredGlyph fillStyle, bool ignoreBorderForeground = false, bool ignoreBorderBackground = false, bool ignoreBorderGlyph = false, bool ignoreBorderMirror = true, bool ignoreFillForeground = false, bool ignoreFillBackground = false, bool ignoreFillGlyph = false, bool ignoreFillMirror = false)
- public static ShapeParameters CreateStyledBoxFilled(int[] borderStyle, ColoredGlyph borderColors, ColoredGlyph fillStyle, bool ignoreBorderForeground = false, bool ignoreBorderBackground = false, bool ignoreBorderMirror = false, bool ignoreFillForeground = false, bool ignoreFillBackground = false, bool ignoreFillGlyph = false, bool ignoreFillMirror = false)
- public ShapeParameters(bool hasBorder, ColoredGlyphBase borderGlyph, bool ignoreBorderForeground, bool ignoreBorderBackground, bool ignoreBorderGlyph, bool ignoreBorderMirror, bool hasFill, ColoredGlyphBase fillGlyph, bool ignoreFillForeground, bool ignoreFillBackground, bool ignoreFillGlyph, bool ignoreFillMirror, int[] boxBorderStyle, ColoredGlyphBase[] boxBorderStyleGlyphs)
- public static ShapeParameters CreateBorder(ColoredGlyphBase borderStyle, bool ignoreForeground = false, bool ignoreBackground = false, bool ignoreGlyph = false, bool ignoreMirror = false)
- public static ShapeParameters CreateFilled(ColoredGlyphBase borderStyle, ColoredGlyphBase fillStyle, bool ignoreBorderForeground = false, bool ignoreBorderBackground = false, bool ignoreBorderGlyph = false, bool ignoreBorderMirror = false, bool ignoreFillForeground = false, bool ignoreFillBackground = false, bool ignoreFillGlyph = false, bool ignoreFillMirror = false)
- public static ShapeParameters CreateStyledBox(int[] borderStyle, ColoredGlyphBase borderColors, bool ignoreBorderForeground = false, bool ignoreBorderBackground = false, bool ignoreBorderMirror = false)
- public static ShapeParameters CreateStyledBoxExplicit(ColoredGlyphBase[] borderGlyphs, bool ignoreBorderForeground = false, bool ignoreBorderBackground = false, bool ignoreBorderMirror = true)
- public static ShapeParameters CreateStyledBoxExplicitFilled(ColoredGlyphBase[] borderGlyphs, ColoredGlyphBase fillStyle, bool ignoreBorderForeground = false, bool ignoreBorderBackground = false, bool ignoreBorderGlyph = false, bool ignoreBorderMirror = true, bool ignoreFillForeground = false, bool ignoreFillBackground = false, bool ignoreFillGlyph = false, bool ignoreFillMirror = false)
- public static ShapeParameters CreateStyledBoxFilled(int[] borderStyle, ColoredGlyphBase borderColors, ColoredGlyphBase fillStyle, bool ignoreBorderForeground = false, bool ignoreBorderBackground = false, bool ignoreBorderMirror = false, bool ignoreFillForeground = false, bool ignoreFillBackground = false, bool ignoreFillGlyph = false, bool ignoreFillMirror = false)
- public static ShapeParameters CreateStyledBoxThick(Color foreground)
- public static ShapeParameters CreateStyledBoxThin(Color foreground)
-
public static class StringExtensions
-
public static class StringValidation
-
public class ValueChangedEventArgs<T> : EventArgs
-
public class ValueChangedCancelableEventArgs<T> : ValueChangedEventArgs<T>
SadConsole.Components
SadConsole.Debug
SadConsole.Effects
-
public class Blinker : CellEffectBase
-
public abstract class CellEffectBase : ICellEffect
-
public class CodeEffect : CellEffectBase
- public CodeEffect(string id, Func<CodeEffect, ColoredGlyph, ColoredGlyphState, bool> apply, Action<CodeEffect, TimeSpan> update, Action<CodeEffect> restart)
- public CodeEffect(string id, Func<CodeEffect, ColoredGlyphBase, ColoredGlyphBase, bool> apply, Action<CodeEffect, TimeSpan> update, Action<CodeEffect> restart)
-
public class EffectsManager
-
public interface ICellEffect
SadConsole.Entities
SadConsole.Input
SadConsole.Instructions
SadConsole.Quick
-
public static class Keyboard
- public static void RemoveKeyboardHook(this IScreenObject screenObject, Func<IScreenObject, Keyboard, bool> handler)
- public static void RemoveKeyboardHooks(this IScreenObject screenObject)
- public static void WithKeyboard(this IScreenObject screenObject, Func<IScreenObject, Keyboard, bool> handler)
- public static IScreenObject RemoveKeyboardHook(this IScreenObject screenObject, Func<IScreenObject, Keyboard, bool> handler)
- public static IScreenObject RemoveKeyboardHooks(this IScreenObject screenObject)
- public static IScreenObject WithKeyboard(this IScreenObject screenObject, Func<IScreenObject, Keyboard, bool> handler)
-
public static class Mouse
- public static void RemoveMouseHook(this IScreenObject screenObject, Func<IScreenObject, MouseScreenObjectState, bool> handler)
- public static void RemoveMouseHooks(this IScreenObject screenObject)
- public static void WithMouse(this IScreenObject screenObject, Func<IScreenObject, MouseScreenObjectState, bool> handler)
- public static IScreenObject RemoveMouseHook(this IScreenObject screenObject, Func<IScreenObject, MouseScreenObjectState, bool> handler)
- public static IScreenObject RemoveMouseHooks(this IScreenObject screenObject)
- public static IScreenObject WithMouse(this IScreenObject screenObject, Func<IScreenObject, MouseScreenObjectState, bool> handler)
-
public static class Update
SadConsole.Readers
SadConsole.Renderers
SadConsole.Renderers.Constants
SadConsole.SerializedTypes
SadConsole.SplashScreens
SadConsole.StringParser
-
public class Default : IParser
- public Func<string, string, ColoredGlyphEffect[], ICellSurface, ParseCommandStacks, ParseCommandBase> CustomProcessor
- public Func<string, string, ColoredGlyphAndEffect[], ICellSurface, ParseCommandStacks, ParseCommandBase> CustomProcessor
- public Dictionary<string, Func<string>> Variables { get; }
-
public abstract class ParseCommandBase
- public abstract void Build(ref ColoredGlyphEffect glyphState, ColoredGlyphEffect[] glyphString, int surfaceIndex, ICellSurface surface, ref int stringIndex, ReadOnlySpan<char> processedString, ParseCommandStacks commandStack)
- public abstract void Build(ref ColoredGlyphAndEffect glyphState, ColoredGlyphAndEffect[] glyphString, int surfaceIndex, ICellSurface surface, ref int stringIndex, ReadOnlySpan<char> processedString, ParseCommandStacks commandStack)
-
public sealed class ParseCommandBlink : ParseCommandBase
-
public sealed class ParseCommandDecorator : ParseCommandBase
-
public sealed class ParseCommandGradient : ParseCommandBase
-
public sealed class ParseCommandSetGlyph : ParseCommandBase
SadConsole.UI
-
public class Colors
-
public class ControlHost : IComponent, IList<ControlBase>, ICollection<ControlBase>, IEnumerable<ControlBase>, IEnumerable, IContainer
-
public class ControlsConsole : Console
- public ControlsConsole(int width, int height, ColoredGlyph[] initialCells)
- public ControlsConsole(int width, int height, ColoredGlyphBase[] initialCells)
- public ControlsConsole(int width, int height, int bufferWidth, int bufferHeight, ColoredGlyph[] initialCells)
- public ControlsConsole(int width, int height, int bufferWidth, int bufferHeight, ColoredGlyphBase[] initialCells)
-
public class KeyPressEventArgs : EventArgs
-
public class ThemeStates
-
public class Window : Console, IWindowData
- protected MouseScreenObjectState PreviousMouseInfo
- protected bool PreviousMouseLeftButtonDown
- public Window(int width, int height, ColoredGlyph[] initialCells)
- public Window(int width, int height, ColoredGlyphBase[] initialCells)
- public Window(int width, int height, int bufferWidth, int bufferHeight, ColoredGlyph[] initialCells)
- public Window(int width, int height, int bufferWidth, int bufferHeight, ColoredGlyphBase[] initialCells)
- public static void Message(string message, string closeButtonText, Action closedCallback = null, Colors colors = null, ButtonTheme buttonTheme = null)
- public static void Message(ColoredString message, string closeButtonText, Action closedCallback = null, Colors colors = null, ButtonTheme buttonTheme = null)
- public static void Prompt(string message, string yesPrompt, string noPrompt, Action<bool> resultCallback, Colors colors = null, ButtonTheme buttonTheme = null)
- public static void Prompt(ColoredString message, string yesPrompt, string noPrompt, Action<bool> resultCallback, Colors colors = null, ButtonTheme buttonTheme = null)
- public static void Ask(string message, string acceptPrompt, string cancelPrompt, Action<bool, string> closedCallback, Validator validator = null, string defaultValue = null, Colors colors = null)
- public static void Ask(ColoredString message, string acceptPrompt, string cancelPrompt, Action<bool, string> closedCallback, Validator validator = null, string defaultValue = null, Colors colors = null)
- public static void Message(string message, string closeButtonText, Action closedCallback = null, Colors colors = null)
- public static void Message(ColoredString message, string closeButtonText, Action closedCallback = null, Colors colors = null)
- public static void Prompt(string message, string yesPrompt, string noPrompt, Action<bool> closedCallback, Colors colors = null)
- public static void Prompt(ColoredString message, string yesPrompt, string noPrompt, Action<bool> closedCallback, Colors colors = null)
SadConsole.UI.Controls
-
public class Button : ButtonBase
-
public class Button3d : ButtonBase
-
public abstract class ButtonBase : ControlBase
-
public class ButtonBox : ButtonBase
-
public class CheckBox : ToggleButtonBase
-
public class ComboBox : CheckBox
-
public abstract class CompositeControl : ControlBase, IContainer, IList<ControlBase>, ICollection<ControlBase>, IEnumerable<ControlBase>, IEnumerable
-
public abstract class ControlBase
-
public class DrawingArea : ControlBase
-
public interface IContainer : IList<ControlBase>, ICollection<ControlBase>, IEnumerable<ControlBase>, IEnumerable
-
public class Label : ControlBase
-
public class ListBox : CompositeControl
-
public class ListBoxItemColorTheme : ListBoxItemTheme
-
public class ListBoxItemTheme : ThemeStates
-
public class NumberBox : TextBox
-
public class Panel : CompositeControl, IList<ControlBase>, ICollection<ControlBase>, IEnumerable<ControlBase>, IEnumerable
-
public class ProgressBar : ControlBase
-
public class RadioButton : ToggleButtonBase
-
public class ScrollBar : ControlBase
-
public class SurfaceViewer : CompositeControl
-
public class TabControl : CompositeControl
-
public class TabItem
-
public class TextBox : ControlBase
-
public abstract class ToggleButtonBase : ButtonBase
-
public class ToggleSwitch : ToggleButtonBase
SadConsole.UI.Themes