Skip to main content

Crate rlvgl_ui

Crate rlvgl_ui 

Source
Expand description

High-level style and theme utilities bridging rlvgl-core and rlvgl-widgets components.

Re-exports§

pub use alert::Alert;
pub use badge::Badge;
pub use bar::Bar;
pub use button::IconButton;
pub use button_matrix::ButtonMatrix;
pub use checkbox::Checkbox;
pub use direct_props::ThemedPartsProps;
pub use divider::Divider;
pub use divider::DividerOrientation;
pub use drawer::Drawer;
pub use event::OnClick;
pub use event::Slider;
pub use event_window::EventWindow;
pub use event_window::EventWindowBuilder;
pub use icon::Icon;
pub use icon::lookup;
pub use input::Input;
pub use input::Textarea;
pub use layout::BoxLayout;
pub use layout::Grid;
pub use layout::GridCalc;
pub use layout::HStack;
pub use layout::RectProps;
pub use layout::VStack;
pub use layout::origin_rect;
pub use layout::rect;
pub use led::Led;
pub use list::List;
pub use modal::Modal;
pub use progress::Progress;
pub use props::BoundsProps;
pub use props::StyleProps;
pub use props::ThemeProps;
pub use radio::Radio;
pub use select::Select;
pub use spacer::Spacer;
pub use spinner::Spinner;
pub use style::State;Deprecated
pub use style::Style;Deprecated
pub use style::StyleBuilder;Deprecated
pub use switch::Switch;
pub use tabs::Tabs;
pub use tag::Tag;
pub use text::Heading;
pub use text::Text;
pub use theme::ColorScheme;
pub use theme::ComponentSize;
pub use theme::ComponentSizeTokens;
pub use theme::ComponentStyle;
pub use theme::SchemeColors;
pub use theme::Theme;
pub use theme::Tokens;
pub use theme::Variant;
pub use toast::Toast;

Modules§

alert
Alert component for rlvgl-ui built from a Container and Label.
badge
Badge component for rlvgl-ui.
bar
Fluent UI wrapper for the LVGL-parity bar widget.
button
Button helpers and IconButton component for rlvgl-ui.
button_matrix
Button-matrix component with a UI-layer activation callback.
checkbox
Checkbox component with change callbacks for rlvgl-ui.
direct_props
Prop extensions for directly re-exported LVGL-parity widgets.
divider
Divider primitive for separating rlvgl-ui content.
draw_helpers
Drawing helpers for rounded rectangles and borders.
drawer
Drawer component for rlvgl-ui.
event
Event hook helpers for rlvgl-ui widgets.
event_window
Overlay window that shows the most recent input events.
file_browser
File browser widget for navigating storage devices and selecting files.
icon
Icon font helpers and Button extension for rlvgl-ui.
input
Editable input and textarea components for rlvgl-ui (WID initiative).
layout
Basic layout helpers for arranging Widget instances from rlvgl_widgets.
led
LED status indicator for rlvgl-ui.
list
Selectable list component for rlvgl-ui.
modal
Modal component for rlvgl-ui.
progress
Linear progress component for rlvgl-ui.
props
Shared Chakra-inspired props for rlvgl-ui components.
radio
Radio component with change callbacks for rlvgl-ui.
select
Select component backed by the LVGL-parity dropdown widget.
spacer
Spacer primitive for reserving empty space in rlvgl-ui layouts.
spinner
Spinner component for rlvgl-ui.
style
Builder utilities for constructing styles consumed by rlvgl_core::widget::Widget implementations across rlvgl_widgets.
switch
Switch component with change callbacks for rlvgl-ui.
tabs
Tabs component backed by the LVGL-parity tabview widget.
tag
Tag component for rlvgl-ui.
text
Text and heading helpers for rlvgl-ui.
theme
Theme and token definitions for styling rlvgl-widgets components.
toast
Toast component for rlvgl-ui.

Structs§

Button
Clickable button widget.
ButtonId
Opaque button identifier within a ButtonMatrix.
ButtonMatrixControl
Bit-flags controlling individual button appearance and behavior.
Calendar
LVGL-parity calendar widget.
CalendarDate
A Gregorian calendar date (year, month, day).
CellCtrl
Bit-flags controlling individual cell appearance and layout.
Color
RGBA color used by the renderer.
MessageBox
LVGL-parity message-box dialog (LPAR-14 §5.H).
Part
Sub-region or visual component of a widget used as a style selector key.
Spinbox
Numeric text-editing spinbox.
TabId
Opaque identifier for a tab within a Tabview.
Table
LVGL-parity table widget.
Window
Title-bar + content-area window widget (LVGL win parity).
WindowButtonId
Opaque identifier for a header button within a Window.

Enums§

BarMode
Filling behavior for a Bar.
BarOrientation
Orientation for a Bar.
CellAlign
Horizontal text alignment within a table cell.
SelectDirection
Whether the open list appears below or above the trigger.
SpinboxDigitStepDirection
Direction of cursor movement when stepping through digits.
TabBarPos
Position of the tab bar within the Tabview bounding box.

Constants§

BUTTON_NONE
Sentinel ButtonId meaning “no button is selected / pressed”.
DEFAULT_HEADER_HEIGHT
Default header height in pixels when none is specified.