Skip to content

SadConsole.Components

C64KeyboardHandlerA console prompt keyboard handler that acts like the text editor on the Commodore 64 and VIC-20 computers.
ClassicConsoleKeyboardHandlerA classic console/terminal prompt keyboard handler.
CoroutineHandlerComponentAn implementation of Coroutine.CoroutineHandlerInstance that calls Tick(TimeSpan) every time Update(IScreenObject, TimeSpan) is called.
CursorA cursor that is attached to a Console used for printing.
DebugFocusedObjectTintTints a surface when that surface is focused. Helps debug which object is focused in FocusedScreenObjects.
DebugMouseTintTints a surface when that surface would use the mouse. Helps debug which object is receiving mouse input as you move the mouse around.
DrawImageDraws an image on top of a console.
InputConsoleComponentA base class that implements ProcessMouse(IScreenObject, MouseScreenObjectState, out bool) and ProcessKeyboard(IScreenObject, Keyboard, out bool) of IComponent.
KeyboardConsoleComponentA base class that implements ProcessKeyboard(IScreenObject, Keyboard, out bool) of IComponent.
LayeredSurfaceManages a set of surface layers.
LogicComponentA base class that implements Update(IScreenObject, TimeSpan) and Render(IScreenObject, TimeSpan) of IComponent.
MouseConsoleComponentA base class that implements ProcessMouse(IScreenObject, MouseScreenObjectState, out bool) of IComponent.
MouseDragViewPortEnables dragging a scrollable surface around by mouse.
MoveViewPortKeyboardHandlerMoves the view of an IScreenSurface with a set of specified keyboard keys.
ObjectComponentMoveMoves a IScreenObject with the arrow keys.
OverlayA surface that’s rendered on top of a host surface.
RenderComponentA base class that implements Render(IScreenObject, TimeSpan) of IComponent.
RootComponentA component used only with RootComponents. Runs logic before the Screen is processed.
SmoothMoveAnimates the movement of an object.
SurfaceComponentFollowTargetAdd to a IScreenSurface to have the ViewPosition center on a specific object.
TimerA simple timer with callback.
UpdateComponentA base class that implements Update(IScreenObject, TimeSpan) of IComponent.
IComponentA component that can be added to a IScreenObject.
IComponentHostProvides a collection of IComponent objects.
DrawImage.PositionModesIndicates how positioning is intepreted.