/lvgl-latest/docs/details/base-widget/styles/ |
D | style.rst | 9 style is an :cpp:type:`lv_style_t` variable which can hold properties like 18 each style can have different properties. Therefore, not all properties 26 - Some properties (e.g. text color) can be inherited from a parent(s) if it's not specified in a Wi… 79 2. When the Widget is pressed there are 2 related properties: default 106 - Use ORed states to describe the properties for complex cases (e.g. 122 It's not required to set all the properties in one style. It's possible 153 Some properties (typically those related to text) can be inherited from 195 Initialize Styles and Set/Get Properties 202 :cpp:expr:`lv_style_init(&my_style)`. After initializing a style, properties can 241 - :cpp:member:`num`: for integer, boolean and opacity properties [all …]
|
D | style-properties.rst | 4 Style Properties 10 Properties related to size, position, alignment and layout of Widgets. 323 Properties to describe spacing between the parent's sides and the children and among the children. … 426 Properties to describe spacing around a Widget. Very similar to the margin properties in HTML. 487 Properties to describe the background color and image of Widget. 604 … gradients with more colors as well. If it's set other gradient related properties will be ignored' 688 Properties to describe the borders 763 Properties to describe the outline. It's like a border but drawn outside of the rectangles. 824 Properties to describe the shadow drawn under the rectangles. 913 Properties to describe the images [all …]
|
/lvgl-latest/docs/details/other-components/ |
D | obj_property.rst | 4 Widget Properties 7 Widget Properties provides a way to greatly reduce the size of the interface between 9 properties of Widgets. It's intended use is to: 27 getting Widget properties, it is designed so minimize that additional CPU overhead. 34 A Widget's properties are the combined set of :ref:`styles` plus additional properties 36 how it behaves. Examples: size, position, color, are properties of all Widgets 37 whereas text, long-mode, selection-start, and selection-end, are properties unique to 39 properties in this context. 41 The non-style Widget properties available for a given Widget are implemented at the 48 static const lv_property_ops_t properties[] = { [all …]
|
D | xml.rst | 32 - Constants are working for widget and style properties 36 and states support the basic style properties 41 - Only a few style properties are supported. 109 - ``<styles>``: ``<style>`` properties can be defined with names and properties. 234 /*Apply the common properties, e.g. width, height, styles flags etc*/ 237 /* Apply the common properties, e.g., width, height, styles, flags, etc. */
|
/lvgl-latest/tests/src/test_cases/widgets/ |
D | test_obj_property.c | 89 /* Image properties */ in test_obj_property_set_get_should_match() 128 } properties[] = { in test_obj_property_flag() local 163 for(unsigned long i = 0; i < sizeof(properties) / sizeof(properties[0]); i++) { in test_obj_property_flag() 165 TEST_ASSERT_FALSE(lv_obj_get_property(obj, properties[i].id).num); in test_obj_property_flag() 166 lv_obj_add_flag(obj, properties[i].flag); in test_obj_property_flag() 167 TEST_ASSERT_TRUE(lv_obj_get_property(obj, properties[i].id).num); in test_obj_property_flag() 169 lv_obj_remove_flag(obj, properties[i].flag); in test_obj_property_flag() 170 TEST_ASSERT_FALSE(lv_obj_get_property(obj, properties[i].id).num); in test_obj_property_flag() 173 prop.id = properties[i].id; in test_obj_property_flag() 176 TEST_ASSERT_TRUE(lv_obj_get_property(obj, properties[i].id).num); in test_obj_property_flag() [all …]
|
D | test_scale.c | 44 /* Label style properties */ in test_scale_render_example_2() 48 /* Major tick properties */ in test_scale_render_example_2() 61 /* Main line properties */ in test_scale_render_example_2() 73 /* Label style properties */ in test_scale_render_example_2() 83 /* Main line properties */ in test_scale_render_example_2() 188 /* Label style properties */ in test_scale_render_example_4() 192 /* Major tick properties */ in test_scale_render_example_4() 207 /* Main line properties */ in test_scale_render_example_4() 221 /* Label style properties */ in test_scale_render_example_4() 231 /* Main line properties */ in test_scale_render_example_4()
|
D | test_bar.c | 40 * Bar properties assumed: 64 /* Set properties */ in test_bar_should_update_indicator_right_coordinate_based_on_bar_value() 94 * Bar properties assumed: 117 /* Set properties */ in test_bar_rtl_should_update_indicator_left_coordinate_based_on_bar_value() 296 * Bar properties assumed: 303 /* Setup bar properties */ in test_bar_indicator_should_be_drawn_towards_the_min_range_side_after_setting_a_more_negative_value()
|
/lvgl-latest/scripts/ |
D | style_api_gen.py | 8 {'section': 'Size and position', 'dsc':'Properties related to size, position, alignment and layout … 97 …dsc' : "Properties to describe spacing between the parent's sides and the children and among the c… 126 {'section': 'Margin', 'dsc' : "Properties to describe spacing around a Widget. Very similar to the … 143 {'section': 'Background', 'dsc':'Properties to describe the background color and image of Widget.' … 178 …gradients with more colors as well. If it's set other gradient related properties will be ignored'… 200 {'section': 'Border', 'dsc':'Properties to describe the borders' }, 221 {'section': 'Outline', 'dsc':'Properties to describe the outline. It\'s like a border but drawn out… 238 {'section': 'Shadow', 'dsc':'Properties to describe the shadow drawn under the rectangles.' }, 263 {'section': 'Image', 'dsc':'Properties to describe the images' }, 276 {'section': 'Line', 'dsc':'Properties to describe line-like Widgets' }, [all …]
|
D | properties.py | 79 for widget, properties in properties_by_widget.items(): 80 # sort properties by property name 81 properties.sort(key=lambda x: x.name) 82 properties_by_widget[widget] = properties 105 properties = properties_by_widget[widget] 109 count = len(properties) 134 * Generated code from properties.py 140 for property in properties: 158 properties = properties_by_widget['style'] 179 for property in properties: [all …]
|
/lvgl-latest/src/misc/ |
D | lv_style.h | 184 * Enumeration of all built in style properties 352 const lv_style_prop_t * props; /**< An array with the properties to animate.*/ 368 * Descriptor of a style (a collection of properties and values). 389 * @note Do not call `lv_style_init` on styles that already have some properties 396 * Clear all properties from a style and free all allocated memories. 431 * Get the number of custom properties that have been registered thus far. 467 * @param props an array with the properties to transition. The last element must be zero. 528 * Checks if a style is empty (has no properties) 538 * @return the group [0..30] 30 means all the custom properties with index > 120 543 if(group > 30) group = 31; /*The MSB marks all the custom properties*/ in lv_style_get_prop_group()
|
/lvgl-latest/docs/details/widgets/ |
D | scale.rst | 155 different Style properties to draw them (colors, line thicknesses, font, etc.). 162 overlap), the Style's properties belonging to the most recently added Section takes 163 precedence over the same style properties of other Section(s) that "involve" that 192 You set a Section's Style properties by creating a :cpp:type:`lv_style_t` object 194 properties as is documented in :ref:`style_initialize`. 234 Useful Style Properties for Sections 237 The Style properties that are used during Scale drawing (and are thus useful) are:
|
D | arc.rst | 20 style properties and an arc using the Arc style properties. The Arc's 21 size and position will respect the *padding* style properties. 23 properties. Its padding values are interpreted relative to the 26 background properties and padding values. With zero padding the knob
|
D | slider.rst | 24 :ref:`typical background style properties <typical bg props>`. ``padding`` makes 27 the Slider; also uses the :ref:`typical background style properties <typical bg props>`. 29 also uses the :ref:`typical background style properties <typical bg props>` to 57 - for orientation, width and height, simply set width and height properties;
|
D | dropdown.rst | 34 background <typical bg props>` and text style properties for its text. 44 style properties <typical bg props>`. ``max_height`` can be used to limit the 47 properties and width (for its own width) and right padding for the 50 pressed+checked option. Also uses the :ref:`typical background style properties
|
/lvgl-latest/src/core/ |
D | lv_obj_pos.h | 30 /** Consider the transformation properties of the parents too */ 368 * Transform a point using the angle and zoom style properties of an object 369 * @param obj pointer to an object whose style properties should be used 376 * Transform an array of points using the angle and zoom style properties of an object 377 * @param obj pointer to an object whose style properties should be used 386 * Transform an area using the angle and zoom style properties of an object 387 * @param obj pointer to an object whose style properties should be used
|
D | lv_obj_property.h | 48 /*Set properties from an array of lv_property_t*/ 125 * For some properties like slider range, it contains two simple (4-byte) values 165 …* Set multiple Widget properties. Helper `LV_OBJ_SET_PROPERTY_ARRAY` can be used for constant prop… 197 * if still not found, then search style properties. 206 * Get property ID by doing a non-recursive search for name directly in Widget class properties.
|
D | lv_obj.c | 64 static const lv_property_ops_t properties[] = { variable 194 .properties = properties, 195 .properties_count = sizeof(properties) / sizeof(properties[0]), 613 /*If the border is drawn later disable loading its properties*/ in lv_obj_draw() 630 /*If the border is drawn later disable loading other properties*/ in lv_obj_draw()
|
D | lv_obj_property.c | 248 const lv_property_ops_t * properties; in obj_property() local 255 properties = clz->properties; in obj_property() 256 if(properties == NULL) { in obj_property() 268 prop = &properties[i]; in obj_property()
|
/lvgl-latest/examples/widgets/scale/ |
D | lv_example_scale_4.c | 28 /* Label style properties */ in lv_example_scale_4() 32 /* Major tick properties */ in lv_example_scale_4() 47 /* Main line properties */ in lv_example_scale_4() 61 /* Label style properties */ in lv_example_scale_4() 71 /* Main line properties */ in lv_example_scale_4()
|
D | lv_example_scale_2.c | 28 /* Label style properties */ in lv_example_scale_2() 32 /* Major tick properties */ in lv_example_scale_2() 47 /* Main line properties */ in lv_example_scale_2() 61 /* Label style properties */ in lv_example_scale_2() 71 /* Main line properties */ in lv_example_scale_2()
|
D | lv_example_scale_5.c | 25 /* Label style properties */ in lv_example_scale_5() 28 /* Major tick properties */ in lv_example_scale_5() 43 /* Main line properties */ in lv_example_scale_5() 57 /* Label style properties */ in lv_example_scale_5()
|
D | lv_example_scale_6.c | 77 /* Label style properties */ in lv_example_scale_6() 81 /* Major tick properties */ in lv_example_scale_6() 87 /* Minor tick properties */ in lv_example_scale_6() 95 /* Main line properties */ in lv_example_scale_6()
|
/lvgl-latest/env_support/cmake/ |
D | custom.cmake | 56 …set_source_files_properties(${LVGL_ROOT_DIR}/src/others/vg_lite_tvg/vg_lite_tvg.cpp PROPERTIES COM… 145 PROPERTIES OUTPUT_NAME lvgl 164 PROPERTIES OUTPUT_NAME lvgl_thorvg 183 PROPERTIES OUTPUT_NAME lvgl_demos 202 PROPERTIES OUTPUT_NAME lvgl_examples
|
/lvgl-latest/src/widgets/scale/ |
D | lv_scale.c | 590 /* Overwrite label and tick properties if tick value is within section range */ in scale_draw_indicator() 777 /* Overwrite label and tick properties if tick value is within section range */ in scale_calculate_main_compensation() 825 /* Get style properties so they can be used in the main line drawing */ in scale_draw_main() 1038 /* Get style properties so they can be used in the tick and label drawing */ in scale_get_tick_points() 1226 * Set line properties 1228 * Checks if the line has a custom section configuration or not and sets the properties accordingly. 1277 * Set arc properties 1279 * Checks if the arc has a custom section configuration or not and sets the properties accordingly. 1346 * Set indicator label properties 1348 …* Checks if the indicator has a custom section configuration or not and sets the properties accord…
|
/lvgl-latest/src/widgets/animimage/ |
D | lv_animimage.c | 48 static const lv_property_ops_t properties[] = { variable 80 .properties = properties, 81 .properties_count = sizeof(properties) / sizeof(properties[0]),
|