Blender V5.3
blender::ui::ButtonTypeWithPointerType Struct Reference

#include <UI_interface_c.hh>

Public Member Functions

 ButtonTypeWithPointerType (ButtonType bt)
 ButtonTypeWithPointerType (ButtonType bt, ButPointerType pt)
 ButtonTypeWithPointerType (ButtonType bt, ButPointerType pt, int i)

Public Attributes

ButtonType but_type = ButtonType::But
ButPointerType pointer_type = ButPointerType::None
char bit_index = 0

Detailed Description

Definition at line 640 of file UI_interface_c.hh.

Constructor & Destructor Documentation

◆ ButtonTypeWithPointerType() [1/3]

blender::ui::ButtonTypeWithPointerType::ButtonTypeWithPointerType ( ButtonType bt)
inline

Definition at line 653 of file UI_interface_c.hh.

References but_type.

◆ ButtonTypeWithPointerType() [2/3]

blender::ui::ButtonTypeWithPointerType::ButtonTypeWithPointerType ( ButtonType bt,
ButPointerType pt )
inline

Definition at line 655 of file UI_interface_c.hh.

References but_type, and pointer_type.

◆ ButtonTypeWithPointerType() [3/3]

blender::ui::ButtonTypeWithPointerType::ButtonTypeWithPointerType ( ButtonType bt,
ButPointerType pt,
int i )
inline

Member Data Documentation

◆ bit_index

char blender::ui::ButtonTypeWithPointerType::bit_index = 0

Indicates the bit index when the raw pointed data stores boolean bit values, which is indicated with the #ButPointerType::Bit flag.

Definition at line 651 of file UI_interface_c.hh.

Referenced by ButtonTypeWithPointerType(), and blender::ui::def_but().

◆ but_type

ButtonType blender::ui::ButtonTypeWithPointerType::but_type = ButtonType::But

◆ pointer_type

ButPointerType blender::ui::ButtonTypeWithPointerType::pointer_type = ButPointerType::None

Buttons can access source data with RNA pointers or raw pointers (#Button::poin), when using a raw pointer to numerical values this indicates the underlying type of the source data.

Definition at line 646 of file UI_interface_c.hh.

Referenced by ButtonTypeWithPointerType(), ButtonTypeWithPointerType(), and blender::ui::def_but().


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