This repository will be archived on 1st August 2020.
lvgl / lv_apps Goto Github PK
View Code? Open in Web Editor NEWReady to use UIs and high level components for applications
License: MIT License
Ready to use UIs and high level components for applications
License: MIT License
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.
Now what do you prefer?
A lot of small embedded devices have interface like this:
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:
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.
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
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);
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
.
.
.
.
.
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.