Show / Hide Table of Contents

Class GlyphSelectPopup

A popup window that displays the glyphs of a font.

Inheritance
object
ScreenObject
ScreenSurface
Console
Window
GlyphSelectPopup
Implements
IDisposable
IScreenSurfaceEditable
IScreenSurface
IScreenObject
IPositionable
IComponentHost
ISurface
ISurfaceSettable
ICellSurfaceResize
IWindowData
Inherited Members
Window.PreviousMouseLeftButtonDown
Window.ProcessMouse(MouseScreenObjectState)
Window.ProcessKeyboard(Keyboard)
Window.OnVisibleChanged()
Window.OnShown()
Window.OnHidden()
Window.Show()
Window.Show(bool)
Window.Hide()
Window.Center()
Window.ToString()
Window.Ask(string, string, string, Action<bool, string>, StringValidation.Validator, string, Colors)
Window.Ask(ColoredString, string, string, Action<bool, string>, StringValidation.Validator, string, Colors)
Window.Prompt(string, string, string, Action<bool>, Colors)
Window.Prompt(ColoredString, string, string, Action<bool>, Colors)
Window.Message(string, string, Action, Colors)
Window.Message(ColoredString, string, Action, Colors)
Window.Controls
Window.TitleAreaY
Window.TitleAreaX
Window.TitleAreaLength
Window.BorderLineStyle
Window.CellAtDragPosition
Window.PreviousMouseExclusiveDrag
Window.AddedToParent
Window.IsDragging
Window.TitleAlignment
Window.IsModal
Window.CanDrag
Window.CloseOnEscKey
Window.DialogResult
Window.IsModalDefault
Window.Title
Window.Closed
Window.Shown
Console.OnFocusLost()
Console.OnFocused()
Console.Cursor
Console.AutoCursorOnFocus
ScreenSurface.MouseState_EnteredWithButtonDown
ScreenSurface.IsMouseOver
ScreenSurface.Resize(int, int, int, int, bool)
ScreenSurface.Resize(int, int, bool)
ScreenSurface.UpdateAbsolutePosition()
ScreenSurface.Render(TimeSpan)
ScreenSurface.Update(TimeSpan)
ScreenSurface.OnIsDirtyChanged()
ScreenSurface.OnFontChanged(IFont, Point)
ScreenSurface.OnSurfaceChanged(ICellSurface)
ScreenSurface.OnRendererChanged()
ScreenSurface.CallOnHostUpdated()
ScreenSurface.Dispose(bool)
ScreenSurface.Dispose()
ScreenSurface.OnMouseEnter(MouseScreenObjectState)
ScreenSurface.OnMouseExit(MouseScreenObjectState)
ScreenSurface.OnMouseMove(MouseScreenObjectState)
ScreenSurface.OnMouseLeftClicked(MouseScreenObjectState)
ScreenSurface.OnRightMouseClicked(MouseScreenObjectState)
ScreenSurface.LostMouse(MouseScreenObjectState)
ScreenSurface.ForceRendererRefresh
ScreenSurface.DefaultRendererName
ScreenSurface.Renderer
ScreenSurface.QuietSurfaceHandling
ScreenSurface.Surface
ScreenSurface.IsDirty
ScreenSurface.Font
ScreenSurface.FontSize
ScreenSurface.Tint
ScreenSurface.AbsoluteArea
ScreenSurface.UsePixelPositioning
ScreenSurface.WidthPixels
ScreenSurface.HeightPixels
ScreenSurface.Width
ScreenSurface.Height
ScreenSurface.ViewWidth
ScreenSurface.ViewHeight
ScreenSurface.ViewPosition
ScreenSurface.MoveToFrontOnMouseClick
ScreenSurface.FocusOnMouseClick
ScreenSurface.MouseButtonClicked
ScreenSurface.MouseMove
ScreenSurface.MouseExit
ScreenSurface.MouseEnter
ScreenObject.ComponentsUpdate
ScreenObject.ComponentsRender
ScreenObject.ComponentsMouse
ScreenObject.ComponentsKeyboard
ScreenObject.ComponentsEmpty
ScreenObject.OnParentChanged(IScreenObject, IScreenObject)
ScreenObject.OnPositionChanging(Point, Point)
ScreenObject.OnPositionChanged(Point, Point)
ScreenObject.OnEnabledChanged()
ScreenObject.GetSadComponents<TComponent>()
ScreenObject.GetSadComponent<TComponent>()
ScreenObject.HasSadComponent<TComponent>(out TComponent)
ScreenObject.OnSadComponentAdded(IComponent)
ScreenObject.OnSadComponentRemoved(IComponent)
ScreenObject.SortComponents()
ScreenObject.Components_FilterAddItem(IComponent, List<IComponent>, List<IComponent>, List<IComponent>, List<IComponent>, List<IComponent>)
ScreenObject.Components_FilterRemoveItem(IComponent, List<IComponent>, List<IComponent>, List<IComponent>, List<IComponent>, List<IComponent>)
ScreenObject.Components_Sort(List<IComponent>, List<IComponent>, List<IComponent>, List<IComponent>, List<IComponent>)
ScreenObject.OnSerializingMethod(StreamingContext)
ScreenObject.SortOrder
ScreenObject.Children
ScreenObject.Parent
ScreenObject.Position
ScreenObject.AbsolutePosition
ScreenObject.IgnoreParentPosition
ScreenObject.IsVisible
ScreenObject.IsEnabled
ScreenObject.IsFocused
ScreenObject.FocusedMode
ScreenObject.IsExclusiveMouse
ScreenObject.UseKeyboard
ScreenObject.UseMouse
ScreenObject.SadComponents
ScreenObject.ParentChanged
ScreenObject.PositionChanged
ScreenObject.PositionChanging
ScreenObject.IsVisibleChanged
ScreenObject.IsEnabledChanged
ScreenObject.FocusLost
ScreenObject.Focused
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: SadConsole.UI.Windows
Assembly: SadConsole.Extended.dll
Syntax
public class GlyphSelectPopup : Window, IDisposable, IScreenSurfaceEditable, IScreenSurface, IScreenObject, IPositionable, IComponentHost, ISurface, ISurfaceSettable, ICellSurfaceResize, IWindowData

