lvgl / lv_demos

Examples, tutorials and applications for the LVGL embedded GUI library
https://lvgl.io
488 stars 366 forks source link

Rework the examples repo #31

Closed kisvegabor closed 4 years ago

kisvegabor commented 5 years ago

This repo should be reworked to make people easier to get started.

My vision is the following

Simple examples

Add very simple examples. It would be nice to use these examples in the documentation too (add lv_examples as a submodule to docs). I was collecting the recurring questions which could be answered with examples:

Ready to use / easy to modify applications

External libraries

Create a separate repo for examples when external libraries are used:

Blog post

Create blog posts about longer, more complex topics

Tutorials

Tests

Feedback is very welcome

kisvegabor commented 5 years ago

Maybe we could get some inspiration/ideas from Android file managers.

Absolutely yes!

puzrin commented 5 years ago

Good question. Examples are simple, short and related only to a specific object type. (the are listed in the documentation of object types).

I think, if you don't plan to have 1000 doc examples & 1000 "simple" app examples, it's ok to keep both in one place.

Criteria related only to a specific object type may be a bit artificial (tough i can understand initial intent). It may be importand if you use some specific autogeneration from doc, but as far as i know, that's not our case.

embeddedt commented 5 years ago

@puzrin I guess a better way of stating it is that we are aiming to demonstrate a capability of a single object type. For example, the image recoloring demo contains sliders but is really meant to demonstrate recoloring.

kisvegabor commented 5 years ago

As @embeddedt said the goal of the simple examples is to demonstrate a specific feature or use-case of an object type.

So the final conclusion seems to be:

Do you agree?

stale[bot] commented 5 years ago

This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

kisvegabor commented 5 years ago

Not stale

kisvegabor commented 4 years ago

I've just added the png_decoder library: https://github.com/littlevgl/lv_png_decoder

kisvegabor commented 4 years ago

I've also added run time font rendering with FreeType: https://github.com/littlevgl/lv_freetype

kisvegabor commented 4 years ago

QR code library is added: https://github.com/littlevgl/lv_lib_qrcode

incity commented 4 years ago

I've just added the png_decoder library: https://github.com/littlevgl/lv_png_decoder

Will you add jpg support?

kisvegabor commented 4 years ago

I was considering to add Tiny JPED Dec but didn't have time to add it yet.

I opened a "help-wanted" issue here about it.


This issue is quite outdated so I close it now.