Blender V5.0
uiViewState Struct Reference

#include <DNA_screen_types.h>

Public Attributes

int custom_height
int scroll_offset
uint16_t flag
char _pad [6]
char search_string [256]

Detailed Description

See uiViewStateLink.

Definition at line 347 of file DNA_screen_types.h.

Member Data Documentation

◆ _pad

char uiViewState::_pad[6]

Definition at line 360 of file DNA_screen_types.h.

◆ 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 352 of file DNA_screen_types.h.

◆ flag

uint16_t uiViewState::flag

Definition at line 359 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 358 of file DNA_screen_types.h.

◆ search_string

char uiViewState::search_string[256]

Definition at line 362 of file DNA_screen_types.h.


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