Blender V4.5
uiViewState Struct Reference

#include <DNA_screen_types.h>

Public Attributes

int custom_height
int scroll_offset

Detailed Description

See uiViewStateLink.

Definition at line 342 of file DNA_screen_types.h.

Member Data Documentation

◆ custom_height

int uiViewState::custom_height

User set height of the view in unscaled pixels. A value of 0 means no custom height was set and the default should be used.

Definition at line 347 of file DNA_screen_types.h.

◆ scroll_offset

int uiViewState::scroll_offset

Amount of vertical scrolling. View types decide on the unit:

  • Tree views: Number of items scrolled out of view (scroll_offset of 5 means 5 items are scrolled out of view).

Definition at line 353 of file DNA_screen_types.h.


The documentation for this struct was generated from the following file: