|
oveRTOS C++ API
C++20 RAII wrappers for the oveRTOS C API
|
C++ abstractions for the LVGL embedded GUI library. More...
Classes | |
| class | Animation |
Fluent builder for LVGL animations (lv_anim_t). More... | |
| class | Arc |
| C++ wrapper for an LVGL arc widget (circular slider / gauge). More... | |
| class | Bar |
| C++ wrapper for an LVGL progress-bar widget. More... | |
| class | Box |
| C++ wrapper for a generic LVGL container object with scrolling disabled. More... | |
| class | Button |
| C++ wrapper for an LVGL button widget. More... | |
| class | Calendar |
| C++ wrapper for LVGL's month-grid date picker. More... | |
| class | Canvas |
| C++ wrapper for LVGL's user-buffer drawing surface. More... | |
| class | Chart |
| C++ wrapper for an LVGL chart (line / bar / scatter). More... | |
| class | Checkbox |
| C++ wrapper for an LVGL checkbox (labelled binary toggle). More... | |
| class | Component |
| CRTP base class for reusable, self-contained LVGL UI components. More... | |
| class | Dropdown |
| C++ wrapper for an LVGL click-to-open dropdown list. More... | |
| class | EventMixin |
| CRTP mixin that adds type-safe LVGL event registration to widget classes. More... | |
| class | Group |
RAII wrapper for an LVGL input focus group (lv_group_t). More... | |
| class | Image |
| C++ wrapper for an LVGL image widget. More... | |
| class | Keyboard |
| C++ wrapper for LVGL's on-screen keyboard. More... | |
| class | Label |
| C++ wrapper for an LVGL label widget. More... | |
| class | Led |
| C++ wrapper for LVGL's LED widget — a colored indicator circle. More... | |
| class | List |
| C++ wrapper for LVGL's scrollable list of buttons/text. More... | |
| class | LvglGuard |
| RAII scoped lock for thread-safe access to the LVGL rendering context. More... | |
| class | Msgbox |
| C++ wrapper for an LVGL message-box (modal dialog). More... | |
| class | ObjectMixin |
| CRTP mixin that adds fluent layout and visibility setters to widget classes. More... | |
| class | ObjectView |
Non-owning, pointer-sized wrapper around an lv_obj_t*. More... | |
| class | Roller |
| C++ wrapper for LVGL's iOS-picker-style scrollable option wheel. More... | |
| class | Screen |
| Top-level LVGL screen — a display root without a parent. More... | |
| class | Slider |
| C++ wrapper for an LVGL slider widget (interactive bar). More... | |
| class | Spinbox |
C++ wrapper for an LVGL numeric stepper (+ / − buttons). More... | |
| class | Spinner |
| C++ wrapper for LVGL's circular loading indicator. More... | |
| class | Style |
RAII wrapper around an lv_style_t object. More... | |
| class | StyleMixin |
| CRTP mixin that adds inline per-object style setters to widget classes. More... | |
| class | Switch |
| C++ wrapper for an LVGL switch widget (binary toggle). More... | |
| class | Table |
| C++ wrapper for LVGL's 2D data table widget. More... | |
| class | Tabview |
| C++ wrapper for LVGL's tabbed container with swipeable pages. More... | |
| class | Textarea |
| C++ wrapper for an LVGL text-entry widget. More... | |
| class | Timer |
| RAII wrapper for LVGL's built-in timer system. More... | |
Functions | |
| Box | vbox (ObjectView parent) |
Creates a vertical flex container (LV_FLEX_FLOW_COLUMN) sized to its content. | |
| Box | hbox (ObjectView parent) |
Creates a horizontal flex container (LV_FLEX_FLOW_ROW) sized to its content. | |
| void | animate_x (ObjectView obj, int32_t to, uint32_t duration_ms) |
| Helper: animate an object's X position with ease-out. | |
| void | animate_y (ObjectView obj, int32_t to, uint32_t duration_ms) |
| Helper: animate an object's Y position with ease-out. | |
| void | animate_width (ObjectView obj, int32_t to, uint32_t duration_ms) |
| Helper: animate an object's width. | |
| void | animate_opa (ObjectView obj, lv_opa_t to, uint32_t duration_ms) |
Helper: fade an object's main-part opacity from current → to. | |
| int32_t | display_width () |
| Horizontal resolution (pixels) of the default LVGL display. | |
| int32_t | display_height () |
| Vertical resolution (pixels) of the default LVGL display. | |
| int32_t | display_dpi () |
| DPI of the default LVGL display. | |
| ObjectView | layer_top () |
| Returns the top layer (for overlays that should render above screens). | |
C++ abstractions for the LVGL embedded GUI library.
This namespace provides:
LvglGuard — RAII lock for thread-safe LVGL access.ObjectView — lightweight, non-owning wrapper around lv_obj_t*.ObjectMixin, EventMixin, StyleMixin) that add fluent setter chains to concrete widget types.Style — RAII wrapper for lv_style_t.State<T> — reactive integer state backed by the LVGL observer (requires LV_USE_OBSERVER).Label, Bar, Box.vbox(), hbox().Component<Derived> — CRTP base for reusable UI components.LvglGuard lock.