Blender V5.3
blender::ScrGlobalAreaData Struct Reference

#include <DNA_screen_types.h>

Public Attributes

short cur_fixed_height = 0
short size_min = 0
short size_max = 0
GlobalAreaAlign align = GLOBAL_AREA_ALIGN_TOP
GlobalAreaFlag flag = {}
char _pad [2] = {}

Detailed Description

Definition at line 554 of file DNA_screen_types.h.

Member Data Documentation

◆ _pad

char blender::ScrGlobalAreaData::_pad[2] = {}

Definition at line 569 of file DNA_screen_types.h.

◆ align

◆ cur_fixed_height

short blender::ScrGlobalAreaData::cur_fixed_height = 0

Global areas have a non-dynamic size. That means, changing the window size doesn't affect their size at all. However, they can still be 'collapsed', by changing this value. Ignores DPI (ED_area_global_size_y and winx/winy don't).

Definition at line 560 of file DNA_screen_types.h.

Referenced by blender::ED_area_global_size_y(), blender::ED_screen_global_areas_sync(), and blender::screen_global_area_refresh().

◆ flag

◆ size_max

short blender::ScrGlobalAreaData::size_max = 0

◆ size_min

short blender::ScrGlobalAreaData::size_min = 0

For global areas, this is the min and max size they can use depending on if they are 'collapsed' or not.

Definition at line 565 of file DNA_screen_types.h.

Referenced by blender::ED_area_global_min_size_y(), blender::ED_screen_global_areas_sync(), and blender::screen_global_area_refresh().


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