Sharpie
Search Results for

    Show / Hide Table of Contents
    • Sharpie
      • Canvas
      • Canvas.CheckGlyphStyle
      • Canvas.FillStyle
      • Canvas.GlyphSize
      • Canvas.GradientGlyphStyle
      • Canvas.LineStyle
      • Canvas.Orientation
      • Canvas.ShadeGlyphStyle
      • Canvas.TriangleGlyphStyle
      • CaretMode
      • ClearStrategy
      • ColorManager
      • ColorMixture
      • ColorMode
      • ControlCharacter
      • CursesException
      • CursesInitializationException
      • CursesOperationException
      • CursesSynchronizationException
      • DelegateEvent
      • Event
      • EventPump
      • EventType
      • Key
      • KeyEvent
      • KeySequenceResolver
      • ModifierKey
      • MouseActionEvent
      • MouseButton
      • MouseButtonState
      • MouseMoveEvent
      • Pad
      • ReplaceStrategy
      • ResolveEscapeSequenceFunc
      • Screen
      • SoftLabelKeyAlignment
      • SoftLabelKeyManager
      • SoftLabelKeyMode
      • StandardColor
      • StartEvent
      • StopEvent
      • Style
      • StyledText
      • SubPad
      • SubWindow
      • Surface
      • Terminal
      • TerminalOptions
      • TerminalResizeEvent
      • TerminalSurface
      • VideoAttribute
      • Window
    • Sharpie.Abstractions
      • IAsciiFont
      • IColorManager
      • ICursesBackend
      • ICursesBackend.ripoffline_callback
      • IDrawSurface
      • IDrawable
      • IEventPump
      • IInterval
      • IPad
      • IScreen
      • ISoftLabelKeyManager
      • ISubPad
      • ISubWindow
      • ISurface
      • ITerminal
      • ITerminalSurface
      • IWindow
    • Sharpie.Backend
      • ComplexChar
      • CursesBackend
      • CursesBackendFlavor
      • CursesBackendType
      • CursesCharEvent
      • CursesEvent
      • CursesKeyEvent
      • CursesMouseEvent
      • CursesMouseState
      • CursesResizeEvent
      • NCursesKeyCode
      • PdCursesKeyCode
    • Sharpie.Font
      • AsciiFont
      • AsciiFontLayout
      • DosCp866AsciiFont
      • FigletFont

    Class CursesBackend

    Provides functionality for obtaining ICursesBackend instances.

    Inheritance
    object
    CursesBackend
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Sharpie.Backend
    Assembly: sharpie.dll
    Syntax
    [PublicAPI]
    public static class CursesBackend

    Methods

    Load(CursesBackendFlavor, params CursesBackendFlavor[])

    Looks up and loads the Curses backend based on the specified flavor.

    Declaration
    public static ICursesBackend Load(CursesBackendFlavor flavor = CursesBackendFlavor.Any, params CursesBackendFlavor[] otherFlavors)
    Parameters
    Type Name Description
    CursesBackendFlavor flavor

    The desired Curses flavor.

    CursesBackendFlavor[] otherFlavors

    Additional desired Curses flavors.

    Returns
    Type Description
    ICursesBackend

    The loaded Curses backend.

    Exceptions
    Type Condition
    CursesInitializationException

    Thrown if no suitable provider was found.

    Load(CursesBackendType, string, params string[])

    Loads the Curses backend based on the specified type.

    Declaration
    public static ICursesBackend Load(CursesBackendType type, string path, params string[] otherPaths)
    Parameters
    Type Name Description
    CursesBackendType type

    The backend type.

    string path

    The path for the library.

    string[] otherPaths

    The list of additional paths for the library.

    Returns
    Type Description
    ICursesBackend

    The loaded Curses backend.

    Exceptions
    Type Condition
    CursesInitializationException

    Thrown if no suitable provider was found.

    In this article
    Back to top Generated by DocFX