Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_intern.h
| Show All 17 Lines | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| struct ARegion; | struct ARegion; | ||||
| struct AnimationEvalContext; | struct AnimationEvalContext; | ||||
| struct CurveMapping; | struct CurveMapping; | ||||
| struct CurveProfile; | struct CurveProfile; | ||||
| struct IconTextOverlay; | |||||
| struct ID; | struct ID; | ||||
| struct ImBuf; | struct ImBuf; | ||||
| struct Main; | struct Main; | ||||
| struct Scene; | struct Scene; | ||||
| struct bContext; | struct bContext; | ||||
| struct bContextStore; | struct bContextStore; | ||||
| struct uiHandleButtonData; | struct uiHandleButtonData; | ||||
| struct uiLayout; | struct uiLayout; | ||||
| ▲ Show 20 Lines • Show All 236 Lines • ▼ Show 20 Lines | struct uiBut { | ||||
| char *editstr; | char *editstr; | ||||
| double *editval; | double *editval; | ||||
| float *editvec; | float *editvec; | ||||
| uiButPushedStateFunc pushed_state_func; | uiButPushedStateFunc pushed_state_func; | ||||
| const void *pushed_state_arg; | const void *pushed_state_arg; | ||||
| /** Little indicator (e.g., counter) displayed on top of some icons. */ | |||||
| struct IconTextOverlay icon_overlay_text; | |||||
JacquesLucke: I'd probably store the icon overlay text here instead of the number. | |||||
Done Inline Actionsicon_overlay_text JacquesLucke: `icon_overlay_text` | |||||
| /* pointer back */ | /* pointer back */ | ||||
| uiBlock *block; | uiBlock *block; | ||||
| }; | }; | ||||
| /** Derived struct for #UI_BTYPE_NUM */ | /** Derived struct for #UI_BTYPE_NUM */ | ||||
| typedef struct uiButNumber { | typedef struct uiButNumber { | ||||
| uiBut but; | uiBut but; | ||||
| ▲ Show 20 Lines • Show All 1,272 Lines • Show Last 20 Lines | |||||
I'd probably store the icon overlay text here instead of the number.