API Reference
GlyphSetExtensions
Status symbols and the running spinner, shared by every widget (see Docs/Design-System.md).
Inheritance
- Object
- GlyphSetExtensions
Methods
public static String Icon(IGlyphSet glyphs, GlyphIcon icon) #StringThe text of a semantic icon in the glyph set's tier (see GlyphIcon). Custom glyph sets resolve by their IGlyphSet.Tier; the status icons (Warning, Done) use the set's own symbols.
Parameters
- glyphs ConsoleMonster.Glyphs.IGlyphSet
- The glyph set.
- icon ConsoleMonster.Glyphs.GlyphIcon
- The icon.
Returns
One cell of text.
public static String Spinner(RenderContext context, Int64 offset = 0) #StringThe running symbol for this frame: the tier's spinner, advanced by the session's tick (offset so neighbouring rows do not spin in step), or the static running glyph when the tier has no spinner. Every widget that shows running work (lanes, phases, status lists, activities, spinners) uses this one.
Parameters
- context ConsoleMonster.Canvas.RenderContext
- The render context.
- offset System.Int64 = 0
- A per-row offset.
Returns
The symbol.
public static String StatusSymbol(IGlyphSet glyphs, StatusKind status) #StringThe one-cell symbol of a status in the glyph set's tier: ✓ ✗ ▴ – ● ○ ◆ (Full), the same in Basic, + x ! - * . i (ASCII). IGlyphSet.StatusMarker is the wider marker for status columns (bracketed words in ASCII).
Parameters
- glyphs ConsoleMonster.Glyphs.IGlyphSet
- The glyph set.
- status ConsoleMonster.Styling.StatusKind
- The status.
Returns
The symbol.
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?