Blender  V3.3
Public Attributes | List of all members
uiLayout Struct Reference

Public Attributes

uiItem item
 
uiLayoutRootroot
 
bContextStorecontext
 
uiLayoutparent
 
ListBase items
 
char heading [UI_MAX_NAME_STR]
 
uiLayoutchild_items_layout
 
int x
 
int y
 
int w
 
int h
 
float scale [2]
 
short space
 
bool align
 
bool active
 
bool active_default
 
bool activate_init
 
bool enabled
 
bool redalert
 
bool keepaspect
 
bool variable_size
 
char alignment
 
eUIEmbossType emboss
 
float units [2]
 

Detailed Description

Definition at line 137 of file interface_layout.c.

Member Data Documentation

◆ activate_init

bool uiLayout::activate_init

◆ active

bool uiLayout::active

◆ active_default

bool uiLayout::active_default

◆ align

bool uiLayout::align

◆ alignment

char uiLayout::alignment

◆ child_items_layout

uiLayout* uiLayout::child_items_layout

Sub layout to add child items, if not the layout itself.

Definition at line 148 of file interface_layout.c.

Referenced by ui_item_prop_split_layout_hack(), ui_layout_add_but(), ui_layout_find_button_item(), and ui_litem_init_from_parent().

◆ context

bContextStore* uiLayout::context

◆ emboss

eUIEmbossType uiLayout::emboss

◆ enabled

bool uiLayout::enabled

◆ h

int uiLayout::h

◆ heading

char uiLayout::heading[UI_MAX_NAME_STR]

Definition at line 145 of file interface_layout.c.

Referenced by ui_layout_heading_label_add(), and ui_layout_heading_set().

◆ item

uiItem uiLayout::item

◆ items

ListBase uiLayout::items

◆ keepaspect

bool uiLayout::keepaspect

Definition at line 159 of file interface_layout.c.

Referenced by uiLayoutGetKeepAspect(), and uiLayoutSetKeepAspect().

◆ parent

uiLayout* uiLayout::parent

Definition at line 142 of file interface_layout.c.

Referenced by ui_layout_heading_find(), and ui_litem_init_from_parent().

◆ redalert

bool uiLayout::redalert

◆ root

uiLayoutRoot* uiLayout::root

Definition at line 140 of file interface_layout.c.

Referenced by menu_item_enum_opname_menu(), menu_item_enum_rna_menu(), UI_block_layout(), ui_item_array(), ui_item_disabled(), ui_item_enum_expand_exec(), ui_item_layout(), ui_item_menu(), ui_item_menu_hold(), ui_item_menutype_func(), ui_item_paneltype_func(), ui_item_rna_size(), ui_layout_box(), ui_layout_end(), ui_layout_is_radial(), ui_layout_vary_direction(), ui_litem_estimate_box(), ui_litem_estimate_column_flow(), ui_litem_estimate_grid_flow(), ui_litem_init_from_parent(), ui_litem_layout_box(), ui_litem_layout_column_flow(), ui_litem_layout_grid_flow(), ui_litem_layout_radial(), ui_litem_layout_root(), ui_menu_enumpropname(), ui_text_icon_width_ex(), uiItemBooleanO(), uiItemDecoratorR_prop(), uiItemEnumO_ptr(), uiItemEnumO_string(), uiItemEnumO_value(), uiItemEnumR_string_prop(), uiItemFloatO(), uiItemFullO_ptr_ex(), uiItemFullR(), uiItemFullR_with_menu(), uiItemFullR_with_popover(), uiItemIntO(), uiItemL_(), uiItemM_ptr(), uiItemMContents(), uiItemMenuEnumFullO_ptr(), uiItemMenuEnumR_prop(), uiItemO(), uiItemPopoverPanel_ptr(), uiItemS_ex(), uiItemsEnumO(), uiItemsEnumR(), uiItemsFullEnumO(), uiItemsFullEnumO_items(), uiItemSpacer(), uiItemStringO(), uiItemTabsEnumR_prop(), uiItemV(), uiLayoutAbsolute(), uiLayoutColumn(), uiLayoutColumnFlow(), uiLayoutContextCopy(), uiLayoutGetBlock(), uiLayoutGetEmboss(), uiLayoutGetOperatorContext(), uiLayoutGridFlow(), uiLayoutOverlap(), uiLayoutRadial(), uiLayoutRow(), uiLayoutSetContextPointer(), uiLayoutSetFunc(), uiLayoutSetOperatorContext(), and uiLayoutSplit().

◆ scale

float uiLayout::scale[2]

◆ space

short uiLayout::space

◆ units

float uiLayout::units[2]

for fixed width or height to avoid UI size changes

Definition at line 165 of file interface_layout.c.

Referenced by ui_item_estimate(), uiLayoutGetUnitsX(), uiLayoutGetUnitsY(), uiLayoutSetUnitsX(), and uiLayoutSetUnitsY().

◆ variable_size

bool uiLayout::variable_size

For layouts inside grid-flow, they and their items shall never have a fixed maximal size.

Definition at line 161 of file interface_layout.c.

Referenced by ui_layout_variable_size(), and ui_litem_init_from_parent().

◆ w

int uiLayout::w

◆ x

int uiLayout::x

◆ y

int uiLayout::y

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