Blender V4.3
uiButDecorator Struct Reference

#include <interface_intern.hh>

Inherits uiBut.

Public Attributes

PointerRNA decorated_rnapoin = {}
 
PropertyRNAdecorated_rnaprop = nullptr
 
int decorated_rnaindex = -1
 
- Public Attributes inherited from uiBut
uiButnext = nullptr
 
uiButprev = nullptr
 
uiLayoutlayout = nullptr
 
int flag = 0
 
int flag2 = 0
 
int drawflag = 0
 
eButType type = eButType(0)
 
eButPointerType pointype = UI_BUT_POIN_NONE
 
short bit = 0
 
short bitnr = 0
 
short retval = 0
 
short strwidth = 0
 
short alignnr = 0
 
short ofs = 0
 
short pos = 0
 
short selsta = 0
 
short selend = 0
 
std::string str
 
std::string drawstr
 
char * placeholder = nullptr
 
rctf rect = {}
 
char * poin = nullptr
 
float hardmin = 0
 
float hardmax = 0
 
float softmin = 0
 
float softmax = 0
 
uchar col [4] = {0}
 
uiButIdentityCompareFunc identity_cmp_func = nullptr
 
uiButHandleFunc func = nullptr
 
void * func_arg1 = nullptr
 
void * func_arg2 = nullptr
 
std::function< void(bContext &)> apply_func
 
uiButHandleNFunc funcN = nullptr
 
void * func_argN = nullptr
 
uiButArgNFree func_argN_free_fn
 
uiButArgNCopy func_argN_copy_fn
 
const bContextStorecontext = nullptr
 
uiButCompleteFunc autocomplete_func = nullptr
 
void * autofunc_arg = nullptr
 
uiButHandleRenameFunc rename_func = nullptr
 
void * rename_arg1 = nullptr
 
void * rename_orig = nullptr
 
std::function< void(std::string &new_name)> rename_full_func = nullptr
 
std::string rename_full_new = ""
 
uiButHandleHoldFunc hold_func = nullptr
 
void * hold_argN = nullptr
 
const char * tip = nullptr
 
uiButToolTipFunc tip_func = nullptr
 
void * tip_arg = nullptr
 
uiFreeArgFunc tip_arg_free = nullptr
 
std::function< std::string(const uiBut *)> tip_label_func
 
uiButToolTipCustomFunc tip_custom_func = nullptr
 
const char * disabled_info = nullptr
 
BIFIconID icon = ICON_NONE
 
eUIEmbossType emboss = UI_EMBOSS
 
RadialDirection pie_dir = UI_RADIAL_NONE
 
bool changed = false
 
uchar unit_type = 0
 
short iconadd = 0
 
float search_weight = 0.0f
 
uiBlockCreateFunc block_create_func = nullptr
 
uiMenuCreateFunc menu_create_func = nullptr
 
uiMenuStepFunc menu_step_func = nullptr
 
PointerRNA rnapoin = {}
 
PropertyRNArnaprop = nullptr
 
int rnaindex = 0
 
wmOperatorTypeoptype = nullptr
 
PointerRNAopptr = nullptr
 
wmOperatorCallContext opcontext = WM_OP_INVOKE_DEFAULT
 
bool operator_never_call = false
 
uchar menu_key = 0
 
ListBase extra_op_icons = {nullptr, nullptr}
 
eWM_DragDataType dragtype = WM_DRAG_ID
 
short dragflag = 0
 
void * dragpoin = nullptr
 
const ImBufimb = nullptr
 
float imb_scale = 0
 
uiHandleButtonDataactive = nullptr
 
uiHandleButtonDatasemi_modal_state = nullptr
 
void * custom_data = nullptr
 
char * editstr = nullptr
 
doubleeditval = nullptr
 
floateditvec = nullptr
 
std::function< bool(const uiBut &)> pushed_state_func
 
IconTextOverlay icon_overlay_text = {}
 
uiBlockblock = nullptr
 

Additional Inherited Members

- Public Member Functions inherited from uiBut
 uiBut ()=default
 
 uiBut (const uiBut &other)=default
 
uiButoperator= (const uiBut &other)=default
 

Detailed Description

Derived struct for UI_BTYPE_DECORATOR Decorators have their own RNA data, using the normal uiBut RNA members has many side-effects.

Definition at line 396 of file interface_intern.hh.

Member Data Documentation

◆ decorated_rnaindex

int uiButDecorator::decorated_rnaindex = -1

◆ decorated_rnapoin

PointerRNA uiButDecorator::decorated_rnapoin = {}

◆ decorated_rnaprop

PropertyRNA* uiButDecorator::decorated_rnaprop = nullptr

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