# lv_label_private.h (/api/widgets/label/lv_label_private_h)



<RelatedHeaders name="lv_label.h" isPrivate="true" />

<ApiSummary structs="1" />

Structs [#structs]

<ApiMember kind="struct" name="_lv_label_t">
  \_lv_label_t [#_lv_label_t]

  | Member               | Type                                    | Description                                                                |
  | -------------------- | --------------------------------------- | -------------------------------------------------------------------------- |
  | `obj`                | <ApiLink name="lv_obj_t" />             |                                                                            |
  | `text`               | `char *`                                |                                                                            |
  | `translation_tag`    | `char *`                                |                                                                            |
  | `dot`                | `char[3+1]`                             | Bytes that have been replaced with dots                                    |
  | `dot_begin`          | <ApiLink name="uint32_t" />             | Offset where bytes have been replaced with dots                            |
  | `hint`               | <ApiLink name="lv_draw_label_hint_t" /> |                                                                            |
  | `sel_start`          | <ApiLink name="uint32_t" />             |                                                                            |
  | `sel_end`            | <ApiLink name="uint32_t" />             |                                                                            |
  | `size_cache`         | <ApiLink name="lv_point_t" />           | Text size cache                                                            |
  | `offset`             | <ApiLink name="lv_point_t" />           | Text draw position offset                                                  |
  | `long_mode`          | <ApiLink name="lv_label_long_mode_t" /> | Determine what to do with the long texts                                   |
  | `static_txt`         | <ApiLink name="uint8_t" />              | Flag to indicate the text is static                                        |
  | `recolor`            | <ApiLink name="uint8_t" />              | Enable in-line letter re-coloring                                          |
  | `expand`             | <ApiLink name="uint8_t" />              | Ignore real width (used by the library with LV\_LABEL\_LONG\_MODE\_SCROLL) |
  | `invalid_size_cache` | <ApiLink name="uint8_t" />              | 1: Recalculate size and update cache                                       |
  | `need_refr_text`     | <ApiLink name="uint8_t" />              | 1: Refresh text after layout update completion                             |
  | `text_size`          | <ApiLink name="lv_point_t" />           |                                                                            |
</ApiMember>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lv_draw_label_private.h&#x22;, &#x22;lv_obj_private.h&#x22;, &#x22;lv_label.h&#x22;]" transitiveIncludes="[&#x22;lv_anim.h&#x22;, &#x22;lv_area.h&#x22;, &#x22;lv_array.h&#x22;, &#x22;lv_assert.h&#x22;, &#x22;lv_bidi.h&#x22;, &#x22;lv_color.h&#x22;, &#x22;lv_color_op.h&#x22;, &#x22;lv_conf_internal.h&#x22;, &#x22;lv_conf_kconfig.h&#x22;, &#x22;lv_display.h&#x22;, &#x22;lv_draw.h&#x22;, &#x22;lv_draw_arc.h&#x22;, &#x22;lv_draw_blur.h&#x22;, &#x22;lv_draw_buf.h&#x22;, &#x22;lv_draw_image.h&#x22;, &#x22;lv_draw_label.h&#x22;, &#x22;lv_draw_line.h&#x22;, &#x22;lv_draw_rect.h&#x22;, &#x22;lv_draw_triangle.h&#x22;, &#x22;lv_event.h&#x22;, &#x22;lv_ext_data.h&#x22;, &#x22;lv_flex.h&#x22;, &#x22;lv_font.h&#x22;, &#x22;lv_fs.h&#x22;, &#x22;lv_grad.h&#x22;, &#x22;lv_grid.h&#x22;, &#x22;lv_group.h&#x22;, &#x22;lv_image_decoder.h&#x22;, &#x22;lv_image_dsc.h&#x22;, &#x22;lv_indev.h&#x22;, &#x22;lv_layout.h&#x22;, &#x22;lv_ll.h&#x22;, &#x22;lv_log.h&#x22;, &#x22;lv_math.h&#x22;, &#x22;lv_matrix.h&#x22;, &#x22;lv_mem.h&#x22;, &#x22;lv_obj.h&#x22;, &#x22;lv_obj_class.h&#x22;, &#x22;lv_obj_draw.h&#x22;, &#x22;lv_obj_event.h&#x22;, &#x22;lv_obj_pos.h&#x22;, &#x22;lv_obj_property.h&#x22;, &#x22;lv_obj_property_names.h&#x22;, &#x22;lv_obj_scroll.h&#x22;, &#x22;lv_obj_style.h&#x22;, &#x22;lv_obj_style_gen.h&#x22;, &#x22;lv_obj_tree.h&#x22;, &#x22;lv_observer.h&#x22;, &#x22;lv_palette.h&#x22;, &#x22;lv_profiler.h&#x22;, &#x22;lv_profiler_builtin.h&#x22;, &#x22;lv_sprintf.h&#x22;, &#x22;lv_string.h&#x22;, &#x22;lv_style.h&#x22;, &#x22;lv_style_gen.h&#x22;, &#x22;lv_style_properties.h&#x22;, &#x22;lv_symbol_def.h&#x22;, &#x22;lv_text.h&#x22;, &#x22;lv_tick.h&#x22;, &#x22;lv_timer.h&#x22;, &#x22;lv_types.h&#x22;]" />
