docs: bring back flat widget directory structure

This commit is contained in:
Gabor Kiss-Vamosi
2022-07-27 10:50:32 +02:00
parent cd11476592
commit 2461ac0758
46 changed files with 93 additions and 115 deletions

View File

@@ -47,7 +47,7 @@ Be sure not to confuse displays and screens:
Screens can be considered the highest level containers which have no parent.
A screen's size is always equal to its display and their origin is (0;0). Therefore, a screen's coordinates can't be changed, i.e. `lv_obj_set_pos()`, `lv_obj_set_size()` or similar functions can't be used on screens.
A screen can be created from any object type but the two most typical types are [Base object](/widgets/obj) and [Image](/widgets/core/img) (to create a wallpaper).
A screen can be created from any object type but the two most typical types are [Base object](/widgets/obj) and [Image](/widgets/img) (to create a wallpaper).
To create a screen, use `lv_obj_t * scr = lv_<type>_create(NULL, copy)`. `copy` can be an existing screen copied into the new screen.