Blender V5.3
blender::uiViewState Struct Reference

#include <DNA_screen_types.h>

Public Attributes

int custom_height = 0
int scroll_offset = 0
uiViewStateFlag flag = {}
char _pad [5] = {}
uint8_t invert_sort_type = 0
char search_string [256] = ""

Detailed Description

See uiViewStateLink.

Definition at line 463 of file DNA_screen_types.h.

Member Data Documentation

◆ _pad

char blender::uiViewState::_pad[5] = {}

Definition at line 476 of file DNA_screen_types.h.

◆ custom_height

int blender::uiViewState::custom_height = 0

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

◆ flag

uiViewStateFlag blender::uiViewState::flag = {}

Definition at line 475 of file DNA_screen_types.h.

◆ invert_sort_type

uint8_t blender::uiViewState::invert_sort_type = 0

Definition at line 477 of file DNA_screen_types.h.

◆ scroll_offset

int blender::uiViewState::scroll_offset = 0

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

◆ search_string

char blender::uiViewState::search_string[256] = ""

Definition at line 478 of file DNA_screen_types.h.


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