Osd menu example


I have read in the documentation that there is a method in LVGL to create a OSD menu. Is possible to have an example for doing this?

What MCU/Processor/Board and compiler are you using?


What LVGL version are you using?


What do you want to achieve?

I want to show an OSD menu when i press a key from my input device.

What have you tried so far?

Code to reproduce

Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.

The code block(s) should be formatted like:

/*You code here*/

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.

I don’t think there is an example for this, but the steps to make LVGL work this way are described here: https://docs.lvgl.io/latest/en/html/overview/display.html#transparent-screens

I have read this part, so my question…
But if someone have a minimal example to show this feature is much better!

Sounds like what you are doing the OSD (I assume On Screen Display) portion is the easy part?

Sorry I did not understand! What do you mean?