Skip to content

lvgl: a per-name display accessor on LvglModule #48

Description

@genmon

A board that hosts a system/voice overlay on one of several LVGL panels needs to repaint just that panel when the overlay is released. LvglModule creates the lv_display_t per registered name on first bind but exposes no way to get it back, so the board's only option today is lv_display_get_next over every display and lv_obj_invalidate on each active screen — correct, but it repaints panels the overlay never touched.

Proposal: lv_display_t* LvglModule::display(const char* name) (nullptr before the first bind), documented next to addDisplay in docs/api.md.

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions