29typedef enum : int32_t {
47typedef enum : uint32_t {
91typedef enum : int32_t {
103typedef enum : int32_t {
116typedef enum : int32_t {
133typedef enum : int32_t {
147typedef enum : uint64_t {
268 const uint16_t* panel,
Composite board-view renderer: panel framebuffer + a status sidebar.
@ k_board_overlay_min_height_px
Minimum composite height.
@ k_board_overlay_sidebar_width_px
Pixels added right of panel.
int32_t priv_draw_text(board_overlay_surface_t *surface, int32_t x, int32_t y, const char *s, uint16_t color, int32_t sc)
Draw a NUL-terminated string; returns the x after the last glyph.
overlay_btn_layout_t
Fixed layout of the on-screen SW1 / SW2 buttons (sidebar-relative priv_px).
@ k_btn_head_y
"BUTTONS" heading row.
@ k_btn_gap
Horizontal gap between SW1 and SW2.
@ k_btn_y
Button face top.
@ k_btn_w
Button face width.
@ k_btn_label_y
Caption top inset within the button face.
@ k_btn_x_dx
Button column inset from the sidebar origin.
@ k_btn_label_x
Caption inset within the button face.
@ k_btn_h
Button face height.
overlay_sd_unit_t
Binary size-unit factor for the SD-card capacity readout.
@ k_sd_unit_div
Bytes per KiB step (KiB->MiB->GiB ladder).
overlay_con_layout_t
Console-panel layout (the bottom scrolling log with a tab bar).
@ k_con_tab_h
Tab-bar row height (one row of the grid).
@ k_con_pad
Inner padding inside the console panel.
@ k_con_line_h
Vertical step between console text lines.
@ k_con_head_y
"CONSOLE" heading row.
@ k_con_tab_cap_y
Caption y-offset within a tab row.
@ k_con_tab_gap
Gap between adjacent tab cells.
@ k_con_y
Console panel top.
@ k_con_tab_txt
Caption inset within a tab cell.
@ k_con_tab_min_w
Minimum tab-cell pitch; sets tabs-per-row.
@ k_con_bottom
Bottom margin below the console panel.
@ k_title_bar_h
Title-bar band height (board name at 2x).
@ k_section_gap
Gap above a section heading.
@ k_rule_dy
Heading baseline to its underline rule.
@ k_led_col_dx
Horizontal spacing between LEDs.
@ k_led_row_h
LED row height (advance to next block).
@ k_kv_label_cols
Label column width (glyphs) so values align.
@ k_title_gap
Title line to the app-name line.
@ k_sidebar_top
Sidebar top margin.
@ k_appname_gap
App-name line to the run-stats block.
@ k_led_row_dy
"LEDS" heading to the LED row.
@ k_led_label_dy
LED label vertical offset within its dot.
@ k_row_step
Vertical step between text rows.
@ k_heading_gap
Section heading to its first row.
@ k_pad_x
Left padding inside the sidebar.
board_overlay_cfg_t
Sidebar geometry and palette (RGB565).
@ k_ovl_tab_empty_txt
Inactive empty tab.
@ k_ovl_rule
Thin horizontal section rule.
@ k_ovl_tab_off_bg
Inactive tab background.
@ k_ovl_btn_up
Button face, released.
@ k_ovl_btn_border
On-screen button outline.
@ k_ovl_ok
Green "running / ok" indicator.
@ k_ovl_amber
Amber attention indicator.
@ k_ovl_console_txt
Console text (terminal green).
@ k_ovl_console_bg
Near-black console background.
@ k_ovl_text
Light-grey body text.
@ k_ovl_panel_bg
Fill behind a missing/short panel.
@ k_ovl_divider
Panel/sidebar divider.
@ k_ovl_heading
White heading text.
@ k_ovl_tab_off_txt
Inactive tab with traffic.
@ k_ovl_bg
Dark slate sidebar background.
@ k_ovl_btn_label
Button caption text.
@ k_ovl_glyph_h
Font glyph height in pixels.
@ k_ovl_glyph_last
Last font glyph (tilde).
@ k_ovl_min_h
Minimum height.
@ k_ovl_accent
Cyan title accent.
@ k_ovl_console_new
Newest line (white).
@ k_ovl_glyph_w
Font glyph width in pixels.
@ k_ovl_bg_alt
Lighter section band.
@ k_ovl_led_off
Unlit LED dot.
@ k_ovl_tab_on_bg
Active tab background.
@ k_ovl_led_ring
LED dot outline.
@ k_ovl_btn_down
Button face, pressed (green).
@ k_ovl_sidebar_w
Sidebar width.
@ k_ovl_red
Low-SOC red gauge.
@ k_ovl_tab_on_txt
Active tab caption.
@ k_ovl_dim
Dim label text (field names).
@ k_ovl_glyph_first
First font glyph (space).
overlay_io_layout_t
Fixed Y anchor for the I/O section (below the LED row).
@ k_io_head_y
"I/O" section heading row (clear of the LEDs).
overlay_pwr_layout_t
Fixed layout of the POWER section: battery slider + CHG toggle.
@ k_pwr_head_y
"POWER" heading row.
@ k_pwr_soc_full
SOC clamp / percent denominator.
@ k_pwr_x_dx
POWER column inset from the sidebar origin.
@ k_pwr_chg_w
CHG toggle face width.
@ k_core_lp_off
Low-power toggle x offset (right of SW1/SW2).
@ k_pwr_h
Slider track height.
@ k_pwr_track_w
Slider track width (the full drag range).
@ k_pwr_soc_low
SOC at or below this draws the gauge red.
@ k_pwr_soc_mid
SOC at or below this draws the gauge amber.
@ k_pwr_chg_off
CHG toggle x offset from the track origin.
@ k_core_lp_w
Low-power toggle face width.
@ k_pwr_y
Battery slider track top.
@ k_pwr_label_y
Caption top inset within a POWER face.
void priv_blit_panel(uint16_t *out, uint16_t w, uint16_t h, const uint16_t *panel, uint16_t panel_w, uint16_t panel_h)
Blit the rendered panel into the composite's panel region.
int32_t priv_section_head(board_overlay_surface_t *surface, int32_t x, int32_t y, const char *title)
Draw a section heading (accent colour) with a thin rule beneath it.
void priv_fill_rect(board_overlay_surface_t *surface, int32_t x, int32_t y, int32_t rw, int32_t rh, uint16_t color)
Fill a clipped rectangle in the composite (draw primitive).
int32_t priv_kv_row(board_overlay_surface_t *surface, int32_t x, int32_t y, const char *label, const char *value, uint16_t val_color)
Draw a "label value" row: dim label, coloured value; returns next y.
void priv_px(board_overlay_surface_t *surface, int32_t x, int32_t y, uint16_t color)
Plot one clipped pixel into the composite (draw primitive).
Annotation-attribute framework macros for ra8-firmware.
#define RA8_PRIV
Module-private helper: shared across TUs but only inside one library.
Non-owning drawing surface used by memory and raw-fd compositors.