Lines Matching full:it
4 …ariable which can hold properties like border width, text color and so on. It's similar to a `clas…
6 For example one can add `style_blue` to the knob of a slider when it's in pressed state.
9 … a style. LVGL will search for a property until a style defines it or use a default if it's not sp…
12 - Some properties (e.g. text color) can be inherited from a parent(s) if it's not specified in an o…
48 1. Initially the object is in the default state, so it's a simple case: the property is perfectly d…
53 5. It's possible to set e.g. rose color for `LV_STATE_PRESSED | LV_STATE_FOCUSED`.
58 …ite intuitive, and it's something the user would expect naturally. E.g. if an object is focused th…
59 If the focused state had a higher precedence it would overwrite the pressed color.
60 …. red background color) just set it for the default state. If the object can't find a property for…
62 - It might be a good idea to use different style elements for different states.
67 It's not required to set all the properties in one style. It's possible to add more styles to an ob…
78 In this case, when the button is released (it's in default state) it will be red because a perfect …
79 When the button is pressed the light-gray color is a better match because it describes the current …
100 …rce the default value of a property to be used, without needing to hardcode it in your application.
102 will use the value based upon the current theme, but for now it just selects the internal default r…
131 Before using a style it should be initialized with `lv_style_init(&my_style)`.
189 A style on its own is not that useful. It must be assigned to an object to take effect.
257 …bject changes state (e.g. it's pressed) the new properties from the new state are set immediately.…
260 The parameters of the transitions are stored in the styles. It's possible to set
293 … angle, zoom and pivot parameters, and the size of the area to redraw, but it's never larger than …
295 …case ARGB rendering needs to be used. A widget might not cover its area if it has radius, `bg_opa …
305 Themes are a collection of styles. If there is an active theme LVGL applies it on every created wid…
325 …nabled by `LV_USE_THEME_DEFAULT 1` LVGL automatically initializes and sets it when a display is cr…
335 There is an example for it below.