Lines Matching refs:in

3 … are used to set the appearance of objects. Styles in lvgl are heavily inspired by CSS. The concep…
4 …hich can hold properties like border width, text color and so on. It's similar to a `class` in CSS.
5 …hange their appearance. Upon assignment, the target part (*pseudo-element* in CSS) and target stat…
6 For example one can add `style_blue` to the knob of a slider when it's in pressed state.
9 Therefore, not all properties have to be specified in a style. LVGL will search for a property unti…
10 For example `style_btn` can result in a default gray button and `style_btn_red` can add only a `bac…
11 …as higher precedence. This means if a property is specified in two styles the newest style in the …
12 - Some properties (e.g. text color) can be inherited from a parent(s) if it's not specified in an o…
14 - Unlike CSS (where pseudo-classes describe different states, e.g. `:focus`), in LVGL a property is…
19 The objects can be in the combination of the following states:
34 An object can be in a combination of states such as being focused and pressed at the same time. Thi…
38 If a property is not defined in a state the best matching state's property will be used. Typically …
42 States have a precedence which is shown by their value (see in the above list). A higher value mean…
48 1. Initially the object is in the default state, so it's a simple case: the property is perfectly d…
51 3. When the object is focused the same thing happens as in pressed state and red color will be used…
55 6. When the object is in the checked state there is no property to set the background color for thi…
67 It's not required to set all the properties in one style. It's possible to add more styles to an ob…
70 This is much like in CSS when used classes are listed like `<div class=".btn .btn-red">`.
72 Styles added later have precedence over ones set earlier. So in the gray/red button example above, …
76 - the red button style defines the background color as red only in the default state
78 …s case, when the button is released (it's in default state) it will be red because a perfect match…
83 Inheritance is applied only if the given property is not set in the object's styles (even in defaul…
84 In this case, if the property is inheritable, the property's value will be searched in the parents …
100 …rce the default value of a property to be used, without needing to hardcode it in your application.
108 The following predefined parts exist in LVGL:
129 Styles are stored in `lv_style_t` variables. Style variables should be `static`, global or dynamica…
130 In other words they cannot be local variables in functions which are destroyed when the function ex…
194 - `LV_STATE_PRESSED`: The main part in pressed state. `LV_PART_MAIN` can be omitted
195 - `LV_PART_SCROLLBAR`: The scrollbar part in the default state. `LV_STATE_DEFAULT` can be omitted.
209 … will remove `style` only if the `selector` matches with the `selector` used in `lv_obj_add_style`.
230 …ects can also store local styles. This concept is similar to inline styles in CSS (e.g. `<div styl…
235 Unlike in CSS, LVGL local styles can be assigned to states (*pseudo-classes*) and parts (*pseudo-el…
260 The parameters of the transitions are stored in the styles. It's possible to set
266 …n be defined for each state. For example, setting a 500 ms transition time in the default state me…
267 Setting a 100 ms transition time in the pressed state causes a 100 ms transition when going to the …
268 This example configuration results in going to the pressed state quickly and then going back to def…
285 …efault value LVGL creates a snapshot about the widget and all its children in order to blend the w…
289 …ller chunks. The size of these chunks can be configured by the following properties in `lv_conf.h`:
293 If transformation properties were also used the layer can not be rendered in chunks, but one larger…
325 The included themes are enabled in `lv_conf.h`. If the default theme is enabled by `LV_USE_THEME_DE…
329 Built-in themes can be extended.