|
Blender V5.0
|
#include <UI_interface_c.hh>
Public Member Functions | |
| uiButTypeWithPointerType (ButType bt) | |
| uiButTypeWithPointerType (ButType bt, ButPointerType pt) | |
| uiButTypeWithPointerType (ButType bt, ButPointerType pt, int i) | |
Public Attributes | |
| ButType | but_type = ButType::But |
| ButPointerType | pointer_type = ButPointerType::None |
| char | bit_index = 0 |
Definition at line 485 of file UI_interface_c.hh.
|
inline |
Definition at line 498 of file UI_interface_c.hh.
References but_type.
|
inline |
Definition at line 500 of file UI_interface_c.hh.
References but_type, and pointer_type.
|
inline |
Definition at line 502 of file UI_interface_c.hh.
References Bit, bit_index, BLI_assert, blender::ui::but_pointer_bit_max_index(), but_type, i, and pointer_type.
| char uiButTypeWithPointerType::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 496 of file UI_interface_c.hh.
Referenced by ui_def_but(), and uiButTypeWithPointerType().
| ButType uiButTypeWithPointerType::but_type = ButType::But |
Definition at line 486 of file UI_interface_c.hh.
Referenced by ui_def_but(), uiButTypeWithPointerType(), uiButTypeWithPointerType(), uiButTypeWithPointerType(), uiDefButBit(), and uiDefIconButBit().
| ButPointerType uiButTypeWithPointerType::pointer_type = ButPointerType::None |
Buttons can access source data with RNA pointers or raw pointers (uiBut::poin), when using a raw pointer to numerical values this indicates the underlying type of the source data.
Definition at line 491 of file UI_interface_c.hh.
Referenced by ui_def_but(), uiButTypeWithPointerType(), uiButTypeWithPointerType(), uiDefButBit(), and uiDefIconButBit().