Constructors

GlyphSelectPopup(int, int, IFont, Point)

Creates a new instance of this popup with the specified width, height, font, and font size.

Declaration
public GlyphSelectPopup(int width, int height, IFont font, Point fontSize)
Parameters
Type Name Description
int width

The width of the window.

int height

The height of the window.

IFont font

The font to use for the window and character picker.

Point fontSize

The font size of the window.

Methods

AddRootComponent(Keys)

Adds a root component to SadConsole that displays the popup window when the specified key is pressed.

Declaration
public static void AddRootComponent(Keys key)
Parameters
Type Name Description
Keys key

The key to display the popup with.

AddRootComponent(Keys, IFont, Point)

Adds a root component to SadConsole that displays the popup window with a specific font and font size, when the specified key is pressed.

Declaration
public static void AddRootComponent(Keys key, IFont font, Point fontSize)
Parameters
Type Name Description
Keys key

The key to display the popup with.

IFont font

The font to display.

Point fontSize

The size of the font.

DrawBorder()

Redraws the border, title, and lines.

Declaration
protected override void DrawBorder()
Overrides
Window.DrawBorder()

Show(IFont, Point)

Shows a modal version of this popup.

Declaration
public static void Show(IFont font, Point fontSize)
Parameters
Type Name Description
IFont font

The font to display.

Point fontSize

The size of the font.

Implements

IDisposable
IScreenSurfaceEditable
IScreenSurface
IScreenObject
IPositionable
IComponentHost
ISurface
ISurfaceSettable
ICellSurfaceResize
IWindowData

Extension Methods

ExtendedLib_SurfaceExtensions.PrintFadingText(IScreenSurface, ColoredString, Point, TimeSpan, ICellEffect?)
ExtendedLib_SurfaceExtensions.PrintFadingText(IScreenSurface, string, Point, TimeSpan, ICellEffect?)
ExtensionsSystem.GetDebuggerDisplayValue(object)
In this article

Back to top

Back to top Generated by DocFX