Unlock instant, AI-driven research and patent intelligence for your innovation.

Configuration-based lvgl interface circulation sliding method and device

A sliding direction and interface technology, applied in the computer field, can solve the problems affecting the service life of the flash, the implementation method is complicated, and the interface cyclic sliding function cannot be realized. Effect

Active Publication Date: 2022-08-05
恒鸿达科技有限公司
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this invention implements left and right sliding and up and down sliding to switch user interfaces in the LVGL system framework, and cannot realize the circular sliding function of the interface, and the implementation method is too complicated. When the display effect needs to be modified, the entire program needs to be refreshed by updating the program , not only is inefficient, but also affects the service life of the flash

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Configuration-based lvgl interface circulation sliding method and device
  • Configuration-based lvgl interface circulation sliding method and device
  • Configuration-based lvgl interface circulation sliding method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] like figure 1 As shown, this embodiment provides a lvgl interface cyclic sliding method based on configuration, including a configuration process, a callback mechanism setting process, and an interface sliding processing process:

[0034] like figure 2 As shown, the configuration process includes: creating a tabview object on the current interface according to the requirements of the business process, including setting the size of the tabview (the size of the tabview is generally the screen size); creating at least one tab that needs to be displayed in the business process on the tabview object object, establish the index ID of the tab object, that is, TABID, set the maximum value MAX of TABID and the step value TAB_CNT; create an img object and a label text object to be displayed on each tab object, and determine the corresponding image information; close the tabview The sliding function of the object;

[0035] Among them, the step value TAB_CNT is usually set to 1,...

Embodiment 2

[0064] like Figure 7 As shown, in this embodiment, a configuration-based lvgl interface circular sliding device is provided, including:

[0065]The configuration module is used to create a tabview object on the current interface according to the requirements of the business process, including setting the size of the tabview (the size of the tabview is generally the screen size); creating at least one tab object that needs to be displayed in the business process on the tabview object, Establish the index ID of the tab object, namely TABID, set the maximum value MAX of the TABID and the step value TAB_CNT; create an img object and a label text object to be displayed on each tab object, and determine the corresponding image information; close the tabview object sliding function;

[0066] Among them, the step value TAB_CNT is usually set to 1, so that each interface can be displayed in sequence. If it is set to 2, the interface will be displayed in a jump; if it is set to 3, the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

According to the configuration-based lvgl interface circular sliding method and device provided by the invention, the lvgl interface circular sliding can be realized based on the configuration of the user, the circular sliding of the lvgl interface can be realized, the sliding is more personalized, and the later modification of the display effect is simpler and more feasible. When the method is specifically applied, the program space can be subjected to partition management, and different partitions realize different functions, so that partition updating can be realized, the whole program space does not need to be erased and programmed, the efficiency is high, the refresh frequency of the flash can be effectively reduced, and the service life of the flash is prolonged.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for cyclic sliding of an lvgl interface based on configuration. Background technique [0002] At present, there are high-end and low-end gui interfaces of electronic devices in embedded systems. The high-end ones mainly include the android system framework and the linux qt framework; Linux GUI support system), touchgfx, ucwin, etc. Some require open source, some are only for individual chips, and the development efficiency without PC-side simulator is low. [0003] Lvgl (Light and VersatileGraphics Library, lightly integrated graphical interface library) is a new type of gui (Graphical User Interface, GUI for short, also known as graphical user interface), the number of codes is small and easy to port development, supports touch screen, using event callback It has a pc-side simulator, which can be developed under linux, mac, and windows systems, and can co...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F3/0485
CPCG06F3/0485Y02D10/00
Inventor 林智铃
Owner 恒鸿达科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More