Crate tuigui

Crate tuigui 

Source

Modules§

animations
backends
content_processors
event
preludes
shaders
widgets

Structs§

AnimationData
Animation data for widgets
Canvas
A canvas is how a widget displays contents you can create a mutable canvas with a certain size and position relative to the parent, and then tell a widget to draw to that canvas via a mutable reference
Context
The context, this handles everything. It handles drawing the frames, it stores the root widget, it calls backend commands, etc…
ContextConfig
Context configuration, this contains config options for different things regarding the context
ContextSetupConfig
These are things that should be set and then never touched again. These things relate to setting up and restoring the terminal environment.
DrawSummary
Position
Position in the terminal where (col: 0, row: 0) is the top left
ShaderConfig
Shader configuration
Size
Size of an area in the terminal
Style
Style for content that appears in the frame buffer
Transform
Terminal transform for an area
WidgetData
Widget data for internal use of the library
WidgetInfo
Widget information

Enums§

AnsiColor
ClearType
Clear type for clearing the terminal
Color
Content
Simple enum that dictates what is at a specific location
Effect
StyleGround
StylePullLayer
WidgetSizeInfo
Widget size information
WidgetSizeInfoCanChange
Information on how a widget’s size can be changed

Traits§

Animation
Backend
Trait for backends, implementing this trait on a datatype means you can use it as a backend for the context! backends are responsible for everything regarding the terminal. This means you could actually implement a backend that talks to a GUI written in GTK, QT, Iced, or anything else!
ContentProcessor
ContentProcessorOutput
Shader
Shaders are a way to take in what a widget has drawn and to change it in one way or another
Widget
All widgets implement this trait. You can also create your own widgets by implementing this trait yourself!

Functions§

animate
compute_refresh_area