Comments (7)
I can modify the LV_OBJ_FREE_NUM
define in lv_conf.h to set the the type of free_num. For example:
#define LV_OBJ_FREE_NUM uint16_t
Using 1000 element in a list could cause other issues. If an element is e.g. 50 px high, the last will be on 50000 px coordinate. Now the GUI should be between -16K and +16K. See misc/gfx/area.h
from lvgl.
Interesting point. If I limit it to 300 then that would be enough (although still outside the 256 range for 8 bits). Either that or I'm more intelligent in how I load the list into memory and the listview.
from lvgl.
If you tell what you would like to do hopefully I can suggest a solution. (in a new topic)
from lvgl.
Thanks for the offer. Let me play about with it here and see what I can come up with first as I don't want to waste your valuable time (which should be devoted to further develping littlevgl!)
from lvgl.
Okay, see what happens :)
Anyway, the updating of LV_OBJ_FREE_NUM
still might be a useful thing.
from lvgl.
In lv_conf.h
I added LV_OBJ_FREE_NUM_TYPE
to define the type of the free number (e.g. uint16_t)
It is available in lvgl/beta
. It is the beta version of v5.0 so there are non-backward compatible API changes in it.
from lvgl.
Added in v5.0.0
from lvgl.
Related Issues (20)
- Mosaic HOT 2
- Scrolling does not respect padding of parent. HOT 5
- Automatioc check for broken links in documentation HOT 4
- How to display Thai on the interface HOT 4
- Recoloring in V9 HOT 1
- ESP32 Rotate doesn't work HOT 3
- ESP32-3248S035C with GT911 touch chip, arduino demo compile error HOT 14
- How can LVGL be better used on wayland/ DRM-enabled SoCs?
- have the C++ version image convert tool and font generate tool? HOT 7
- lv_demo_widgets example in windows, get stuck and break! HOT 6
- Rotate Base object (lv_obj) v9 HOT 13
- Error: failed to map framebuffer device to memory: Invalid argument HOT 1
- LV_EVENT_CLICKED should only be fired if the release takes place over the same object where the press happened HOT 3
- Default fonts not clear on red background HOT 4
- Span elements not printing properly HOT 5
- Display bug HOT 2
- get_x_aligned returns wrong value in case of percentage unit HOT 4
- STM32 Baremetal application only Renders to part of the screen HOT 4
- Change TileView Scroll animation speed HOT 2
- why the picture pixel blinking when running lvgl demo HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lvgl.