Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_intern.h
| Show First 20 Lines • Show All 123 Lines • ▼ Show 20 Lines | |||||
| /* some buttons display icons only under special conditions | /* some buttons display icons only under special conditions | ||||
| * (e.g. 'x' icon in search menu) - used with ui_but_icon_extra_get */ | * (e.g. 'x' icon in search menu) - used with ui_but_icon_extra_get */ | ||||
| typedef enum uiButExtraIconType { | typedef enum uiButExtraIconType { | ||||
| UI_BUT_ICONEXTRA_NONE = 1, | UI_BUT_ICONEXTRA_NONE = 1, | ||||
| UI_BUT_ICONEXTRA_UNLINK, | UI_BUT_ICONEXTRA_UNLINK, | ||||
| UI_BUT_ICONEXTRA_EYEDROPPER, | UI_BUT_ICONEXTRA_EYEDROPPER, | ||||
| } uiButExtraIconType; | } uiButExtraIconType; | ||||
| /* uiBut->dragflag */ | |||||
| enum { | |||||
| UI_BUT_DRAGPOIN_FREE = (1 << 0), | |||||
| }; | |||||
| /* but->pie_dir */ | /* but->pie_dir */ | ||||
| typedef enum RadialDirection { | typedef enum RadialDirection { | ||||
| UI_RADIAL_NONE = -1, | UI_RADIAL_NONE = -1, | ||||
| UI_RADIAL_N = 0, | UI_RADIAL_N = 0, | ||||
| UI_RADIAL_NE = 1, | UI_RADIAL_NE = 1, | ||||
| UI_RADIAL_E = 2, | UI_RADIAL_E = 2, | ||||
| UI_RADIAL_SE = 3, | UI_RADIAL_SE = 3, | ||||
| UI_RADIAL_S = 4, | UI_RADIAL_S = 4, | ||||
| ▲ Show 20 Lines • Show All 152 Lines • ▼ Show 20 Lines | struct uiBut { | ||||
| /* Operator data */ | /* Operator data */ | ||||
| struct wmOperatorType *optype; | struct wmOperatorType *optype; | ||||
| struct PointerRNA *opptr; | struct PointerRNA *opptr; | ||||
| short opcontext; | short opcontext; | ||||
| unsigned char menu_key; /* 'a'-'z', always lower case */ | unsigned char menu_key; /* 'a'-'z', always lower case */ | ||||
| /* Draggable data, type is WM_DRAG_... */ | /* Draggable data, type is WM_DRAG_... */ | ||||
| char dragtype; | char dragtype; | ||||
| short dragflag; | |||||
| void *dragpoin; | void *dragpoin; | ||||
| struct ImBuf *imb; | struct ImBuf *imb; | ||||
| float imb_scale; | float imb_scale; | ||||
| /* active button data */ | /* active button data */ | ||||
| struct uiHandleButtonData *active; | struct uiHandleButtonData *active; | ||||
| /* Custom button data. */ | /* Custom button data. */ | ||||
| ▲ Show 20 Lines • Show All 409 Lines • Show Last 20 Lines | |||||