Crate balatro_tui_widgets

Crate balatro_tui_widgets 

Source
Expand description

Widgets and components for displaying elements of BalatroTUI on the terminal.

Modules§

error
This module provides error definitions for this crate.

Structs§

BlindBadgeWidget
Widget for depicting balatro_tui_core::blind::Blind with text inside.
CardListWidget
StatefulWidget to display a list of Card.
CardListWidgetState
Render state for CardListWidget.
CardWidget
Widget to display a Card.
RoundInfoWidget
Widget to show information about the running round.
RoundScoreWidget
Widget to show current score in the running round.
RunStatsWidget
Widget to show stats for a run.
RunStatsWidgetState
Render state for RunStatsWidget.
ScorerPreviewWidget
Widget to show live scorer preview.
ScorerPreviewWidgetState
Render state for ScorerPreviewWidget.
SplashScreenWidget
Widget to display end splash screen.
TextBoxWidget
Widget to render vertically and horizontally centered text.

Constants§

CARD_CONTENT_HEIGHT
Content height for CardWidget.
CARD_CONTENT_WIDTH
Content width for CardWidget.
ROUND_INFO_CONTENT_HEIGHT
Content height for RoundInfoWidget.
ROUND_SCORE_CONTENT_HEIGHT
Content height for RoundScoreWidget

Traits§

SelectableList
Provide bidirectional circular cursor for iterators with ability to select items.