Git Product home page Git Product logo

lv_apps's Introduction

Application UIs with LVGL

This repository will be archived on 1st August 2020.

lv_apps's People

Contributors

deonmarais64 avatar husky-koglhof avatar kisvegabor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

lv_apps's Issues

Set a long numbers or set-add-edit strings like 54:B8:0A:81:B3:18 of menu items inputs.

Hi, I just want to set long number range like from 0 to 9233304 or even editing it's sign in setting menus and with the Numset it is almost impossible. and one solution is to set each digit individually and add two more buttons Left and Right in addition two +- to do the job and underscored or blinking the editing digit for better visualization.

xi5Y67u

Now what do you prefer?

Ideas

  • lv_settings: Android like menu LINK
  • Car dashboard
  • File browser
  • Home automatization
  • Audio players
  • WiFi connect
  • BT connect
  • All in one example to show LittlevGL's features Example

[request] "Settings menu" demo

A lot of small embedded devices have interface like this:

  1. Main screen
  2. Settings menu with tons of params (mostly numeric, sometime text)

IMHO it would save a lot of time, if everyone could take ready example, and copy-paste code with controls of required type.

What is expected from menu:

  • Good design
  • Proper interaction with different input devices (touch/buttons)
  • Code blocks for popular controls, ready to copy-paste
    • Example: "need to set speed between [1.0 ... 5.0] m/sec with step 0.1"

lv_port.c shall be added.

hi!
I think that lv_port.c shall be added to lvgl or l_apps git.
the lv_port.c shall include user port code for their LCD or input device.
so that
1,lvgl is more structure and user friendly.
2,is more easy to make use of lvgl.
3,is more easy to adaptive code tree of different project.

Discussion: BLE Example App

Hey All,
I intend to start a BLE Demo App for lvgl, this is a general discussion to collect ideas for what people would like to see in that App..
At the top level there are 2 parts to BLE, the Client and the Server:
The Client:
Essentially the Client scans for other BLE Devices and connects to a chosen device, so my intention is to have a list of available devices and it connects to the one chosen by the user.
Once connected, it will display a number of parameters, much like the Scanner Apps for Android etc.
The Server:
The Server "Advertises its presence, the contents of the Advertising packet can be dynamic at run time, such as the device name etc.
Then it can be connected to by another device, such as a phone or another ESP etc.

/discuss :D

Does not auto scroll to the out-of-screen items when using encoder or keypads.

Hi, Pal.
How can I shift menu items to see out of screen items when I'm using encoder or keypads as inputs?
because it does not do that automatically even can selected the not-in-screen items.

  lv_indev_drv_t indev_drv;
  lv_indev_drv_init(&indev_drv);             /*Descriptor of a input device driver*/
  indev_drv.type = LV_INDEV_TYPE_ENCODER /* LV_INDEV_TYPE_POINTER */;    /*Touch pad is a pointer-like device*/
  indev_drv.read_cb = read_encoder /* my_touchpad_read */;      /*Set your driver function*/
  emulated_kp_indev = lv_indev_drv_register(&indev_drv);         /*Finally register the driver*/

  /*Create an object group*/
  group = lv_group_create();
  /*Assig the input device(s) to the created group*/
  lv_indev_set_group(emulated_kp_indev, group);
  lv_settings_set_group(group);

Need redefinition for version 7.x.x.

Hi man.
Since many things changed from version 6 to 7, we have got many errors:

lib\lv_apps\src\lv_settings\lv_settings.c: In function 'lv_settings_create':
lib\lv_apps\src\lv_settings\lv_settings.c:114:41: error: 'lv_theme_t' {aka 'struct '} has no member named
'style'
114 | lv_style_copy(&style_menu_bg, th->style.cont);
| ^~
lib\lv_apps\src\lv_settings\lv_settings.c:115:43: error: 'lv_theme_t' {aka 'struct '} has no member named
'style'
115 | lv_style_copy(&style_item_cont, th->style.list.btn.rel);
| ^~
lib\lv_apps\src\lv_settings\lv_settings.c:117:40: error: 'lv_style_pretty' undeclared (first use in this function); did you mean 'lv_style_reset'?
117 | lv_style_copy(&style_menu_bg, &lv_style_pretty);
| ^~~~~~~~~~~~~~~
| lv_style_reset
lib\lv_apps\src\lv_settings\lv_settings.c:117:40: note: each undeclared identifier is reported only once for each function it appears in
lib\lv_apps\src\lv_settings\lv_settings.c:118:42: error: 'lv_style_transp' undeclared (first use in this function); did you mean 'lv_style_reset'?
118 | lv_style_copy(&style_item_cont, &lv_style_transp);
| ^~~~~~~~~~~~~~~
| lv_style_reset
lib\lv_apps\src\lv_settings\lv_settings.c:121:31: error: 'lv_style_transp_tight' undeclared (first use in this function)
121 | lv_style_copy(&style_bg, &lv_style_transp_tight);
| ^~~~~~~~~~~~~~~~~~~~~
lib\lv_apps\src\lv_settings\lv_settings.c:122:18: error: 'lv_style_t' {aka 'struct '} has no member named
'body'
122 | style_menu_bg.body.radius = 0;
| ^
lib\lv_apps\src\lv_settings\lv_settings.c:124:20: error: 'lv_style_t' {aka 'struct '} has no member named
'body'
124 | style_item_cont.body.padding.left = LV_DPI / 5;
| ^
lib\lv_apps\src\lv_settings\lv_settings.c:125:20: error: 'lv_style_t' {aka 'struct '} has no member named
'body'
125 | style_item_cont.body.padding.right = LV_DPI / 5;
| ^
lib\lv_apps\src\lv_settings\lv_settings.c:126:20: error: 'lv_style_t' {aka 'struct '} has no member named
'body'
126 | style_item_cont.body.padding.top = LV_DPI / 10;
| ^
lib\lv_apps\src\lv_settings\lv_settings.c:127:20: error: 'lv_style_t' {aka 'struct '} has no member named
'body'
127 | style_item_cont.body.padding.bottom = LV_DPI / 10;
| ^
lib\lv_apps\src\lv_settings\lv_settings.c:128:20: error: 'lv_style_t' {aka 'struct '} has no member named
'body'
128 | style_item_cont.body.padding.inner = LV_DPI / 20;
C ompiling .pio\build\genericSTM32F103ZE\lib226\Wire\Wire.cpp.o
| ^
lib\lv_apps\src\lv_settings\lv_settings.c: In function 'create_page':
lib\lv_apps\src\lv_settings\lv_settings.c:244:33: error: 'LV_CONT_STYLE_MAIN' undeclared (first use in this function); did you mean 'LV_CONT_PART_MAIN'?
244 | lv_cont_set_style(act_cont, LV_CONT_STYLE_MAIN, &style_menu_bg);
| ^~~~~~~~~~~~~~~~~~
| LV_CONT_PART_MAIN
lib\lv_apps\src\lv_settings\lv_settings.c:252:52: error: 'lv_style_transp_fit' undeclared (first use in this function); did you mean 'lv_style_reset'?
252 | lv_cont_set_style(header, LV_CONT_STYLE_MAIN, &lv_style_transp_fit);
| ^~~~~~~~~~~~~~~~~~~
| lv_style_reset

.
.
.
.
.
.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.