Lines Matching full:can

4 - A style is an `lv_style_t` variable which can hold properties like border width, text color and s…
5can be assigned to objects to change their appearance. Upon assignment, the target part (*pseudo-…
6 For example one can add `style_blue` to the knob of a slider when it's in pressed state.
7 - The same style can be used by any number of objects.
8 - Styles can be cascaded which means multiple styles may be assigned to an object and each style ca…
10 For example `style_btn` can result in a default gray button and `style_btn_red` can add only a `bac…
12 - Some properties (e.g. text color) can be inherited from a parent(s) if it's not specified in an o…
13 - Objects can also have local styles with higher precedence than "normal" styles.
15 - Transitions can be applied when the object changes state.
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…
36 A style can be added to any state or state combination.
60 ….g. red background color) just set it for the default state. If the object can't find a property f…
82 Some properties (typically those related to text) can be inherited from the parent object's styles.
88 …o force a child object to use the parent's value for a given style property. To do this you can use
101 To do this you can use the same API but with `LV_STYLE_PROP_META_INITIAL` instead. In future versio…
106 Objects can be composed of *parts* which may each have their own styles.
117 - `LV_PART_CUSTOM_FIRST` Custom part identifiers can be added starting from here.
125 This means all three parts of the slider can have their own styles. See later how to add styles to …
132 After initializing a style, properties can be added or changed.
174 Styles can be built as `const` too to save RAM:
185 Later `const` style can be used like any other style but (obviously) new properties can not be adde…
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.
210 `style` can be `NULL` to check only the `selector` and remove all matching styles. The `selector` c…
215 1. If you know that the changed properties can be applied by a simple redraw (e.g. color or opacity…
221 …heritance, local styles and transitions (see below) - property get functions like this can be used:
230 In addition to "normal" styles, objects can also store local styles. This concept is similar to inl…
232 Local styles are like normal styles, but they can't be shared among other objects. If used, local s…
235 Unlike in CSS, LVGL local styles can be assigned to states (*pseudo-classes*) and parts (*pseudo-el…
258 For example, on pressing a button its background color can be animated to the pressed color over 30…
266 The transition properties can be defined for each state. For example, setting a 500 ms transition t…
289 …_mode` is set to a non-default value LVGL can build the layer from smaller chunks. The size of the…
293 If transformation properties were also used the layer can not be rendered in chunks, but one larger…
295 If the widget can fully cover the area to redraw, LVGL creates an RGB layer (which is faster to ren…
306 This will give a default appearance to the UI which can then be modified by adding further styles.
308 Every display can have a different theme. For example, you could have a colorful theme on a TFT and…
314 Theme initialization functions can have different prototypes. This example shows how to set the "de…
329 Built-in themes can be extended.
330 If a custom theme is created, a parent theme can be selected. The parent theme's styles will be add…
331 Any number of themes can be chained this way. E.g. default theme -> custom theme -> dark theme.