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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



