How to create a screen backstage

Important: posts that do not use this template will be ignored or closed.

Before posting

  • Get familiar with Markdown to format and structure your post
  • Be sure to update lvgl from the latest version from the master branch.
  • Be sure you have checked the relevant part of the documentation. We will not respond in detail to posts where you haven’t read the relevant documentation.
  • If applicable use the Simulator to eliminate hardware related issues.

Delete this section if you read and applied the mentioned points.

Description

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

windows 7 system and with the visual studio 2019 professional

What LVGL version are you using?

v7.1

What do you want to achieve?

Create a screen backstage not the lv_scr_act().

What have you tried so far?

I create the screen named “incoming” which base on lv_scr_act(),but at the same time I want to create a screen named “message” backstage instead of cover the “incoming” screen.So when I delete the “incoming” screen,the “message” screen will show, but I don’t know how to do it.

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.

You can create two lv_objs on the incoming screen. The first one (in the background) can be used as “message”. The second can be used as “incoming”. That way you can create objects in the background without them being visible.

Thank you very much I try it and it success,The first one has it’s own address and the second is base on lv_scr_act().
If one day,the LVGL library function is perfect,is it charge ?

Sorry; I didn’t understand your question. Maybe there’s a translation issue?

I am sorry,My English is so pool.Does the LVGL tool will not free?

As far as I know there are no plans to make LVGL itself a paid product (though extra tools and services could be commercial).

1 Like

Exactly as @embeddedt said. We are planning to keep LVGL free under MIT license as now but we do have paid services and we are developing paid tools.