/lvgl-latest/src/others/xml/parsers/ |
D | lv_xml_obj_parser.c | 26 static void apply_styles(lv_obj_t * obj, const char * name, const char * value); 39 #define SET_STYLE_IF(prop, value) if(lv_streq(prop_name, "style_" #prop)) lv_obj_set_style_##prop(o… argument 59 const char * value = attrs[i + 1]; in lv_xml_obj_apply() local 61 if(lv_streq("x", name)) lv_obj_set_x(item, lv_xml_to_size(value)); in lv_xml_obj_apply() 62 else if(lv_streq("y", name)) lv_obj_set_y(item, lv_xml_to_size(value)); in lv_xml_obj_apply() 63 else if(lv_streq("width", name)) lv_obj_set_width(item, lv_xml_to_size(value)); in lv_xml_obj_apply() 64 else if(lv_streq("height", name)) lv_obj_set_height(item, lv_xml_to_size(value)); in lv_xml_obj_apply() 65 else if(lv_streq("align", name)) lv_obj_set_align(item, lv_xml_align_to_enum(value)); in lv_xml_obj_apply() 66 … else if(lv_streq("flex_flow", name)) lv_obj_set_flex_flow(item, lv_xml_flex_flow_to_enum(value)); in lv_xml_obj_apply() 67 else if(lv_streq("flex_grow", name)) lv_obj_set_flex_grow(item, lv_xml_atoi(value)); in lv_xml_obj_apply() [all …]
|
D | lv_xml_chart_parser.c | 59 const char * value = attrs[i + 1]; in lv_xml_chart_apply() local 61 if(lv_streq("point_count", name)) lv_chart_set_point_count(item, lv_xml_atoi(value)); in lv_xml_chart_apply() 62 else if(lv_streq("type", name)) lv_chart_set_type(item, chart_type_to_enum(value)); in lv_xml_chart_apply() 63 …if(lv_streq("update_mode", name)) lv_chart_set_update_mode(item, chart_update_mode_to_enum(value)); in lv_xml_chart_apply() 66 int32_t value1 = lv_xml_atoi_split(&value, ' '); in lv_xml_chart_apply() 67 int32_t value2 = lv_xml_atoi_split(&value, ' '); in lv_xml_chart_apply() 92 const char * value = attrs[i + 1]; in lv_xml_chart_series_apply() local 95 while(value[0] != '\0') { in lv_xml_chart_series_apply() 96 int32_t v = lv_xml_atoi_split(&value, ' '); in lv_xml_chart_series_apply() 123 const char * value = attrs[i + 1]; in lv_xml_chart_cursor_apply() local [all …]
|
D | lv_xml_image_parser.c | 61 const char * value = attrs[i + 1]; in lv_xml_image_apply() local 63 if(lv_streq("src", name)) lv_image_set_src(item, lv_xml_get_image(value)); in lv_xml_image_apply() 64 … if(lv_streq("inner_align", name)) lv_image_set_inner_align(item, image_align_to_enum(value)); in lv_xml_image_apply() 65 if(lv_streq("rotation", name)) lv_image_set_rotation(item, lv_xml_atoi(value)); in lv_xml_image_apply() 66 if(lv_streq("scale_x", name)) lv_image_set_scale_x(item, lv_xml_atoi(value)); in lv_xml_image_apply() 67 if(lv_streq("scale_y", name)) lv_image_set_scale_y(item, lv_xml_atoi(value)); in lv_xml_image_apply() 69 int32_t x = lv_xml_atoi_split(&value, ' '); in lv_xml_image_apply() 70 int32_t y = lv_xml_atoi_split(&value, ' '); in lv_xml_image_apply()
|
D | lv_xml_slider_parser.c | 56 const char * value = attrs[i + 1]; in lv_xml_slider_apply() local 58 if(lv_streq("value", name)) lv_slider_set_value(item, lv_xml_atoi(value), LV_ANIM_OFF); in lv_xml_slider_apply() 59 … if(lv_streq("left_value", name)) lv_slider_set_left_value(item, lv_xml_atoi(value), LV_ANIM_OFF); in lv_xml_slider_apply() 60 …_streq("orientation", name)) lv_slider_set_orientation(item, orentation_text_to_enum_value(value)); in lv_xml_slider_apply() 61 if(lv_streq("mode", name)) lv_slider_set_mode(item, mode_text_to_enum_value(value)); in lv_xml_slider_apply() 62 …if(lv_streq("range_min", name)) lv_slider_set_range(item, lv_xml_atoi(value), lv_slider_get_max_va… in lv_xml_slider_apply() 63 …q("range_max", name)) lv_slider_set_range(item, lv_slider_get_min_value(item), lv_xml_atoi(value)); in lv_xml_slider_apply() 66 lv_strlcpy(buf, value, sizeof(buf)); in lv_xml_slider_apply()
|
D | lv_xml_table_parser.c | 57 const char * value = attrs[i + 1]; in lv_xml_table_apply() local 59 if(lv_streq("column_conunt", name)) lv_table_set_column_count(item, lv_xml_atoi(value)); in lv_xml_table_apply() 60 else if(lv_streq("row_conunt", name)) lv_table_set_row_count(item, lv_xml_atoi(value)); in lv_xml_table_apply() 63 int32_t value1 = lv_xml_atoi_split(&value, ' '); in lv_xml_table_apply() 64 int32_t value2 = lv_xml_atoi_split(&value, ' '); in lv_xml_table_apply() 88 const char * value = attrs[i + 1]; in lv_xml_table_column_apply() local 90 if(lv_streq("width", name)) lv_table_set_column_width(table, column, lv_xml_atoi(value)); in lv_xml_table_column_apply() 113 const char * value = attrs[i + 1]; in lv_xml_table_cell_apply() local 115 if(lv_streq("value", name)) lv_table_set_cell_value(table, row, column, value); in lv_xml_table_cell_apply() 119 lv_strncpy(buf, value, sizeof(buf)); in lv_xml_table_cell_apply()
|
/lvgl-latest/src/misc/ |
D | lv_style_gen.c | 13 void lv_style_set_width(lv_style_t * style, int32_t value) in lv_style_set_width() argument 16 .num = (int32_t)value in lv_style_set_width() 21 void lv_style_set_min_width(lv_style_t * style, int32_t value) in lv_style_set_min_width() argument 24 .num = (int32_t)value in lv_style_set_min_width() 29 void lv_style_set_max_width(lv_style_t * style, int32_t value) in lv_style_set_max_width() argument 32 .num = (int32_t)value in lv_style_set_max_width() 37 void lv_style_set_height(lv_style_t * style, int32_t value) in lv_style_set_height() argument 40 .num = (int32_t)value in lv_style_set_height() 45 void lv_style_set_min_height(lv_style_t * style, int32_t value) in lv_style_set_min_height() argument 48 .num = (int32_t)value in lv_style_set_min_height() [all …]
|
D | lv_style_gen.h | 17 void lv_style_set_width(lv_style_t * style, int32_t value); 18 void lv_style_set_min_width(lv_style_t * style, int32_t value); 19 void lv_style_set_max_width(lv_style_t * style, int32_t value); 20 void lv_style_set_height(lv_style_t * style, int32_t value); 21 void lv_style_set_min_height(lv_style_t * style, int32_t value); 22 void lv_style_set_max_height(lv_style_t * style, int32_t value); 23 void lv_style_set_length(lv_style_t * style, int32_t value); 24 void lv_style_set_x(lv_style_t * style, int32_t value); 25 void lv_style_set_y(lv_style_t * style, int32_t value); 26 void lv_style_set_align(lv_style_t * style, lv_align_t value); [all …]
|
D | lv_style.h | 69 #define LV_STYLE_CONST_PROPS_END { .prop = LV_STYLE_PROP_INV, .value = { .num = 0 } } 364 lv_style_value_t value; member 451 void lv_style_set_prop(lv_style_t * style, lv_style_prop_t prop, lv_style_value_t value); 462 …_res_t lv_style_get_prop(const lv_style_t * style, lv_style_prop_t prop, lv_style_value_t * value); 501 lv_style_value_t * value) in lv_style_get_prop_inlined() argument 508 *value = props[i].value; in lv_style_get_prop_inlined() 519 *value = values[i]; in lv_style_get_prop_inlined() 564 static inline void lv_style_set_pad_all(lv_style_t * style, int32_t value) in lv_style_set_pad_all() argument 566 lv_style_set_pad_left(style, value); in lv_style_set_pad_all() 567 lv_style_set_pad_right(style, value); in lv_style_set_pad_all() [all …]
|
/lvgl-latest/src/others/xml/ |
D | lv_xml_style.c | 45 #define SET_STYLE_IF(prop, value) if(lv_streq(name, #prop)) lv_style_set_##prop(style, value) argument 97 const char * value = attrs[i + 1]; in lv_xml_style_register() local 101 if(value[0] == '#') { in lv_xml_style_register() 102 const char * value_clean = &value[1]; in lv_xml_style_register() 106 value = c->value; in lv_xml_style_register() 113 SET_STYLE_IF(width, lv_xml_to_size(value)); in lv_xml_style_register() 114 else SET_STYLE_IF(height, lv_xml_to_size(value)); in lv_xml_style_register() 115 else SET_STYLE_IF(length, lv_xml_to_size(value)); in lv_xml_style_register() 116 else SET_STYLE_IF(radius, lv_xml_to_size(value)); in lv_xml_style_register() 118 else SET_STYLE_IF(pad_left, lv_xml_atoi(value)); in lv_xml_style_register() [all …]
|
/lvgl-latest/src/core/ |
D | lv_obj_style_gen.c | 13 void lv_obj_set_style_width(lv_obj_t * obj, int32_t value, lv_style_selector_t selector) in lv_obj_set_style_width() argument 16 .num = (int32_t)value in lv_obj_set_style_width() 21 void lv_obj_set_style_min_width(lv_obj_t * obj, int32_t value, lv_style_selector_t selector) in lv_obj_set_style_min_width() argument 24 .num = (int32_t)value in lv_obj_set_style_min_width() 29 void lv_obj_set_style_max_width(lv_obj_t * obj, int32_t value, lv_style_selector_t selector) in lv_obj_set_style_max_width() argument 32 .num = (int32_t)value in lv_obj_set_style_max_width() 37 void lv_obj_set_style_height(lv_obj_t * obj, int32_t value, lv_style_selector_t selector) in lv_obj_set_style_height() argument 40 .num = (int32_t)value in lv_obj_set_style_height() 45 void lv_obj_set_style_min_height(lv_obj_t * obj, int32_t value, lv_style_selector_t selector) in lv_obj_set_style_min_height() argument 48 .num = (int32_t)value in lv_obj_set_style_min_height() [all …]
|
D | lv_obj_property.c | 24 value->field = ((lv_property_get_##type##_t)(prop->getter))(obj); \ 28 ((lv_property_set_##type##_t)(prop->setter))(obj, value->field); \ 31 … ((lv_property_set_##type##_integer_t)(prop->setter))(obj, value->arg1.field, value->arg2.num); \ 34 …((lv_property_set_##type##_boolean_t)(prop->setter))(obj, value->arg1.field, value->arg2.enable); \ 37 …((lv_property_set_##type##_precise_t)(prop->setter))(obj, value->arg1.field, value->arg2.precise);… 40 … ((lv_property_set_##type##_color_t)(prop->setter))(obj, value->arg1.field, value->arg2.color); \ 48 … ((lv_property_set_##type##_pointer_t)(prop->setter))(obj, value->arg1.field, value->arg2.ptr); \ 94 static lv_result_t obj_property(lv_obj_t * obj, lv_prop_id_t id, lv_property_t * value, bool set); 109 lv_result_t lv_obj_set_property(lv_obj_t * obj, const lv_property_t * value) in lv_obj_set_property() argument 111 LV_ASSERT(obj && value); in lv_obj_set_property() [all …]
|
D | lv_obj_style.h | 148 void lv_obj_set_local_style_prop(lv_obj_t * obj, lv_style_prop_t prop, lv_style_value_t value, 151 …e_res_t lv_obj_get_local_style_prop(lv_obj_t * obj, lv_style_prop_t prop, lv_style_value_t * value, 196 static inline void lv_obj_set_style_pad_all(lv_obj_t * obj, int32_t value, lv_style_selector_t sele… in lv_obj_set_style_pad_all() argument 198 lv_obj_set_style_pad_left(obj, value, selector); in lv_obj_set_style_pad_all() 199 lv_obj_set_style_pad_right(obj, value, selector); in lv_obj_set_style_pad_all() 200 lv_obj_set_style_pad_top(obj, value, selector); in lv_obj_set_style_pad_all() 201 lv_obj_set_style_pad_bottom(obj, value, selector); in lv_obj_set_style_pad_all() 204 static inline void lv_obj_set_style_pad_hor(lv_obj_t * obj, int32_t value, lv_style_selector_t sele… in lv_obj_set_style_pad_hor() argument 206 lv_obj_set_style_pad_left(obj, value, selector); in lv_obj_set_style_pad_hor() 207 lv_obj_set_style_pad_right(obj, value, selector); in lv_obj_set_style_pad_hor() [all …]
|
D | lv_obj_style_gen.h | 766 void lv_obj_set_style_width(lv_obj_t * obj, int32_t value, lv_style_selector_t selector); 767 void lv_obj_set_style_min_width(lv_obj_t * obj, int32_t value, lv_style_selector_t selector); 768 void lv_obj_set_style_max_width(lv_obj_t * obj, int32_t value, lv_style_selector_t selector); 769 void lv_obj_set_style_height(lv_obj_t * obj, int32_t value, lv_style_selector_t selector); 770 void lv_obj_set_style_min_height(lv_obj_t * obj, int32_t value, lv_style_selector_t selector); 771 void lv_obj_set_style_max_height(lv_obj_t * obj, int32_t value, lv_style_selector_t selector); 772 void lv_obj_set_style_length(lv_obj_t * obj, int32_t value, lv_style_selector_t selector); 773 void lv_obj_set_style_x(lv_obj_t * obj, int32_t value, lv_style_selector_t selector); 774 void lv_obj_set_style_y(lv_obj_t * obj, int32_t value, lv_style_selector_t selector); 775 void lv_obj_set_style_align(lv_obj_t * obj, lv_align_t value, lv_style_selector_t selector); [all …]
|
/lvgl-latest/src/libs/thorvg/rapidjson/internal/ |
D | itoa.h | 39 inline char* u32toa(uint32_t value, char* buffer) { in u32toa() argument 44 if (value < 10000) { in u32toa() 45 const uint32_t d1 = (value / 100) << 1; in u32toa() 46 const uint32_t d2 = (value % 100) << 1; in u32toa() 48 if (value >= 1000) in u32toa() 50 if (value >= 100) in u32toa() 52 if (value >= 10) in u32toa() 56 else if (value < 100000000) { in u32toa() 58 const uint32_t b = value / 10000; in u32toa() 59 const uint32_t c = value % 10000; in u32toa() [all …]
|
/lvgl-latest/tests/src/test_cases/ |
D | test_circle_buf.c | 47 int32_t value; in test_circle_buf_read_write_peek_values() local 48 const lv_result_t res = lv_circle_buf_read(circle_buf, &value); in test_circle_buf_read_write_peek_values() 51 TEST_ASSERT_EQUAL_INT32(0, value); in test_circle_buf_read_write_peek_values() 59 int32_t value; in test_circle_buf_read_write_peek_values() local 60 const lv_result_t res = lv_circle_buf_peek_at(circle_buf, i, &value); in test_circle_buf_read_write_peek_values() 63 TEST_ASSERT_EQUAL_INT32(j, value); in test_circle_buf_read_write_peek_values() 73 int32_t value; in test_circle_buf_read_write_peek_values() local 74 const lv_result_t res = lv_circle_buf_read(circle_buf, &value); in test_circle_buf_read_write_peek_values() 78 TEST_ASSERT_EQUAL_INT32(i, value); in test_circle_buf_read_write_peek_values() 129 int32_t value; in test_circle_buf_read_after_read_and_write() local [all …]
|
D | test_svg.c | 52 attr1.value.fval = 10.0f; in testNodeTree() 57 TEST_ASSERT_EQUAL_FLOAT((LV_ARRAY_GET(&node3->attrs, 0, lv_svg_attr_t))->value.fval, 10.0f); in testNodeTree() 69 … TEST_ASSERT_EQUAL_STRING((LV_ARRAY_GET(&svg_node1->attrs, 0, lv_svg_attr_t))->value.sval, "1.2"); in testSvgElement() 70 … TEST_ASSERT_EQUAL_STRING((LV_ARRAY_GET(&svg_node1->attrs, 1, lv_svg_attr_t))->value.sval, "tiny"); in testSvgElement() 84 …AT_ARRAY(ret1, (float *)(LV_ARRAY_GET(&svg_node_viewbox1->attrs, 0, lv_svg_attr_t))->value.val, 4); in testSvgElement() 91 …AT_ARRAY(ret2, (float *)(LV_ARRAY_GET(&svg_node_viewbox2->attrs, 0, lv_svg_attr_t))->value.val, 4); in testSvgElement() 104 …AT_ARRAY(ret4, (float *)(LV_ARRAY_GET(&svg_node_viewbox4->attrs, 0, lv_svg_attr_t))->value.val, 4); in testSvgElement() 111 …TEST_ASSERT_EQUAL_FLOAT((LV_ARRAY_GET(&svg_node_wh->attrs, 0, lv_svg_attr_t))->value.fval, 100.0f); in testSvgElement() 112 …TEST_ASSERT_EQUAL_FLOAT((LV_ARRAY_GET(&svg_node_wh->attrs, 1, lv_svg_attr_t))->value.fval, 100.0f); in testSvgElement() 118 …TEST_ASSERT_EQUAL_FLOAT((LV_ARRAY_GET(&svg_node_wh2->attrs, 0, lv_svg_attr_t))->value.fval, 377.95… in testSvgElement() [all …]
|
D | test_svg_anim.c | 28 lv_svg_attr_type_t at = (LV_ARRAY_GET(&anim_node->attrs, 0, lv_svg_attr_t))->value.ival; in testAnimate() 30 float dur = (LV_ARRAY_GET(&anim_node->attrs, 1, lv_svg_attr_t))->value.fval; in testAnimate() 33 int ft = (LV_ARRAY_GET(&anim_node->attrs, 2, lv_svg_attr_t))->value.ival; in testAnimate() 36 float fr = (LV_ARRAY_GET(&anim_node->attrs, 3, lv_svg_attr_t))->value.fval; in testAnimate() 39 float to = (LV_ARRAY_GET(&anim_node->attrs, 4, lv_svg_attr_t))->value.fval; in testAnimate() 57 lv_svg_attr_type_t at = (LV_ARRAY_GET(&anim_node->attrs, 0, lv_svg_attr_t))->value.ival; in testSet() 59 float to = (LV_ARRAY_GET(&anim_node->attrs, 1, lv_svg_attr_t))->value.fval; in testSet() 86 const char * xlink = (LV_ARRAY_GET(&mpath_node->attrs, 0, lv_svg_attr_t))->value.sval; in testAnimateMotion() 89 uint32_t rp = (LV_ARRAY_GET(&anim_node->attrs, 1, lv_svg_attr_t))->value.uval; in testAnimateMotion() 92 float rt = (LV_ARRAY_GET(&anim_node->attrs, 2, lv_svg_attr_t))->value.fval; in testAnimateMotion() [all …]
|
/lvgl-latest/src/stdlib/builtin/ |
D | lv_sprintf_builtin.c | 256 …ong(out_fct_type out, char * buffer, size_t idx, size_t maxlen, unsigned long value, bool negative, in _ntoa_long() argument 263 if(!value) { in _ntoa_long() 268 if(!(flags & FLAGS_PRECISION) || value) { in _ntoa_long() 270 const char digit = (char)(value % base); in _ntoa_long() 272 value /= base; in _ntoa_long() 273 } while(value && (len < PRINTF_NTOA_BUFFER_SIZE)); in _ntoa_long() 281 …toa_long_long(out_fct_type out, char * buffer, size_t idx, size_t maxlen, unsigned long long value, in _ntoa_long_long() argument 288 if(!value) { in _ntoa_long_long() 293 if(!(flags & FLAGS_PRECISION) || value) { in _ntoa_long_long() 295 const char digit = (char)(value % base); in _ntoa_long_long() [all …]
|
/lvgl-latest/src/libs/thorvg/ |
D | tvgLottieProperty.h | 45 T value; //keyframe value member 56 if (t < 1.0f) return value; in interpolate() 57 else return next->value; in interpolate() 59 return lerp(value, next->value, t); in interpolate() 67 T value; //keyframe value member 81 if (t < 1.0f) return value; in interpolate() 82 else return next->value; in interpolate() 86 Bezier bz = {value, value + outTangent, next->value + inTangent, next->value}; in interpolate() 89 return lerp(value, next->value, t); in interpolate() 96 Point dp = next->value - value; in angle() [all …]
|
D | tvgSvgLoader.cpp | 411 static unsigned char _parseColor(const char* value, char** end) in _parseColor() argument 415 r = strToFloat(value, end); in _parseColor() 435 unsigned int value; member 748 *r = (((uint8_t*)(&(colors[i].value)))[2]); in _toColor() 749 *g = (((uint8_t*)(&(colors[i].value)))[1]); in _toColor() 750 *b = (((uint8_t*)(&(colors[i].value)))[0]); in _toColor() 813 static Matrix* _parseTransformationMatrix(const char* value) in _parseTransformationMatrix() argument 823 char* str = (char*)value; in _parseTransformationMatrix() 949 static bool _parseStyleAttr(void* data, const char* key, const char* value); 950 static bool _parseStyleAttr(void* data, const char* key, const char* value, bool style); [all …]
|
/lvgl-latest/examples/widgets/obj/ |
D | lv_example_obj_3.c | 9 static float value = 0.1f; in timer_cb() local 12 lv_matrix_scale(&matrix, value, 1); in timer_cb() 13 lv_matrix_rotate(&matrix, value * 360); in timer_cb() 16 value += 0.01f; in timer_cb() 18 if(value > 2.0f) { in timer_cb() 20 value = 0.1f; in timer_cb()
|
/lvgl-latest/src/libs/barcode/ |
D | code128.c | 252 static signed char code128a_ascii_to_code(signed char value) in code128a_ascii_to_code() argument 254 if(value >= ' ' && value <= '_') in code128a_ascii_to_code() 255 return (signed char)(value - ' '); in code128a_ascii_to_code() 256 else if(value >= 0 && value < ' ') in code128a_ascii_to_code() 257 return (signed char)(value + 64); in code128a_ascii_to_code() 258 else if(value == (signed char)CODE128_FNC1) in code128a_ascii_to_code() 260 else if(value == (signed char)CODE128_FNC2) in code128a_ascii_to_code() 262 else if(value == (signed char)CODE128_FNC3) in code128a_ascii_to_code() 264 else if(value == (signed char)CODE128_FNC4) in code128a_ascii_to_code() 270 static signed char code128b_ascii_to_code(signed char value) in code128b_ascii_to_code() argument [all …]
|
/lvgl-latest/docs/details/widgets/ |
D | bar.rst | 12 indicator against the background indicates the Bar's current value. 14 Both the start and end values of the Bar can be set. Changing the start value to a 15 value other than the minimum value in its range changes the start position of the indicator. 52 A new value can be set with 53 :cpp:expr:`lv_bar_set_value(bar, new_value, LV_ANIM_ON/OFF)`. The value is 57 bottom to top in vertical mode. If the minimum value is greater than the maximum value, like 60 The new value in :cpp:func:`lv_bar_set_value` can be set with or without an 70 - :cpp:enumerator:`LV_BAR_MODE_SYMMETRICAL` Draws indicator from zero value to current value. Requi… 71 minimum value and positive maximum value, e.g. [-100..100]. 72 - :cpp:enumerator:`LV_BAR_MODE_RANGE` Allows setting the start value as well with [all …]
|
/lvgl-latest/src/others/observer/ |
D | lv_observer.c | 26 lv_subject_value_t value; member 77 void lv_subject_init_int(lv_subject_t * subject, int32_t value) in lv_subject_init_int() argument 81 subject->value.num = value; in lv_subject_init_int() 82 subject->prev_value.num = value; in lv_subject_init_int() 86 void lv_subject_set_int(lv_subject_t * subject, int32_t value) in lv_subject_set_int() argument 93 subject->prev_value.num = subject->value.num; in lv_subject_set_int() 94 subject->value.num = value; in lv_subject_set_int() 105 return subject->value.num; in lv_subject_get_int() 118 …t_init_string(lv_subject_t * subject, char * buf, char * prev_buf, size_t size, const char * value) in lv_subject_init_string() argument 121 lv_strlcpy(buf, value, size); in lv_subject_init_string() [all …]
|
/lvgl-latest/docs/details/other-components/ |
D | observer.rst | 16 - **subjects**: each containing a value 17 - **observers**: attached to subjects to be notified on value change 35 //Initialize the subject as integer with the default value of 10 47 //Will be called when the related subject's value changes 68 //Set the subject's value to 30. It will notify `some_observer_cb` 86 - **Integer** ``void lv_subject_init_int(lv_subject_t * subject, int32_t value)`` 87 …init_string(lv_subject_t * subject, char * buf, char * prev_buf, size_t size, const char * value)`` 88 - **Pointer** ``void lv_subject_init_pointer(lv_subject_t * subject, void * value)`` 93 Set subject value 96 The following functions can be used to set a subject's value: [all …]
|