lv_obj_style_internal_gen.h
API reference for lv_obj_style_internal_gen.h
Functions
lv_obj_get_style_width_internal
Gets width of Widget. Pixel, percentage and LV_SIZE_CONTENT values can be used. Percentage values are relative to the width of the parent's content area. Default: Widget dependent, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_width_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_min_width_internal
Gets a minimal width. Pixel and percentage values can be used. Percentage values are relative to the width of the parent's content area. Default: 0, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_min_width_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_max_width_internal
Gets a maximal width. Pixel and percentage values can be used. Percentage values are relative to the width of the parent's content area. Default: LV_COORD_MAX, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_max_width_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_height_internal
Gets height of Widget. Pixel, percentage and LV_SIZE_CONTENT can be used. Percentage values are relative to the height of the parent's content area. Default: Widget dependent, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_height_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_min_height_internal
Gets a minimal height. Pixel and percentage values can be used. Percentage values are relative to the height of the parent's content area. Default: 0, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_min_height_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_max_height_internal
Gets a maximal height. Pixel and percentage values can be used. Percentage values are relative to the height of the parent's content area. Default: LV_COORD_MAX, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_max_height_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_length_internal
Its meaning depends on the type of Widget. For example in case of lv_scale it means the length of the ticks. Default: 0, inherited: No, layout: No, ext. draw: Yes.
static int32_t lv_obj_get_style_length_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_x_internal
Get X coordinate of Widget considering the align setting. Pixel and percentage values can be used. Percentage values are relative to the width of the parent's content area. Default: 0, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_x_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_y_internal
Get Y coordinate of Widget considering the align setting. Pixel and percentage values can be used. Percentage values are relative to the height of the parent's content area. Default: 0, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_y_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_align_internal
Get the alignment which tells from which point of the parent the X and Y coordinates should be interpreted. Possible values are: LV_ALIGN_DEFAULT, LV_ALIGN_TOP_LEFT/MID/RIGHT, LV_ALIGN_BOTTOM_LEFT/MID/RIGHT, LV_ALIGN_LEFT/RIGHT_MID, LV_ALIGN_CENTER. LV_ALIGN_DEFAULT means LV_ALIGN_TOP_LEFT with LTR base direction and LV_ALIGN_TOP_RIGHT with RTL base direction. Default: LV_ALIGN_DEFAULT, inherited: No, layout: Yes, ext. draw: No.
static lv_align_t lv_obj_get_style_align_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_transform_width_internal
Make Widget wider on both sides with this value. Pixel and percentage (with lv_pct(x)) values can be used. Percentage values are relative to Widget's width. Default: 0, inherited: No, layout: No, ext. draw: Yes.
static int32_t lv_obj_get_style_transform_width_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_transform_height_internal
Make Widget higher on both sides with this value. Pixel and percentage (with lv_pct(x)) values can be used. Percentage values are relative to Widget's height. Default: 0, inherited: No, layout: No, ext. draw: Yes.
static int32_t lv_obj_get_style_transform_height_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_translate_x_internal
Move Widget with this value in X direction. Applied after layouts, aligns and other positioning. Pixel and percentage (with lv_pct(x)) values can be used. Percentage values are relative to Widget's width. Default: 0, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_translate_x_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_translate_y_internal
Move Widget with this value in Y direction. Applied after layouts, aligns and other positioning. Pixel and percentage (with lv_pct(x)) values can be used. Percentage values are relative to Widget's height. Default: 0, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_translate_y_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_translate_radial_internal
Move object around the centre of the parent object (e.g. around the circumference of a scale). Default: 0, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_translate_radial_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_transform_scale_x_internal
Zoom Widget horizontally. The value 256 (or LV_SCALE_NONE) means normal size, 128 half size, 512 double size, and so on. Default: 0, inherited: No, layout: Yes, ext. draw: Yes.
static int32_t lv_obj_get_style_transform_scale_x_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_transform_scale_y_internal
Zoom Widget vertically. The value 256 (or LV_SCALE_NONE) means normal size, 128 half size, 512 double size, and so on. Default: 0, inherited: No, layout: Yes, ext. draw: Yes.
static int32_t lv_obj_get_style_transform_scale_y_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_transform_rotation_internal
Rotate Widget. The value is interpreted in 0.1 degree units. E.g. 450 means 45 deg. Default: 0, inherited: No, layout: Yes, ext. draw: Yes.
static int32_t lv_obj_get_style_transform_rotation_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_transform_pivot_x_internal
Get pivot point's X coordinate for transformations. Relative to Widget's top left corner. Default: 0, inherited: No, layout: No, ext. draw: No.
static int32_t lv_obj_get_style_transform_pivot_x_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_transform_pivot_y_internal
Get pivot point's Y coordinate for transformations. Relative to Widget's top left corner. Default: 0, inherited: No, layout: No, ext. draw: No.
static int32_t lv_obj_get_style_transform_pivot_y_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_transform_skew_x_internal
Skew Widget horizontally. The value is interpreted in 0.1 degree units. E.g. 450 means 45 deg. Default: 0, inherited: No, layout: Yes, ext. draw: Yes.
static int32_t lv_obj_get_style_transform_skew_x_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_transform_skew_y_internal
Skew Widget vertically. The value is interpreted in 0.1 degree units. E.g. 450 means 45 deg. Default: 0, inherited: No, layout: Yes, ext. draw: Yes.
static int32_t lv_obj_get_style_transform_skew_y_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_pad_top_internal
Gets the padding on the top. It makes the content area smaller in this direction. Default: 0, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_pad_top_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_pad_bottom_internal
Gets the padding on the bottom. It makes the content area smaller in this direction. Default: 0, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_pad_bottom_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_pad_left_internal
Gets the padding on the left. It makes the content area smaller in this direction. Default: 0, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_pad_left_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_pad_right_internal
Gets the padding on the right. It makes the content area smaller in this direction. Default: 0, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_pad_right_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_pad_row_internal
Gets the padding between the rows. Used by the layouts. Default: 0, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_pad_row_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_pad_column_internal
Gets the padding between the columns. Used by the layouts. Default: 0, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_pad_column_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_pad_radial_internal
Pad text labels away from the scale ticks/remainder of the LV_PART_. Default: 0, inherited: No, layout: No, ext. draw: No.
static int32_t lv_obj_get_style_pad_radial_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_margin_top_internal
Gets margin on the top. Widget will keep this space from its siblings in layouts. Default: 0, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_margin_top_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_margin_bottom_internal
Gets margin on the bottom. Widget will keep this space from its siblings in layouts. Default: 0, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_margin_bottom_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_margin_left_internal
Gets margin on the left. Widget will keep this space from its siblings in layouts. Default: 0, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_margin_left_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_margin_right_internal
Gets margin on the right. Widget will keep this space from its siblings in layouts. Default: 0, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_margin_right_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_bg_color_internal
Get background color of Widget. Default: 0xffffff, inherited: No, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_bg_color_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_bg_color_filtered_internal
Get background color of Widget. Default: 0xffffff, inherited: No, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_bg_color_filtered_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_bg_opa_internal
Get opacity of the background. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_TRANSP, inherited: No, layout: No, ext. draw: No.
static lv_opa_t lv_obj_get_style_bg_opa_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_bg_grad_color_internal
Get gradient color of the background. Used only if grad_dir is not LV_GRAD_DIR_NONE. Default: 0x000000, inherited: No, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_bg_grad_color_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_bg_grad_color_filtered_internal
Get gradient color of the background. Used only if grad_dir is not LV_GRAD_DIR_NONE. Default: 0x000000, inherited: No, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_bg_grad_color_filtered_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_bg_grad_dir_internal
Get direction of the gradient of the background. Possible values are LV_GRAD_DIR_NONE/HOR/VER. Default: LV_GRAD_DIR_NONE, inherited: No, layout: No, ext. draw: No.
static lv_grad_dir_t lv_obj_get_style_bg_grad_dir_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_bg_main_stop_internal
Get point from which background color should start for gradients. 0 means to top/left side, 255 the bottom/right side, 128 the center, and so on. Default: 0, inherited: No, layout: No, ext. draw: No.
static int32_t lv_obj_get_style_bg_main_stop_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_bg_grad_stop_internal
Get point from which background's gradient color should start. 0 means to top/left side, 255 the bottom/right side, 128 the center, and so on. Default: 255, inherited: No, layout: No, ext. draw: No.
static int32_t lv_obj_get_style_bg_grad_stop_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_bg_main_opa_internal
Get opacity of the first gradient color. Default: 255, inherited: No, layout: No, ext. draw: No.
static lv_opa_t lv_obj_get_style_bg_main_opa_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_bg_grad_opa_internal
Get opacity of the second gradient color. Default: 255, inherited: No, layout: No, ext. draw: No.
static lv_opa_t lv_obj_get_style_bg_grad_opa_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_bg_grad_internal
Get gradient definition. The pointed instance must exist while Widget is alive. NULL to disable. It wraps BG_GRAD_COLOR, BG_GRAD_DIR, BG_MAIN_STOP and BG_GRAD_STOP into one descriptor and allows creating gradients with more colors as well. If it's set other gradient related properties will be ignored. Default: NULL, inherited: No, layout: No, ext. draw: No.
static const lv_grad_dsc_t * lv_obj_get_style_bg_grad_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_bg_image_src_internal
Get a background image. Can be a pointer to lv_image_dsc_t, a path to a file or an LV_SYMBOL_.... Default: NULL, inherited: No, layout: No, ext. draw: Yes.
static const void * lv_obj_get_style_bg_image_src_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_bg_image_opa_internal
Get opacity of the background image. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: No, layout: No, ext. draw: No.
static lv_opa_t lv_obj_get_style_bg_image_opa_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_bg_image_recolor_internal
Get a color to mix to the background image. Default: 0x000000, inherited: No, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_bg_image_recolor_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_bg_image_recolor_filtered_internal
Get a color to mix to the background image. Default: 0x000000, inherited: No, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_bg_image_recolor_filtered_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_bg_image_recolor_opa_internal
Get intensity of background image recoloring. Value 0, LV_OPA_0 or LV_OPA_TRANSP means no mixing, 255, LV_OPA_100 or LV_OPA_COVER means full recoloring, other values or LV_OPA_10, LV_OPA_20, etc are interpreted proportionally. Default: LV_OPA_TRANSP, inherited: No, layout: No, ext. draw: No.
static lv_opa_t lv_obj_get_style_bg_image_recolor_opa_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_bg_image_tiled_internal
If enabled the background image will be tiled. Possible values are true or false. Default: 0, inherited: No, layout: No, ext. draw: No.
static bool lv_obj_get_style_bg_image_tiled_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_border_color_internal
Get color of the border. Default: 0x000000, inherited: No, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_border_color_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_border_color_filtered_internal
Get color of the border. Default: 0x000000, inherited: No, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_border_color_filtered_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_border_opa_internal
Get opacity of the border. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: No, layout: No, ext. draw: No.
static lv_opa_t lv_obj_get_style_border_opa_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_border_width_internal
Get width of the border. Only pixel values can be used. Default: 0, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_border_width_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_border_side_internal
Get only which side(s) the border should be drawn. Possible values are LV_BORDER_SIDE_NONE/TOP/BOTTOM/LEFT/RIGHT/INTERNAL. OR-ed values can be used as well, e.g. LV_BORDER_SIDE_TOP | LV_BORDER_SIDE_LEFT. Default: LV_BORDER_SIDE_FULL, inherited: No, layout: No, ext. draw: No.
static lv_border_side_t lv_obj_get_style_border_side_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_border_post_internal
Gets whether the border should be drawn before or after the children are drawn. true: after children, false: before children. Default: 0, inherited: No, layout: No, ext. draw: No.
static bool lv_obj_get_style_border_post_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_outline_width_internal
Get width of outline in pixels. Default: 0, inherited: No, layout: No, ext. draw: Yes.
static int32_t lv_obj_get_style_outline_width_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_outline_color_internal
Get color of outline. Default: 0x000000, inherited: No, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_outline_color_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_outline_color_filtered_internal
Get color of outline. Default: 0x000000, inherited: No, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_outline_color_filtered_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_outline_opa_internal
Get opacity of outline. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: No, layout: No, ext. draw: Yes.
static lv_opa_t lv_obj_get_style_outline_opa_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_outline_pad_internal
Get padding of outline, i.e. the gap between Widget and the outline. Default: 0, inherited: No, layout: No, ext. draw: Yes.
static int32_t lv_obj_get_style_outline_pad_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_shadow_width_internal
Get width of the shadow in pixels. The value should be >= 0. Default: 0, inherited: No, layout: No, ext. draw: Yes.
static int32_t lv_obj_get_style_shadow_width_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_shadow_offset_x_internal
Get an offset on the shadow in pixels in X direction. Default: 0, inherited: No, layout: No, ext. draw: Yes.
static int32_t lv_obj_get_style_shadow_offset_x_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_shadow_offset_y_internal
Get an offset on the shadow in pixels in Y direction. Default: 0, inherited: No, layout: No, ext. draw: Yes.
static int32_t lv_obj_get_style_shadow_offset_y_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_shadow_spread_internal
Make shadow calculation to use a larger or smaller rectangle as base. The value can be in pixels to make the area larger/smaller. Default: 0, inherited: No, layout: No, ext. draw: Yes.
static int32_t lv_obj_get_style_shadow_spread_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_shadow_color_internal
Get color of shadow. Default: 0x000000, inherited: No, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_shadow_color_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_shadow_color_filtered_internal
Get color of shadow. Default: 0x000000, inherited: No, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_shadow_color_filtered_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_shadow_opa_internal
Get opacity of shadow. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: No, layout: No, ext. draw: Yes.
static lv_opa_t lv_obj_get_style_shadow_opa_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_image_opa_internal
Get opacity of an image. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: No, layout: No, ext. draw: No.
static lv_opa_t lv_obj_get_style_image_opa_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_image_recolor_internal
Get color to mix with the image. Default: 0x000000, inherited: No, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_image_recolor_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_image_recolor_filtered_internal
Get color to mix with the image. Default: 0x000000, inherited: No, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_image_recolor_filtered_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_image_recolor_opa_internal
Get intensity of color mixing. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: 0, inherited: No, layout: No, ext. draw: No.
static lv_opa_t lv_obj_get_style_image_recolor_opa_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_image_colorkey_internal
Get image colorkey definition. The lv_image_colorkey_t contains two color values: high_color and low_color. the color of pixels ranging from low_color to high_color will be transparent. Default: NULL, inherited: No, layout: No, ext. draw: No.
static const lv_image_colorkey_t * lv_obj_get_style_image_colorkey_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_line_width_internal
Get width of lines in pixels. Default: 0, inherited: No, layout: No, ext. draw: Yes.
static int32_t lv_obj_get_style_line_width_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_line_dash_width_internal
Get width of dashes in pixels. Note that dash works only on horizontal and vertical lines. Default: 0, inherited: No, layout: No, ext. draw: No.
static int32_t lv_obj_get_style_line_dash_width_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_line_dash_gap_internal
Get gap between dashes in pixels. Note that dash works only on horizontal and vertical lines. Default: 0, inherited: No, layout: No, ext. draw: No.
static int32_t lv_obj_get_style_line_dash_gap_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_line_rounded_internal
Make end points of the lines rounded. true: rounded, false: perpendicular line ending. Default: 0, inherited: No, layout: No, ext. draw: No.
static bool lv_obj_get_style_line_rounded_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_line_color_internal
Get color of lines. Default: 0x000000, inherited: No, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_line_color_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_line_color_filtered_internal
Get color of lines. Default: 0x000000, inherited: No, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_line_color_filtered_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_line_opa_internal
Get opacity of lines. Default: LV_OPA_COVER, inherited: No, layout: No, ext. draw: No.
static lv_opa_t lv_obj_get_style_line_opa_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_arc_width_internal
Get width (thickness) of arcs in pixels. Default: 0, inherited: No, layout: No, ext. draw: Yes.
static int32_t lv_obj_get_style_arc_width_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_arc_rounded_internal
Make end points of arcs rounded. true: rounded, false: perpendicular line ending. Default: 0, inherited: No, layout: No, ext. draw: No.
static bool lv_obj_get_style_arc_rounded_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_arc_color_internal
Get color of arc. Default: 0x000000, inherited: No, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_arc_color_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_arc_color_filtered_internal
Get color of arc. Default: 0x000000, inherited: No, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_arc_color_filtered_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_arc_opa_internal
Get opacity of arcs. Default: LV_OPA_COVER, inherited: No, layout: No, ext. draw: No.
static lv_opa_t lv_obj_get_style_arc_opa_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_arc_image_src_internal
Get an image from which arc will be masked out. It's useful to display complex effects on the arcs. Can be a pointer to lv_image_dsc_t or a path to a file. Default: NULL, inherited: No, layout: No, ext. draw: No.
static const void * lv_obj_get_style_arc_image_src_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_text_color_internal
Gets color of text. Default: 0x000000, inherited: Yes, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_text_color_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_text_color_filtered_internal
Gets color of text. Default: 0x000000, inherited: Yes, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_text_color_filtered_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_text_opa_internal
Get opacity of text. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: Yes, layout: No, ext. draw: No.
static lv_opa_t lv_obj_get_style_text_opa_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_text_font_internal
Get font of text (a pointer lv_font_t *). Default: LV_FONT_DEFAULT, inherited: Yes, layout: Yes, ext. draw: No.
static const lv_font_t * lv_obj_get_style_text_font_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_text_letter_space_internal
Get letter space in pixels. Default: 0, inherited: Yes, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_text_letter_space_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_text_line_space_internal
Get line space in pixels. Default: 0, inherited: Yes, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_text_line_space_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_text_decor_internal
Get decoration for the text. Possible values are LV_TEXT_DECOR_NONE/UNDERLINE/STRIKETHROUGH. OR-ed values can be used as well. Default: LV_TEXT_DECOR_NONE, inherited: Yes, layout: No, ext. draw: No.
static lv_text_decor_t lv_obj_get_style_text_decor_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_text_align_internal
Get how to align the lines of the text. Note that it doesn't align the Widget itself, only the lines inside the Widget. Possible values are LV_TEXT_ALIGN_LEFT/CENTER/RIGHT/AUTO. LV_TEXT_ALIGN_AUTO detect the text base direction and uses left or right alignment accordingly. Default: LV_TEXT_ALIGN_AUTO, inherited: Yes, layout: Yes, ext. draw: No.
static lv_text_align_t lv_obj_get_style_text_align_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_text_outline_stroke_color_internal
Gets the color of letter outline stroke. Default: 0x000000, inherited: Yes, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_text_outline_stroke_color_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_text_outline_stroke_color_filtered_internal
Gets the color of letter outline stroke. Default: 0x000000, inherited: Yes, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_text_outline_stroke_color_filtered_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_text_outline_stroke_width_internal
Get the letter outline stroke width in pixels. Default: 0, inherited: Yes, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_text_outline_stroke_width_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_text_outline_stroke_opa_internal
Get the opacity of the letter outline stroke. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: Yes, layout: No, ext. draw: No.
static lv_opa_t lv_obj_get_style_text_outline_stroke_opa_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_text_leading_trim_internal
Get the text leading trim mode. Removes empty space above and/or below text based on font metrics (cap-height, x-height, baseline). Similar to CSS text-box-trim. Possible values are LV_TEXT_LEADING_TRIM_NONE/CAPITAL_BASELINE/LOWER_BASELINE/CAPITAL/LOWER. Default: LV_TEXT_LEADING_TRIM_NONE, inherited: Yes, layout: Yes, ext. draw: No.
static lv_text_leading_trim_t lv_obj_get_style_text_leading_trim_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_blur_radius_internal
Gets the intensity of blurring. Applied on each lv_part separately before the children are rendered. Default: 0, inherited: No, layout: No, ext. draw: No.
static int32_t lv_obj_get_style_blur_radius_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_blur_backdrop_internal
If true the background of the widget will be blurred. The part should have less than 100% opacity to make it visible. If false the given part will be blurred when it's rendered but before drawing the children. Default: false, inherited: No, layout: No, ext. draw: No.
static bool lv_obj_get_style_blur_backdrop_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_blur_quality_internal
Setting to LV_BLUR_QUALITY_SPEED the blurring algorithm will prefer speed over quality. LV_BLUR_QUALITY_PRECISION will force using higher quality but slower blur. With LV_BLUR_QUALITY_AUTO the quality will be selected automatically. Default: LV_BLUR_QUALITY_AUTO, inherited: No, layout: No, ext. draw: No.
static lv_blur_quality_t lv_obj_get_style_blur_quality_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_drop_shadow_radius_internal
Gets the intensity of blurring. Applied on each lv_part separately before the children are rendered. Default: 0, inherited: No, layout: No, ext. draw: Yes.
static int32_t lv_obj_get_style_drop_shadow_radius_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_drop_shadow_offset_x_internal
Get an offset on the shadow in pixels in X direction. Default: 0, inherited: No, layout: No, ext. draw: Yes.
static int32_t lv_obj_get_style_drop_shadow_offset_x_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_drop_shadow_offset_y_internal
Get an offset on the shadow in pixels in Y direction. Default: 0, inherited: No, layout: No, ext. draw: Yes.
static int32_t lv_obj_get_style_drop_shadow_offset_y_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_drop_shadow_color_internal
Get the color of the shadow. Default: 0, inherited: No, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_drop_shadow_color_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_drop_shadow_color_filtered_internal
Get the color of the shadow. Default: 0, inherited: No, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_drop_shadow_color_filtered_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_drop_shadow_opa_internal
Get the opacity of the shadow. Default: 0, inherited: No, layout: No, ext. draw: No.
static lv_opa_t lv_obj_get_style_drop_shadow_opa_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_drop_shadow_quality_internal
Setting to LV_BLUR_QUALITY_SPEED the blurring algorithm will prefer speed over quality. LV_BLUR_QUALITY_PRECISION will force using higher quality but slower blur. With LV_BLUR_QUALITY_AUTO the quality will be selected automatically. Default: LV_BLUR_QUALITY_PRECISION, inherited: No, layout: No, ext. draw: No.
static lv_blur_quality_t lv_obj_get_style_drop_shadow_quality_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_radius_internal
Get radius on every corner. The value is interpreted in pixels (>= 0) or LV_RADIUS_CIRCLE for max radius. Default: 0, inherited: No, layout: No, ext. draw: No.
static int32_t lv_obj_get_style_radius_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_radial_offset_internal
Move start point of object (e.g. scale tick) radially. Default: 0, inherited: No, layout: No, ext. draw: No.
static int32_t lv_obj_get_style_radial_offset_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_clip_corner_internal
Enable clipping of content that overflows rounded corners of parent Widget. Can be true or false. Default: 0, inherited: No, layout: No, ext. draw: No.
static bool lv_obj_get_style_clip_corner_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_opa_internal
Scale down all opacity values of the Widget by this factor. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: Yes, layout: No, ext. draw: No.
static lv_opa_t lv_obj_get_style_opa_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_opa_layered_internal
First draw Widget on the layer, then scale down layer opacity factor. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: Yes, layout: No, ext. draw: No.
static lv_opa_t lv_obj_get_style_opa_layered_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_color_filter_dsc_internal
Mix a color with all colors of the Widget. Default: NULL, inherited: No, layout: No, ext. draw: No.
static const lv_color_filter_dsc_t * lv_obj_get_style_color_filter_dsc_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_color_filter_opa_internal
The intensity of mixing of color filter. Default: LV_OPA_TRANSP, inherited: No, layout: No, ext. draw: No.
static lv_opa_t lv_obj_get_style_color_filter_opa_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_recolor_internal
Get a color to mix to the obj. Default: 0x000000, inherited: No, layout: No, ext. draw: No.
static lv_color_t lv_obj_get_style_recolor_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_recolor_opa_internal
Gets the intensity of color mixing. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent. A value of 255, LV_OPA_100 or LV_OPA_COVER means fully opaque. Intermediate values like LV_OPA_10, LV_OPA_20, etc result in semi-transparency. Default: LV_OPA_TRANSP, inherited: No, layout: No, ext. draw: No.
static lv_opa_t lv_obj_get_style_recolor_opa_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_anim_internal
Animation template for Widget's animation. Should be a pointer to lv_anim_t. The animation parameters are widget specific, e.g. animation time could be the E.g. blink time of the cursor on the Text Area or scroll time of a roller. See Widgets' documentation to learn more. Default: NULL, inherited: No, layout: No, ext. draw: No.
static const lv_anim_t * lv_obj_get_style_anim_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_anim_duration_internal
Animation duration in milliseconds. Its meaning is widget specific. E.g. blink time of the cursor on the Text Area or scroll time of a roller. See Widgets' documentation to learn more. Default: 0, inherited: No, layout: No, ext. draw: No.
static uint32_t lv_obj_get_style_anim_duration_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_transition_internal
An initialized lv_style_transition_dsc_t to describe a transition. Default: NULL, inherited: No, layout: No, ext. draw: No.
static const lv_style_transition_dsc_t * lv_obj_get_style_transition_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_blend_mode_internal
Describes how to blend the colors to the background. Possible values are LV_BLEND_MODE_NORMAL/ADDITIVE/SUBTRACTIVE/MULTIPLY/DIFFERENCE. Default: LV_BLEND_MODE_NORMAL, inherited: No, layout: No, ext. draw: No.
static lv_blend_mode_t lv_obj_get_style_blend_mode_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_layout_internal
Get layout of Widget. Children will be repositioned and resized according to policies set for the layout. For possible values see documentation of the layouts. Default: 0, inherited: No, layout: Yes, ext. draw: No.
static uint16_t lv_obj_get_style_layout_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_base_dir_internal
Get base direction of Widget. Possible values are LV_BIDI_DIR_LTR/RTL/AUTO. Default: LV_BASE_DIR_AUTO, inherited: Yes, layout: Yes, ext. draw: No.
static lv_base_dir_t lv_obj_get_style_base_dir_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_bitmap_mask_src_internal
If set, a layer will be created for the widget and the layer will be masked with this A8 bitmap mask. Default: NULL, inherited: No, layout: No, ext. draw: No.
static const void * lv_obj_get_style_bitmap_mask_src_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_rotary_sensitivity_internal
Adjust sensitivity for rotary encoders in 1/256 unit. It means, 128: slow down the rotary to half, 512: speeds up to double, 256: no change. Default: 256, inherited: Yes, layout: No, ext. draw: No.
static uint32_t lv_obj_get_style_rotary_sensitivity_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_flex_flow_internal
Defines in which direction the flex layout should arrange the children. Default: LV_FLEX_FLOW_NONE, inherited: No, layout: Yes, ext. draw: No.
static lv_flex_flow_t lv_obj_get_style_flex_flow_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_flex_main_place_internal
Defines how to align the children in the direction of flex flow. Default: LV_FLEX_ALIGN_NONE, inherited: No, layout: Yes, ext. draw: No.
static lv_flex_align_t lv_obj_get_style_flex_main_place_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_flex_cross_place_internal
Defines how to align the children perpendicular to the direction of flex flow. Default: LV_FLEX_ALIGN_NONE, inherited: No, layout: Yes, ext. draw: No.
static lv_flex_align_t lv_obj_get_style_flex_cross_place_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_flex_track_place_internal
Defines how to align the tracks of the flow. Default: LV_FLEX_ALIGN_NONE, inherited: No, layout: Yes, ext. draw: No.
static lv_flex_align_t lv_obj_get_style_flex_track_place_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_flex_grow_internal
Defines how much space to take proportionally from the free space of the Widget's track. Default: 0, inherited: No, layout: Yes, ext. draw: No.
static uint8_t lv_obj_get_style_flex_grow_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_grid_column_dsc_array_internal
An array to describe the columns of the grid. Should be LV_GRID_TEMPLATE_LAST terminated. Default: NULL, inherited: No, layout: Yes, ext. draw: No.
static const int32_t * lv_obj_get_style_grid_column_dsc_array_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_grid_column_align_internal
Defines how to distribute the columns. Default: LV_GRID_ALIGN_START, inherited: No, layout: Yes, ext. draw: No.
static lv_grid_align_t lv_obj_get_style_grid_column_align_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_grid_row_dsc_array_internal
An array to describe the rows of the grid. Should be LV_GRID_TEMPLATE_LAST terminated. Default: NULL, inherited: No, layout: Yes, ext. draw: No.
static const int32_t * lv_obj_get_style_grid_row_dsc_array_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_grid_row_align_internal
Defines how to distribute the rows. Default: LV_GRID_ALIGN_START, inherited: No, layout: Yes, ext. draw: No.
static lv_grid_align_t lv_obj_get_style_grid_row_align_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_grid_cell_column_pos_internal
Get column in which Widget should be placed. Default: 0, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_grid_cell_column_pos_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_grid_cell_x_align_internal
Get how to align Widget horizontally. Default: LV_GRID_ALIGN_START, inherited: No, layout: Yes, ext. draw: No.
static lv_grid_align_t lv_obj_get_style_grid_cell_x_align_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_grid_cell_column_span_internal
Get how many columns Widget should span. Needs to be >= 1. Default: 1, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_grid_cell_column_span_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_grid_cell_row_pos_internal
Get row in which Widget should be placed. Default: 0, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_grid_cell_row_pos_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_grid_cell_y_align_internal
Get how to align Widget vertically. Default: LV_GRID_ALIGN_START, inherited: No, layout: Yes, ext. draw: No.
static lv_grid_align_t lv_obj_get_style_grid_cell_y_align_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
lv_obj_get_style_grid_cell_row_span_internal
Get how many rows Widget should span. Needs to be >= 1. Default: 1, inherited: No, layout: Yes, ext. draw: No.
static int32_t lv_obj_get_style_grid_cell_row_span_internal(const lv_obj_t *obj, lv_part_t part)| Name | Type | Description |
|---|---|---|
obj | const lv_obj_t * | Pointer to Widget |
part | lv_part_t | One of the LV_PART_... enum values |
Dependencies
Last updated on