Blender V4.5
uiButCurveMapping Struct Reference

#include <interface_intern.hh>

Inherits uiBut.

Public Attributes

CurveMappingedit_cumap = nullptr
eButGradientType gradient_type = UI_GRAD_SV
Public Attributes inherited from uiBut
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
blender::StringRef tip
uiButToolTipFunc tip_func = nullptr
void * tip_arg = nullptr
uiFreeArgFunc tip_arg_free = nullptr
std::function< std::string(const uiBut *)> tip_quick_func
uiButToolTipCustomFunc tip_custom_func = nullptr
const char * disabled_info = nullptr
BIFIconID icon = ICON_NONE
blender::ui::EmbossType emboss = blender::ui::EmbossType::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
bool menu_no_hover_open = false
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
BIFIconID drag_preview_icon_id
const ImBufimb = nullptr
float imb_scale = 0
uiHandleButtonDataactive = nullptr
uiHandleButtonDatasemi_modal_state = nullptr
void * custom_data = nullptr
char * editstr = nullptr
double * editval = nullptr
float * editvec = 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
virtual ~uiBut ()=default

Detailed Description

Derived struct for UI_BTYPE_CURVE.

Definition at line 463 of file interface_intern.hh.

Member Data Documentation

◆ edit_cumap

CurveMapping* uiButCurveMapping::edit_cumap = nullptr

◆ gradient_type

eButGradientType uiButCurveMapping::gradient_type = UI_GRAD_SV

Definition at line 465 of file interface_intern.hh.

Referenced by curvemap_buttons_layout(), and ui_draw_but_CURVE().


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