Lines Matching refs:expr
43 or tick position, use :cpp:expr:`lv_scale_set_mode(scale, mode)`, where ``mode`` can
60 - :cpp:expr:`lv_scale_set_range(scale, min, max)`, and
61 - :cpp:expr:`lv_scale_set_angle_range(scale, angle_range)`
74 :cpp:expr:`lv_scale_set_draw_ticks_on_top(scale, true)`. (This effect can be
91 - :cpp:expr:`lv_scale_set_total_tick_count(scale, total_tick_count)`, and
92 - :cpp:expr:`lv_scale_set_major_tick_every(scale, nth_tick)`.
95 :cpp:expr:`lv_scale_set_label_show(scale, true)`. (Pass ``false`` to hide them again.)
99 :cpp:expr:`lv_scale_set_text_src(scale, custom_labels)` where ``custom_labels`` is an
112 :cpp:expr:`lv_obj_set_style_transform_rotation(scale, LV_SCALE_LABEL_ROTATE_MATCH_TICKS, LV_PART_IN…
116 :cpp:expr:`lv_obj_set_style_transform_rotation(scale, 200, LV_PART_INDICATOR)`.
119 :cpp:expr:`lv_obj_set_style_transform_rotation(scale, LV_SCALE_LABEL_ROTATE_MATCH_TICKS + 200, LV_P…
124 :cpp:expr:`lv_obj_set_style_transform_rotation(scale, LV_SCALE_LABEL_ROTATE_MATCH_TICKS | LV_SCALE_…
126 :cpp:expr:`lv_obj_set_style_translate_x(scale, 10, LV_PART_INDICATOR)`.
130 The major tick value is calculated with the :cpp:expr:`lv_map` API (when not
138 :cpp:expr:`lv_obj_set_style_length(scale, 5, LV_PART_INDICATOR)` for major ticks
139 and :cpp:expr:`lv_obj_set_style_length(scale, 5, LV_PART_ITEMS)` for minor ticks. The ticks can be
141 :cpp:expr:`lv_obj_set_style_radial_offset(scale, 5, LV_PART_INDICATOR)` for major ticks and
142 :cpp:expr:`lv_obj_set_style_radial_offset(scale, 5, LV_PART_ITEMS)` for minor.
146 :cpp:expr:`lv_obj_set_style_pad_radial(scale, 5, LV_PART_INDICATOR)`
172 A Section is created using :cpp:expr:`lv_scale_add_section(scale)`, which returns a
178 Next, set the range using :cpp:expr:`lv_scale_section_set_range(section, min, max)`
184 :cpp:expr:`lv_scale_section_set_range(section, 0, -1)`.)
197 :cpp:expr:`lv_scale_section_set_style(section, PART, style_pointer)`, where: