Lines Matching full:a
5 You should read this first to get a general impression and read the detailed [Porting](/porting/ind…
7 ## Get started in a simulator
9 …GL to embedded hardware straight away, it's highly recommended to get started in a simulator first.
22 - Call `lv_tick_inc(x)` every `x` milliseconds in a Timer or Task (`x` should be between 1 and 10).…
25 - Create a draw buffer: LVGL will render the graphics here first, and send the rendered image to th…
26 The buffer size can be set freely but 1/10 screen size is a good starting point.
29 static lv_color_t buf1[DISP_HOR_RES * DISP_VER_RES / 10]; /*Declare a buffer…
32 - Implement and register a function which can copy the rendered image to an area of your display:
34 static lv_disp_drv_t disp_drv; /*Descriptor of a display driver*/
45 /*It's a very slow but simple implementation.
46 *`set_pixel` needs to be written by you to a set pixel on the screen*/
58 - Implement and register a function which can read an input device. E.g. for a touchpad:
60 static lv_indev_drv_t indev_drv; /*Descriptor of a input device driver*/
62 indev_drv.type = LV_INDEV_TYPE_POINTER; /*Touch pad is a pointer-like device*/
81 For a more detailed guide go to the [Porting](/porting/index) section.
89 Every object has a parent object where it is created. For example, if a label is created on a butto…
95 A Screen is the "root" parent. You can have any number of screens.
97 To get the current screen call `lv_scr_act()`, and to load a screen use `lv_scr_load(scr1)`.
99 You can create a new object with `lv_<type>_create(parent)`. It will return an `lv_obj_t *` variabl…
126 A callback is assigned like this:
129 lv_obj_add_event_cb(btn, btn_event_cb, LV_EVENT_CLICKED, NULL); /*Assign a callback to the button*/
154 Widgets might be built from one or more *parts*. For example, a button has only one part called `LV…
155 However, a [Slider](/widgets/core/slider) has `LV_PART_MAIN`, `LV_PART_INDICATOR` and `LV_PART_KNOB…
157 By using parts you can apply different styles to sub-elements of a widget. (See below)
162 LVGL objects can be in a combination of the following states:
175 To check if an object is in a given state use `lv_obj_has_state(obj, LV_STATE_...)`. It will return…
184 A style instance contains properties such as background color, border width, font, etc. that descri…
187 Before using a style it needs to be initialized with `lv_style_init(&style1)`. After that, properti…
218 Styles can be cascaded (similarly to CSS). It means you can add more styles to a part of an object.
219 For example `style_btn` can set a default button appearance, and `style_btn_red` can overwrite the …
226 If a property is not set on for the current state, the style with `LV_STATE_DEFAULT` will be used. …
228 Some properties (typically the text-related ones) can be inherited. This means if a property is not…
232 Local style properties also can be added to objects. This creates a style which resides inside the …
242 Themes are the default styles for objects. Styles from a theme are applied automatically when objec…
244 The theme for your application is a compile time configuration set in `lv_conf.h`.
256 # Create a Button and a Label