|
Blender V5.3
|
#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 |
Definition at line 640 of file UI_interface_c.hh.
|
inline |
Definition at line 653 of file UI_interface_c.hh.
References but_type.
|
inline |
Definition at line 655 of file UI_interface_c.hh.
References but_type, and pointer_type.
|
inline |
Definition at line 657 of file UI_interface_c.hh.
References blender::ui::Bit, bit_index, blender::BLI_assert(), blender::ui::but_pointer_bit_max_index(), but_type, and pointer_type.
| 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().
| ButtonType blender::ui::ButtonTypeWithPointerType::but_type = ButtonType::But |
Definition at line 641 of file UI_interface_c.hh.
Referenced by ButtonTypeWithPointerType(), ButtonTypeWithPointerType(), ButtonTypeWithPointerType(), and blender::ui::def_but().
| 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().