Subscribe for interesting News and useful Tutorials. (one or two newsletter per month)
A new major version is released with a lot new functions and improvements. The Littlev Graphics Library follows the rules of Semantic versioning. According to it a major release has to be done if the API is changed. Now the API of the graphics library is really changed to achieve a clearer and more effective architecture.
As you can see a brand new website is created besides the new release. I hope you like it!
Optimization of Low Level drawing functions:
Font anti-aliasing is introduced for microcontrollers with moderate resources and/or GUIs with a lot of animations, movements. It uses much less CPU power then the already existing Full screen anti-aliasing.
The good thing is font anti-aliasing can be used with Real drawing as well. It means you need only a simple frame buffer to use anti-aliased letters. Keep in mind the Littlev Graphics Library doesn't need to use double buffering to deal with animations, transparency or anti-aliasing. It uses only optionally few kB work memory for every high level effects.
Formerly all object type was a unique style type (e.g. lv_labels_t). Now a common style type lv_style_t is used. It describes style properties for:
It highly simplifies of using styles because you can use the same style for example a rectangle and a label. All object types will uses the style properties which are relevant for itself.
The new style system gives the opportunity to inherit styles from parents by settings the object's style to NULL.
In other words if you specify the style of a container object and create labels and/or images on it with NULL (inherited) styles the objects will use the parent's style. Why is it useful? Because you only have to create one style with great colors (background color, gradient color, text color, image recolor etc.), set is or container and just create objects on it without thinking about styles.
Learn more about the style here: http://www.gl.littlev.hu/objects#style
To make Applications more flexible and useful the Phantom application is created. It is able to send/ receive data to/from the Applications.
It creates the opportunity to use Applications individually. For example if you need a terminal you can run a full featured Terminal application and send/receive adta with a Phantom application.
Did you like this article? Share it with your friends!
Subscribe for more interesting News and useful Tutorials (one or two newsletter per month)
Have a question or have experience in this field? Share with us!
LittlevGL - Open-source Embedded GUI Library
LittlevGL is a free and open-source graphics library providing everything you need to create embedded GUI with easy-to-use graphical elements, beautiful visual effects and low memory footprint.
If you like LittlevGL, please
support its deveopment!
The founder of Littlev Graphics Library (LittlevGL) and related software modules is:
All Rights Reserved © 2018 Hungary