文件系统(File system)
    
            
摘要:文件系统(File system) LVGL has a ‘File system’ abstraction module that enables you to attach any type of file system. A file system is identified by an as
        
阅读全文
                posted @ 
2024-12-20 08:56 
AtlasLapetos
        
阅读(41) 
         
        推荐(0)     
             
            
            
    图像(Images)
    
            
摘要:图像(Images) 图像在系统中是存储位图数据和元数据的文件或变量 储存图像(Store images) 图像可以存储在两个地方 内部存储器(RAM 或 ROM)中的变量里 文件 变量(Variables) 存储在变量中的图像主要由具有以下字段的 lv_img_dsc_t 结构体组成: heade
        
阅读全文
                posted @ 
2024-12-20 08:56 
AtlasLapetos
        
阅读(147) 
         
        推荐(0)     
             
            
            
    字体(Fonts)
    
            
摘要:字体(Fonts) 在 LVGL 中,字体是渲染单个字母(字形)图像所需的位图和其他信息的集合,字体存储在 lv_font_t 变量中,可以在样式的 text_font 字段中设置。 例如: lv_style_set_text_font(&my_style, &lv_font_montserrat_
        
阅读全文
                posted @ 
2024-12-20 08:56 
AtlasLapetos
        
阅读(432) 
         
        推荐(0)     
             
            
            
    色彩(Colors)
    
            
摘要:色彩(Colors) The color module handles all color-related functions like changing color depth, creating colors from hex code, converting between color dep
        
阅读全文
                posted @ 
2024-12-20 08:56 
AtlasLapetos
        
阅读(80) 
         
        推荐(0)     
             
            
            
    显示器(Displays)
    
            
摘要:显示器(Displays) 重要 The basic concept of a display in LVGL is explained in the Porting section. So before reading further, please read the Porting sectio
        
阅读全文
                posted @ 
2024-12-20 08:56 
AtlasLapetos
        
阅读(56) 
         
        推荐(0)     
             
            
            
    输入设备(Input devices)
    
            
摘要:输入设备(Input devices) An input device usually means: Pointer-like input device like touchpad or mouse Keypads like a normal keyboard or simple numeric k
        
阅读全文
                posted @ 
2024-12-20 08:56 
AtlasLapetos
        
阅读(51) 
         
        推荐(0)     
             
            
            
    事件(Events)
    
            
摘要:事件(Events) 当对象被操作时,LVGL 中会触发事件,例如 当一个对象 被点击 滚动 改变值 重绘等 给对象添加事件(Add events to the object) 用户可以为对象分配回调函数以查看其事件,比如: lv_obj_t * btn = lv_btn_create(lv_scr
        
阅读全文
                posted @ 
2024-12-20 08:56 
AtlasLapetos
        
阅读(298) 
         
        推荐(0)     
             
            
            
    层(Layers)
    
            
摘要:层(Layers) 创建顺序(Order of creation) 默认情况下,LVGL在旧对象之上绘制新对象。 例如,假设我们将一个按钮添加到名为button1的父对象,然后再添加另一个名为button2的按钮。然后button1(及其子对象)将位于背景中,并且可以被button2及其子对象覆盖。
        
阅读全文
                posted @ 
2024-12-20 08:56 
AtlasLapetos
        
阅读(65) 
         
        推荐(0)     
             
            
            
    滚动(Scroll)
    
            
摘要:滚动(Scroll) 概览(Overview) 在 LVGL 中,滚动的工作非常直观:如果一个对象在其父内容区域(没有填充的大小)之外,则父对象变为可滚动并且会出现滚动条。 任何对象都可以滚动,包括 lv_obj_t, lv_img, lv_btn, lv_meter, 等等。 对象可以一次水平或垂
        
阅读全文
                posted @ 
2024-12-20 08:56 
AtlasLapetos
        
阅读(611) 
         
        推荐(0)     
             
            
            
    样式属性(Style properties)
    
            
摘要:样式属性(Style properties) 大小与位置(Size and position) Properties related to size, position, alignment and layout of the objects. 与对象的大小、位置、对齐方式和布局相关的属性。 宽度(
        
阅读全文
                posted @ 
2024-12-20 08:56 
AtlasLapetos
        
阅读(51) 
         
        推荐(0)     
             
            
            
    样式(Styles)
    
            
摘要:样式(Styles) Styles 用于设置对象的外观。 lvgl 中的样式很大程度上受到 CSS 的启发。 简而言之,其概念如下: 样式是一个 lv_style_t 变量,它可以保存边框宽度、文本颜色等属性。 它类似于 CSS 中的“类”。 可以将样式分配给对象以更改其外观。 在赋值时,可以指定目
        
阅读全文
                posted @ 
2024-12-20 08:55 
AtlasLapetos
        
阅读(127) 
         
        推荐(0)     
             
            
            
    位置、大小与布局(Positions, sizes, and layouts)
    
            
摘要:位置、大小与布局(Positions, sizes, and layouts) 概览(Overview) 与 LVGL 的许多其他部分类似,设置坐标的概念受到 CSS 的启发。 简单来说: 坐标显式地存储在样式(大小、位置、布局等)中 支持最小宽度、最大宽度、最小高度、最大高度 有像素、百分比和“内
        
阅读全文
                posted @ 
2024-12-20 08:55 
AtlasLapetos
        
阅读(274) 
         
        推荐(0)     
             
            
            
    对象(Objects)
    
            
摘要:对象(Objects) 在LVGL中,用户界面构建的基本单元 就是对象, 或者叫做 部件(Widgets)。 例如按钮 Button, 标签 Label, 图片 Image, 列表 List, 图标 Chart 或者 文本区域 Text area。 你可以在 对象类型 Object types 中查
        
阅读全文
                posted @ 
2024-12-20 08:55 
AtlasLapetos
        
阅读(239) 
         
        推荐(0)     
             
            
            
    Window (lv_win)
    
            
摘要:Window (lv_win) Overview The Window is container-like object built from a header with title and buttons and a content area. Parts and Styles The Windo
        
阅读全文
                posted @ 
2024-12-20 08:55 
AtlasLapetos
        
阅读(22) 
         
        推荐(0)     
             
            
            
    Tile view (lv_tileview)
    
            
摘要:Tile view (lv_tileview) Overview The Tile view is a container object whose elements (called tiles) can be arranged in grid form. A user can navigate b
        
阅读全文
                posted @ 
2024-12-20 08:55 
AtlasLapetos
        
阅读(78) 
         
        推荐(0)     
             
            
            
    Tabview (lv_tabview)
    
            
摘要:Tabview (lv_tabview) Overview The Tab view object can be used to organize content in tabs. The Tab view is built from other widgets: Main container: l
        
阅读全文
                posted @ 
2024-12-20 08:55 
AtlasLapetos
        
阅读(99) 
         
        推荐(0)     
             
            
            
    Spinner (lv_spinner)
    
            
摘要:Spinner (lv_spinner) Overview The Spinner object is a spinning arc over a ring. Parts and Styles The parts are identical to the parts of lv_arc. Usage
        
阅读全文
                posted @ 
2024-12-20 08:55 
AtlasLapetos
        
阅读(31) 
         
        推荐(0)     
             
            
            
    Spinbox (lv_spinbox)
    
            
摘要:Spinbox (lv_spinbox) Overview The Spinbox contains a number as text which can be increased or decreased by Keys or API functions. Under the hood the S
        
阅读全文
                posted @ 
2024-12-20 08:55 
AtlasLapetos
        
阅读(38) 
         
        推荐(0)     
             
            
            
    Span (lv_span)
    
            
摘要:Span (lv_span) Overview A spangroup is the object that is used to display rich text. Different from the label object, spangroup can render text styled
        
阅读全文
                posted @ 
2024-12-20 08:55 
AtlasLapetos
        
阅读(46) 
         
        推荐(0)     
             
            
            
    Message box (lv_msgbox)
    
            
摘要:Message box (lv_msgbox) Overview The Message boxes act as pop-ups. They are built from a background container, a title, an optional close button, a te
        
阅读全文
                posted @ 
2024-12-20 08:55 
AtlasLapetos
        
阅读(54) 
         
        推荐(0)