Class
ConsoleViewStyle
ConsoleMonster.Widgets
The opt-in visual vocabulary for embedded default views; ordinary terminal contexts retain their defaults.
Inheritance
- object
- ConsoleViewStyle
Methods
public static RenderContext Apply(RenderContext context) #Creates an isolated context with compact health glyphs and the console-view palette.
Parameters
- context ConsoleMonster.Canvas.RenderContext
- The destination's existing capabilities and theme.
public static IWidget Create(Func<RenderContext, IWidget> build) #Builds and renders a deferred view using that view's isolated destination context.
Parameters
- build System.Func<ConsoleMonster.Canvas.RenderContext, ConsoleMonster.Layout.IWidget>
- The pure view factory.
public static IWidget Wrap(IWidget widget) #Applies the console-view vocabulary only while measuring and rendering this widget.
Parameters
- widget ConsoleMonster.Layout.IWidget
- The view.