# lv_bar_private.h (/api/private/widgets/bar/lv_bar_private_h)



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

<ApiSummary structs="2" />

Structs [#structs]

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

  | Member       | Type                                             | Description |
  | ------------ | ------------------------------------------------ | ----------- |
  | `bar`        | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> |             |
  | `anim_start` | `int32_t`                                        |             |
  | `anim_end`   | `int32_t`                                        |             |
  | `anim_state` | `int32_t`                                        |             |
</ApiMember>

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

  | Member             | Type                                    | Description                                             |
  | ------------------ | --------------------------------------- | ------------------------------------------------------- |
  | `obj`              | <ApiLink name="lv_obj_t" />             |                                                         |
  | `cur_value`        | `int32_t`                               | Current value of the bar                                |
  | `min_value`        | `int32_t`                               | Minimum value of the bar                                |
  | `max_value`        | `int32_t`                               | Maximum value of the bar                                |
  | `start_value`      | `int32_t`                               | Start value of the bar                                  |
  | `indic_area`       | <ApiLink name="lv_area_t" />            | Save the indicator area. Might be used by derived types |
  | `val_reversed`     | `bool`                                  | Whether value been reversed                             |
  | `cur_value_anim`   | <ApiLink name="lv_bar_anim_t" />        |                                                         |
  | `start_value_anim` | <ApiLink name="lv_bar_anim_t" />        |                                                         |
  | `mode`             | <ApiLink name="lv_bar_mode_t" />        | Type of bar                                             |
  | `orientation`      | <ApiLink name="lv_bar_orientation_t" /> | Orientation of bar                                      |
</ApiMember>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lv_obj_private.h&#x22;, &#x22;lvgl_public.h&#x22;]" includedBy="[&#x22;lvgl_private.h&#x22;, &#x22;lv_slider_private.h&#x22;]" transitiveIncludes="[&#x22;lv_array.h&#x22;, &#x22;lv_event_private.h&#x22;]" />
