[][src]Module lvgl::widgets::linemeter

Contains Rust bindings for LVGL Line Meter Widget API lv_linemeter

Structs

__BindgenBitfieldUnit
lv_area_t

Represents an area of the screen.

lv_linemeter_ext_t

TYPEDEFS

lv_ll_t

Description of a linked list

lv_realign_t
lv_style_list_t

Constants

LV_LINEMETER_PART_MAIN
LV_LINEMETER_PRECISE
_LV_LINEMETER_PART_REAL_LAST
_LV_LINEMETER_PART_VIRTUAL_LAST

Functions

create

Create a line meter objects

draw_scale
get_angle_offset

Get the offset for the line meter.

get_line_count

Get the scale number of a line meter

get_max_value

Get the maximum value of a line meter

get_min_value

Get the minimum value of a line meter

get_mirror

get the mirror setting for the line meter

get_scale_angle

Get the scale angle of a line meter

get_value

Get the value of a line meter

set_angle_offset

Set the set an offset for the line meter's angles to rotate it.

set_mirror

Set the orientation of the meter growth, clockwise or counterclockwise (mirrored)

set_range

Set minimum and the maximum values of a line meter

set_scale

Set the scale settings of a line meter

set_value

Set a new value on the line meter

Type Definitions

_bindgen_ty_32
lv_align_t
lv_bidi_dir_t
lv_coord_t
lv_design_cb_t

The design callback is used to draw the object on the screen. It accepts the object, a mask area, and the mode in which to draw the object.

lv_design_mode_t
lv_design_res_t
lv_drag_dir_t
lv_event_cb_t

@brief Event callback. Events are used to notify the user of some action being taken on the object. For details, see ::lv_event_t.

lv_event_t
lv_linemeter_part_t
lv_ll_node_t

Dummy type to make handling easier

lv_obj_t
lv_obj_user_data_t
lv_res_t
lv_signal_cb_t
lv_signal_t
lv_state_t