|
Blender
V2.59
|
Go to the source code of this file.
Defines | |
| #define | UI_EMBOSS 0 |
| #define | UI_EMBOSSN 1 |
| #define | UI_EMBOSSP 2 |
| #define | UI_EMBOSST 3 |
| #define | UI_DIRECTION (UI_TOP|UI_DOWN|UI_LEFT|UI_RIGHT) |
| #define | UI_TOP 1 |
| #define | UI_DOWN 2 |
| #define | UI_LEFT 4 |
| #define | UI_RIGHT 8 |
| #define | UI_CENTER 16 |
| #define | UI_SHIFT_FLIPPED 32 |
| #define | UI_BLOCK_LOOP 1 |
| #define | UI_BLOCK_REDRAW 2 |
| #define | UI_BLOCK_RET_1 4 |
| #define | UI_BLOCK_NUMSELECT 8 |
| #define | UI_BLOCK_CLIPBOTTOM 32 |
| #define | UI_BLOCK_CLIPTOP 64 |
| #define | UI_BLOCK_MOVEMOUSE_QUIT 128 |
| #define | UI_BLOCK_KEEP_OPEN 256 |
| #define | UI_BLOCK_POPUP 512 |
| #define | UI_BLOCK_OUT_1 1024 |
| #define | UI_BLOCK_NO_FLIP 2048 |
| #define | UI_BLOCK_POPUP_MEMORY 4096 |
| #define | UI_RETURN_CANCEL 1 |
| #define | UI_RETURN_OK 2 |
| #define | UI_RETURN_OUT 4 |
| #define | UI_RETURN_UPDATE 8 |
| #define | UI_PNL_SOLID 2 |
| #define | UI_PNL_CLOSE 32 |
| #define | UI_PNL_SCALE 512 |
| #define | UI_TEXT_LEFT 64 |
| #define | UI_ICON_LEFT 128 |
| #define | UI_ICON_SUBMENU 256 |
| #define | UI_ICON_PREVIEW 512 |
| #define | UI_MAKE_TOP 1024 |
| #define | UI_MAKE_DOWN 2048 |
| #define | UI_MAKE_LEFT 4096 |
| #define | UI_MAKE_RIGHT 8192 |
| #define | UI_BUT_ALIGN (UI_BUT_ALIGN_TOP|UI_BUT_ALIGN_LEFT|UI_BUT_ALIGN_RIGHT|UI_BUT_ALIGN_DOWN) |
| #define | UI_BUT_ALIGN_TOP (1<<14) |
| #define | UI_BUT_ALIGN_LEFT (1<<15) |
| #define | UI_BUT_ALIGN_RIGHT (1<<16) |
| #define | UI_BUT_ALIGN_DOWN (1<<17) |
| #define | UI_BUT_DISABLED (1<<18) |
| #define | UI_BUT_COLOR_LOCK (1<<19) |
| #define | UI_BUT_ANIMATED (1<<20) |
| #define | UI_BUT_ANIMATED_KEY (1<<21) |
| #define | UI_BUT_DRIVEN (1<<22) |
| #define | UI_BUT_REDALERT (1<<23) |
| #define | UI_BUT_INACTIVE (1<<24) |
| #define | UI_BUT_LAST_ACTIVE (1<<25) |
| #define | UI_BUT_UNDO (1<<26) |
| #define | UI_BUT_IMMEDIATE (1<<27) |
| #define | UI_BUT_NO_TOOLTIP (1<<28) |
| #define | UI_BUT_NO_UTF8 (1<<29) |
| #define | UI_BUT_VEC_SIZE_LOCK (1<<30) |
| #define | UI_BUT_COLOR_CUBIC (1<<31) |
| #define | UI_PANEL_WIDTH 340 |
| #define | UI_COMPACT_PANEL_WIDTH 160 |
| #define | UI_DPI_FAC (sqrtf((float)U.dpi) / 8.48528137423857f) |
| #define | UI_DPI_ICON_FAC (((float)U.dpi) / 72.0f) |
| #define | UI_DPI_ICON_SIZE ((float)16 * UI_DPI_ICON_FAC) |
| #define | CHA 32 |
| #define | SHO 64 |
| #define | INT 96 |
| #define | FLO 128 |
| #define | BIT 256 |
| #define | BUTPOIN (128+64+32) |
| #define | BUT (1<<9) |
| #define | ROW (2<<9) |
| #define | TOG (3<<9) |
| #define | SLI (4<<9) |
| #define | NUM (5<<9) |
| #define | TEX (6<<9) |
| #define | TOG3 (7<<9) |
| #define | TOGR (8<<9) |
| #define | TOGN (9<<9) |
| #define | LABEL (10<<9) |
| #define | MENU (11<<9) |
| #define | ICONROW (12<<9) |
| #define | ICONTOG (13<<9) |
| #define | NUMSLI (14<<9) |
| #define | COL (15<<9) |
| #define | IDPOIN (16<<9) |
| #define | HSVSLI (17<<9) |
| #define | SCROLL (18<<9) |
| #define | BLOCK (19<<9) |
| #define | BUTM (20<<9) |
| #define | SEPR (21<<9) |
| #define | LINK (22<<9) |
| #define | INLINK (23<<9) |
| #define | KEYEVT (24<<9) |
| #define | ICONTEXTROW (25<<9) |
| #define | HSVCUBE (26<<9) |
| #define | PULLDOWN (27<<9) |
| #define | ROUNDBOX (28<<9) |
| #define | CHARTAB (29<<9) |
| #define | BUT_COLORBAND (30<<9) |
| #define | BUT_NORMAL (31<<9) |
| #define | BUT_CURVE (32<<9) |
| #define | BUT_TOGDUAL (33<<9) |
| #define | ICONTOGN (34<<9) |
| #define | FTPREVIEW (35<<9) |
| #define | NUMABS (36<<9) |
| #define | TOGBUT (37<<9) |
| #define | OPTION (38<<9) |
| #define | OPTIONN (39<<9) |
| #define | SEARCH_MENU (40<<9) |
| #define | BUT_EXTRA (41<<9) |
| #define | HSVCIRCLE (42<<9) |
| #define | LISTBOX (43<<9) |
| #define | LISTROW (44<<9) |
| #define | HOTKEYEVT (45<<9) |
| #define | BUT_IMAGE (46<<9) |
| #define | HISTOGRAM (47<<9) |
| #define | WAVEFORM (48<<9) |
| #define | VECTORSCOPE (49<<9) |
| #define | PROGRESSBAR (50<<9) |
| #define | BUTTYPE (63<<9) |
| #define | UI_GRAD_SV 0 |
| #define | UI_GRAD_HV 1 |
| #define | UI_GRAD_HS 2 |
| #define | UI_GRAD_H 3 |
| #define | UI_GRAD_S 4 |
| #define | UI_GRAD_V 5 |
| #define | UI_GRAD_V_ALT 9 |
| #define | UI_SCROLL_PRESSED 1 |
| #define | UI_SCROLL_ARROWS 2 |
| #define | UI_SCROLL_NO_OUTLINE 4 |
| #define | UI_ID_RENAME 1 |
| #define | UI_ID_BROWSE 2 |
| #define | UI_ID_ADD_NEW 4 |
| #define | UI_ID_OPEN 8 |
| #define | UI_ID_ALONE 16 |
| #define | UI_ID_DELETE 32 |
| #define | UI_ID_LOCAL 64 |
| #define | UI_ID_AUTO_NAME 128 |
| #define | UI_ID_FAKE_USER 256 |
| #define | UI_ID_PIN 512 |
| #define | UI_ID_BROWSE_RENDER 1024 |
| #define | UI_ID_PREVIEWS 2048 |
| #define | UI_ID_FULL (UI_ID_RENAME|UI_ID_BROWSE|UI_ID_ADD_NEW|UI_ID_OPEN|UI_ID_ALONE|UI_ID_DELETE|UI_ID_LOCAL) |
| #define | UI_LAYOUT_HORIZONTAL 0 |
| #define | UI_LAYOUT_VERTICAL 1 |
| #define | UI_LAYOUT_PANEL 0 |
| #define | UI_LAYOUT_HEADER 1 |
| #define | UI_LAYOUT_MENU 2 |
| #define | UI_LAYOUT_TOOLBAR 3 |
| #define | UI_UNIT_X U.widget_unit |
| #define | UI_UNIT_Y U.widget_unit |
| #define | UI_LAYOUT_ALIGN_EXPAND 0 |
| #define | UI_LAYOUT_ALIGN_LEFT 1 |
| #define | UI_LAYOUT_ALIGN_CENTER 2 |
| #define | UI_LAYOUT_ALIGN_RIGHT 3 |
| #define | UI_ITEM_O_RETURN_PROPS 1 |
| #define | UI_ITEM_R_EXPAND 2 |
| #define | UI_ITEM_R_SLIDER 4 |
| #define | UI_ITEM_R_TOGGLE 8 |
| #define | UI_ITEM_R_ICON_ONLY 16 |
| #define | UI_ITEM_R_EVENT 32 |
| #define | UI_ITEM_R_FULL_EVENT 64 |
| #define | UI_ITEM_R_NO_BG 128 |
| #define | UI_ITEM_R_IMMEDIATE 256 |
| #define | UI_LAYOUT_OP_SHOW_TITLE 1 |
| #define | UI_LAYOUT_OP_SHOW_EMPTY 2 |
Typedefs | |
| typedef struct uiBut | uiBut |
| typedef struct uiBlock | uiBlock |
| typedef struct uiPopupBlockHandle | uiPopupBlockHandle |
| typedef struct uiLayout | uiLayout |
| typedef void(* | uiMenuCreateFunc )(struct bContext *C, struct uiLayout *layout, void *arg1) |
| typedef void(* | uiMenuHandleFunc )(struct bContext *C, void *arg, int event) |
| typedef struct uiPopupMenu | uiPopupMenu |
| typedef uiBlock *(* | uiBlockCreateFunc )(struct bContext *C, struct ARegion *ar, void *arg1) |
| typedef void(* | uiBlockCancelFunc )(void *arg1) |
| typedef void(* | uiIDPoinFuncFP )(struct bContext *C, const char *str, struct ID **idpp) |
| typedef void(* | uiIDPoinFunc )(struct bContext *C, struct ID *id, int event) |
| typedef struct uiSearchItems | uiSearchItems |
| typedef void(* | uiButHandleFunc )(struct bContext *C, void *arg1, void *arg2) |
| typedef void(* | uiButHandleRenameFunc )(struct bContext *C, void *arg, char *origstr) |
| typedef void(* | uiButHandleNFunc )(struct bContext *C, void *argN, void *arg2) |
| typedef void(* | uiButCompleteFunc )(struct bContext *C, char *str, void *arg) |
| typedef void(* | uiButSearchFunc )(const struct bContext *C, void *arg, const char *str, uiSearchItems *items) |
| typedef void(* | uiBlockHandleFunc )(struct bContext *C, void *arg, int event) |
| typedef struct AutoComplete | AutoComplete |
Enumerations | |
| enum | { UI_BLOCK_BOUNDS = 1, UI_BLOCK_BOUNDS_TEXT, UI_BLOCK_BOUNDS_POPUP_MOUSE, UI_BLOCK_BOUNDS_POPUP_MENU, UI_BLOCK_BOUNDS_POPUP_CENTER } |
Functions | |
| void | uiEmboss (float x1, float y1, float x2, float y2, int sel) |
| void | uiRoundBox (float minx, float miny, float maxx, float maxy, float rad) |
| void | uiSetRoundBox (int type) |
| int | uiGetRoundBox (void) |
| void | uiRoundRect (float minx, float miny, float maxx, float maxy, float rad) |
| void | uiDrawMenuBox (float minx, float miny, float maxx, float maxy, short flag, short direction) |
| void | uiDrawBoxShadow (unsigned char alpha, float minx, float miny, float maxx, float maxy) |
| void | uiDrawBox (int mode, float minx, float miny, float maxx, float maxy, float rad) |
| void | uiDrawBoxShade (int mode, float minx, float miny, float maxx, float maxy, float rad, float shadetop, float shadedown) |
| void | uiDrawBoxVerticalShade (int mode, float minx, float miny, float maxx, float maxy, float rad, float shadeLeft, float shadeRight) |
| void | uiWidgetScrollDraw (struct uiWidgetColors *wcol, struct rcti *rect, struct rcti *slider, int state) |
| uiPopupMenu * | uiPupMenuBegin (struct bContext *C, const char *title, int icon) |
| void | uiPupMenuEnd (struct bContext *C, struct uiPopupMenu *head) |
| struct uiLayout * | uiPupMenuLayout (uiPopupMenu *head) |
| void | uiPupMenuOkee (struct bContext *C, const char *opname, const char *str,...) |
| void | uiPupMenuSaveOver (struct bContext *C, struct wmOperator *op, const char *filename) |
| void | uiPupMenuNotice (struct bContext *C, const char *str,...) |
| void | uiPupMenuError (struct bContext *C, const char *str,...) |
| void | uiPupMenuReports (struct bContext *C, struct ReportList *reports) |
| void | uiPupMenuInvoke (struct bContext *C, const char *idname) |
| void | uiPupBlock (struct bContext *C, uiBlockCreateFunc func, void *arg) |
| void | uiPupBlockO (struct bContext *C, uiBlockCreateFunc func, void *arg, const char *opname, int opcontext) |
| void | uiPupBlockEx (struct bContext *C, uiBlockCreateFunc func, uiBlockCancelFunc cancel_func, void *arg) |
| void | uiPupBlockClose (struct bContext *C, uiBlock *block) |
| uiBlock * | uiBeginBlock (const struct bContext *C, struct ARegion *region, const char *name, short dt) |
| void | uiEndBlock (const struct bContext *C, uiBlock *block) |
| void | uiDrawBlock (const struct bContext *C, struct uiBlock *block) |
| uiBlock * | uiGetBlock (const char *name, struct ARegion *ar) |
| void | uiBlockSetEmboss (uiBlock *block, char dt) |
| void | uiFreeBlock (const struct bContext *C, uiBlock *block) |
| void | uiFreeBlocks (const struct bContext *C, struct ListBase *lb) |
| void | uiFreeInactiveBlocks (const struct bContext *C, struct ListBase *lb) |
| void | uiFreeActiveButtons (const struct bContext *C, struct bScreen *screen) |
| void | uiBlockSetRegion (uiBlock *block, struct ARegion *region) |
| void | uiBlockSetButLock (uiBlock *block, int val, const char *lockstr) |
| void | uiBlockClearButLock (uiBlock *block) |
| void | uiBlockBeginAlign (uiBlock *block) |
| void | uiBlockEndAlign (uiBlock *block) |
| void | uiBoundsBlock (struct uiBlock *block, int addval) |
| void | uiTextBoundsBlock (uiBlock *block, int addval) |
| void | uiPopupBoundsBlock (uiBlock *block, int addval, int mx, int my) |
| void | uiMenuPopupBoundsBlock (uiBlock *block, int addvall, int mx, int my) |
| void | uiCenteredBoundsBlock (uiBlock *block, int addval) |
| int | uiBlocksGetYMin (struct ListBase *lb) |
| void | uiBlockSetDirection (uiBlock *block, int direction) |
| void | uiBlockFlipOrder (uiBlock *block) |
| void | uiBlockSetFlag (uiBlock *block, int flag) |
| void | uiBlockClearFlag (uiBlock *block, int flag) |
| void | uiBlockSetXOfs (uiBlock *block, int xofs) |
| int | uiButGetRetVal (uiBut *but) |
| void | uiButSetDragID (uiBut *but, struct ID *id) |
| void | uiButSetDragRNA (uiBut *but, struct PointerRNA *ptr) |
| void | uiButSetDragPath (uiBut *but, const char *path) |
| void | uiButSetDragName (uiBut *but, const char *name) |
| void | uiButSetDragValue (uiBut *but) |
| void | uiButSetDragImage (uiBut *but, const char *path, int icon, struct ImBuf *ima, float scale) |
| int | UI_but_active_drop_name (struct bContext *C) |
| void | uiButSetFlag (uiBut *but, int flag) |
| void | uiButClearFlag (uiBut *but, int flag) |
| int | uiButActiveOnly (const struct bContext *C, uiBlock *block, uiBut *but) |
| uiBut * | uiDefBut (uiBlock *block, int type, int retval, const char *str, int x1, int y1, short x2, short y2, void *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefButF (uiBlock *block, int type, int retval, const char *str, int x1, int y1, short x2, short y2, float *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefButBitF (uiBlock *block, int type, int bit, int retval, const char *str, int x1, int y1, short x2, short y2, float *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefButI (uiBlock *block, int type, int retval, const char *str, int x1, int y1, short x2, short y2, int *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefButBitI (uiBlock *block, int type, int bit, int retval, const char *str, int x1, int y1, short x2, short y2, int *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefButS (uiBlock *block, int type, int retval, const char *str, int x1, int y1, short x2, short y2, short *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefButBitS (uiBlock *block, int type, int bit, int retval, const char *str, int x1, int y1, short x2, short y2, short *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefButC (uiBlock *block, int type, int retval, const char *str, int x1, int y1, short x2, short y2, char *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefButBitC (uiBlock *block, int type, int bit, int retval, const char *str, int x1, int y1, short x2, short y2, char *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefButR (uiBlock *block, int type, int retval, const char *str, int x1, int y1, short x2, short y2, struct PointerRNA *ptr, const char *propname, int index, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefButR_prop (uiBlock *block, int type, int retval, const char *str, int x1, int y1, short x2, short y2, struct PointerRNA *ptr, struct PropertyRNA *prop, int index, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefButO (uiBlock *block, int type, const char *opname, int opcontext, const char *str, int x1, int y1, short x2, short y2, const char *tip) |
| uiBut * | uiDefButTextO (uiBlock *block, int type, const char *opname, int opcontext, const char *str, int x1, int y1, short x2, short y2, void *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconBut (uiBlock *block, int type, int retval, int icon, int x1, int y1, short x2, short y2, void *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconButF (uiBlock *block, int type, int retval, int icon, int x1, int y1, short x2, short y2, float *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconButBitF (uiBlock *block, int type, int bit, int retval, int icon, int x1, int y1, short x2, short y2, float *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconButI (uiBlock *block, int type, int retval, int icon, int x1, int y1, short x2, short y2, int *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconButBitI (uiBlock *block, int type, int bit, int retval, int icon, int x1, int y1, short x2, short y2, int *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconButS (uiBlock *block, int type, int retval, int icon, int x1, int y1, short x2, short y2, short *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconButBitS (uiBlock *block, int type, int bit, int retval, int icon, int x1, int y1, short x2, short y2, short *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconButC (uiBlock *block, int type, int retval, int icon, int x1, int y1, short x2, short y2, char *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconButBitC (uiBlock *block, int type, int bit, int retval, int icon, int x1, int y1, short x2, short y2, char *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconButR (uiBlock *block, int type, int retval, int icon, int x1, int y1, short x2, short y2, struct PointerRNA *ptr, const char *propname, int index, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconButR_prop (uiBlock *block, int type, int retval, int icon, int x1, int y1, short x2, short y2, struct PointerRNA *ptr, PropertyRNA *prop, int index, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconButO (uiBlock *block, int type, const char *opname, int opcontext, int icon, int x1, int y1, short x2, short y2, const char *tip) |
| uiBut * | uiDefIconTextBut (uiBlock *block, int type, int retval, int icon, const char *str, int x1, int y1, short x2, short y2, void *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconTextButF (uiBlock *block, int type, int retval, int icon, const char *str, int x1, int y1, short x2, short y2, float *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconTextButBitF (uiBlock *block, int type, int bit, int retval, int icon, const char *str, int x1, int y1, short x2, short y2, float *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconTextButI (uiBlock *block, int type, int retval, int icon, const char *str, int x1, int y1, short x2, short y2, int *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconTextButBitI (uiBlock *block, int type, int bit, int retval, int icon, const char *str, int x1, int y1, short x2, short y2, int *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconTextButS (uiBlock *block, int type, int retval, int icon, const char *str, int x1, int y1, short x2, short y2, short *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconTextButBitS (uiBlock *block, int type, int bit, int retval, int icon, const char *str, int x1, int y1, short x2, short y2, short *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconTextButC (uiBlock *block, int type, int retval, int icon, const char *str, int x1, int y1, short x2, short y2, char *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconTextButBitC (uiBlock *block, int type, int bit, int retval, int icon, const char *str, int x1, int y1, short x2, short y2, char *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconTextButR (uiBlock *block, int type, int retval, int icon, const char *str, int x1, int y1, short x2, short y2, struct PointerRNA *ptr, const char *propname, int index, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconTextButR_prop (uiBlock *block, int type, int retval, int icon, const char *str, int x1, int y1, short x2, short y2, struct PointerRNA *ptr, struct PropertyRNA *prop, int index, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconTextButO (uiBlock *block, int type, const char *opname, int opcontext, int icon, const char *str, int x1, int y1, short x2, short y2, const char *tip) |
| struct PointerRNA * | uiButGetOperatorPtrRNA (uiBut *but) |
| void | uiButSetUnitType (uiBut *but, const int unit_type) |
| int | uiButGetUnitType (uiBut *but) |
| uiBut * | uiDefIDPoinBut (uiBlock *block, uiIDPoinFuncFP func, short blocktype, int retval, const char *str, int x1, int y1, short x2, short y2, void *idpp, const char *tip) |
| int | uiIconFromID (struct ID *id) |
| uiBut * | uiDefPulldownBut (uiBlock *block, uiBlockCreateFunc func, void *arg, const char *str, int x1, int y1, short x2, short y2, const char *tip) |
| uiBut * | uiDefMenuBut (uiBlock *block, uiMenuCreateFunc func, void *arg, const char *str, int x1, int y1, short x2, short y2, const char *tip) |
| uiBut * | uiDefIconTextMenuBut (uiBlock *block, uiMenuCreateFunc func, void *arg, int icon, const char *str, int x1, int y1, short x2, short y2, const char *tip) |
| uiBut * | uiDefIconMenuBut (uiBlock *block, uiMenuCreateFunc func, void *arg, int icon, int x1, int y1, short x2, short y2, const char *tip) |
| uiBut * | uiDefBlockBut (uiBlock *block, uiBlockCreateFunc func, void *func_arg1, const char *str, int x1, int y1, short x2, short y2, const char *tip) |
| uiBut * | uiDefBlockButN (uiBlock *block, uiBlockCreateFunc func, void *argN, const char *str, int x1, int y1, short x2, short y2, const char *tip) |
| uiBut * | uiDefIconBlockBut (uiBlock *block, uiBlockCreateFunc func, void *arg, int retval, int icon, int x1, int y1, short x2, short y2, const char *tip) |
| uiBut * | uiDefIconTextBlockBut (uiBlock *block, uiBlockCreateFunc func, void *arg, int icon, const char *str, int x1, int y1, short x2, short y2, const char *tip) |
| uiBut * | uiDefKeyevtButS (uiBlock *block, int retval, const char *str, int x1, int y1, short x2, short y2, short *spoin, const char *tip) |
| uiBut * | uiDefHotKeyevtButS (uiBlock *block, int retval, const char *str, int x1, int y1, short x2, short y2, short *keypoin, short *modkeypoin, const char *tip) |
| uiBut * | uiDefSearchBut (uiBlock *block, void *arg, int retval, int icon, int maxlen, int x1, int y1, short x2, short y2, float a1, float a2, const char *tip) |
| void | uiBlockPickerButtons (struct uiBlock *block, float *col, float *hsv, float *old, char *hexcol, char mode, short retval) |
| uiBut * | uiDefAutoButR (uiBlock *block, struct PointerRNA *ptr, struct PropertyRNA *prop, int index, const char *name, int icon, int x1, int y1, int x2, int y2) |
| int | uiDefAutoButsRNA (uiLayout *layout, struct PointerRNA *ptr, int(*check_prop)(struct PropertyRNA *), const char label_align) |
| void | uiSetButLink (struct uiBut *but, void **poin, void ***ppoin, short *tot, int from, int to) |
| void | uiComposeLinks (uiBlock *block) |
| uiBut * | uiFindInlink (uiBlock *block, void *poin) |
| int | uiSearchItemAdd (uiSearchItems *items, const char *name, void *poin, int iconid) |
| void | uiButSetSearchFunc (uiBut *but, uiButSearchFunc sfunc, void *arg1, uiButHandleFunc bfunc, void *active) |
| int | uiSearchBoxhHeight (void) |
| void | uiBlockSetHandleFunc (uiBlock *block, uiBlockHandleFunc func, void *arg) |
| void | uiBlockSetButmFunc (uiBlock *block, uiMenuHandleFunc func, void *arg) |
| void | uiBlockSetFunc (uiBlock *block, uiButHandleFunc func, void *arg1, void *arg2) |
| void | uiBlockSetNFunc (uiBlock *block, uiButHandleFunc func, void *argN, void *arg2) |
| void | uiButSetRenameFunc (uiBut *but, uiButHandleRenameFunc func, void *arg1) |
| void | uiButSetFunc (uiBut *but, uiButHandleFunc func, void *arg1, void *arg2) |
| void | uiButSetNFunc (uiBut *but, uiButHandleNFunc func, void *argN, void *arg2) |
| void | uiButSetCompleteFunc (uiBut *but, uiButCompleteFunc func, void *arg) |
| void | uiBlockSetDrawExtraFunc (uiBlock *block, void(*func)(const struct bContext *C, void *, void *, void *, struct rcti *rect), void *arg1, void *arg2) |
| void | uiButSetFocusOnEnter (struct wmWindow *win, uiBut *but) |
| AutoComplete * | autocomplete_begin (const char *startname, int maxlen) |
| void | autocomplete_do_name (AutoComplete *autocpl, const char *name) |
| void | autocomplete_end (AutoComplete *autocpl, char *autoname) |
| void | uiBeginPanels (const struct bContext *C, struct ARegion *ar) |
| void | uiEndPanels (const struct bContext *C, struct ARegion *ar) |
| struct Panel * | uiBeginPanel (struct ScrArea *sa, struct ARegion *ar, uiBlock *block, struct PanelType *pt, int *open) |
| void | uiEndPanel (uiBlock *block, int width, int height) |
| void | UI_add_region_handlers (struct ListBase *handlers) |
| void | UI_add_area_handlers (struct ListBase *handlers) |
| void | UI_add_popup_handlers (struct bContext *C, struct ListBase *handlers, uiPopupBlockHandle *popup) |
| void | UI_remove_popup_handlers (struct ListBase *handlers, uiPopupBlockHandle *popup) |
| void | UI_init (void) |
| void | UI_init_userdef (void) |
| void | UI_exit (void) |
| uiLayout * | uiBlockLayout (uiBlock *block, int dir, int type, int x, int y, int size, int em, struct uiStyle *style) |
| void | uiBlockSetCurLayout (uiBlock *block, uiLayout *layout) |
| void | uiBlockLayoutResolve (uiBlock *block, int *x, int *y) |
| uiBlock * | uiLayoutGetBlock (uiLayout *layout) |
| void | uiLayoutSetFunc (uiLayout *layout, uiMenuHandleFunc handlefunc, void *argv) |
| void | uiLayoutSetContextPointer (uiLayout *layout, const char *name, struct PointerRNA *ptr) |
| const char * | uiLayoutIntrospect (uiLayout *layout) |
| void | uiLayoutOperatorButs (const struct bContext *C, struct uiLayout *layout, struct wmOperator *op, int(*check_prop)(struct PropertyRNA *), const char label_align, const short flag) |
| void | uiLayoutSetOperatorContext (uiLayout *layout, int opcontext) |
| void | uiLayoutSetActive (uiLayout *layout, int active) |
| void | uiLayoutSetEnabled (uiLayout *layout, int enabled) |
| void | uiLayoutSetRedAlert (uiLayout *layout, int redalert) |
| void | uiLayoutSetAlignment (uiLayout *layout, int alignment) |
| void | uiLayoutSetKeepAspect (uiLayout *layout, int keepaspect) |
| void | uiLayoutSetScaleX (uiLayout *layout, float scale) |
| void | uiLayoutSetScaleY (uiLayout *layout, float scale) |
| int | uiLayoutGetOperatorContext (uiLayout *layout) |
| int | uiLayoutGetActive (uiLayout *layout) |
| int | uiLayoutGetEnabled (uiLayout *layout) |
| int | uiLayoutGetRedAlert (uiLayout *layout) |
| int | uiLayoutGetAlignment (uiLayout *layout) |
| int | uiLayoutGetKeepAspect (uiLayout *layout) |
| int | uiLayoutGetWidth (uiLayout *layout) |
| float | uiLayoutGetScaleX (uiLayout *layout) |
| float | uiLayoutGetScaleY (uiLayout *layout) |
| uiLayout * | uiLayoutRow (uiLayout *layout, int align) |
| uiLayout * | uiLayoutColumn (uiLayout *layout, int align) |
| uiLayout * | uiLayoutColumnFlow (uiLayout *layout, int number, int align) |
| uiLayout * | uiLayoutBox (uiLayout *layout) |
| uiLayout * | uiLayoutListBox (uiLayout *layout, struct PointerRNA *ptr, struct PropertyRNA *prop, struct PointerRNA *actptr, struct PropertyRNA *actprop) |
| uiLayout * | uiLayoutAbsolute (uiLayout *layout, int align) |
| uiLayout * | uiLayoutSplit (uiLayout *layout, float percentage, int align) |
| uiLayout * | uiLayoutOverlap (uiLayout *layout) |
| uiBlock * | uiLayoutAbsoluteBlock (uiLayout *layout) |
| void | uiTemplateHeader (uiLayout *layout, struct bContext *C, int menus) |
| void | uiTemplateDopeSheetFilter (uiLayout *layout, struct bContext *C, struct PointerRNA *ptr) |
| void | uiTemplateID (uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, const char *propname, const char *newop, const char *openop, const char *unlinkop) |
| void | uiTemplateIDBrowse (uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, const char *propname, const char *newop, const char *openop, const char *unlinkop) |
| void | uiTemplateIDPreview (uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, const char *propname, const char *newop, const char *openop, const char *unlinkop, int rows, int cols) |
| void | uiTemplateAnyID (uiLayout *layout, struct PointerRNA *ptr, const char *propname, const char *proptypename, const char *text) |
| void | uiTemplatePathBuilder (uiLayout *layout, struct PointerRNA *ptr, const char *propname, struct PointerRNA *root_ptr, const char *text) |
| uiLayout * | uiTemplateModifier (uiLayout *layout, struct bContext *C, struct PointerRNA *ptr) |
| uiLayout * | uiTemplateConstraint (uiLayout *layout, struct PointerRNA *ptr) |
| void | uiTemplatePreview (uiLayout *layout, struct ID *id, int show_buttons, struct ID *parent, struct MTex *slot) |
| void | uiTemplateColorRamp (uiLayout *layout, struct PointerRNA *ptr, const char *propname, int expand) |
| void | uiTemplateHistogram (uiLayout *layout, struct PointerRNA *ptr, const char *propname) |
| void | uiTemplateWaveform (uiLayout *layout, struct PointerRNA *ptr, const char *propname) |
| void | uiTemplateVectorscope (uiLayout *layout, struct PointerRNA *ptr, const char *propname) |
| void | uiTemplateCurveMapping (uiLayout *layout, struct PointerRNA *ptr, const char *propname, int type, int levels, int brush) |
| void | uiTemplateColorWheel (uiLayout *layout, struct PointerRNA *ptr, const char *propname, int value_slider, int lock, int lock_luminosity, int cubic) |
| void | uiTemplateLayers (uiLayout *layout, struct PointerRNA *ptr, const char *propname, PointerRNA *used_ptr, const char *used_propname, int active_layer) |
| void | uiTemplateImage (uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, const char *propname, struct PointerRNA *userptr, int compact) |
| void | uiTemplateImageLayers (uiLayout *layout, struct bContext *C, struct Image *ima, struct ImageUser *iuser) |
| void | uiTemplateRunningJobs (uiLayout *layout, struct bContext *C) |
| void | uiTemplateOperatorSearch (uiLayout *layout) |
| void | uiTemplateHeader3D (uiLayout *layout, struct bContext *C) |
| void | uiTemplateEditModeSelection (uiLayout *layout, struct bContext *C) |
| void | uiTemplateTextureImage (uiLayout *layout, struct bContext *C, struct Tex *tex) |
| void | uiTemplateReportsBanner (uiLayout *layout, struct bContext *C) |
| void | uiTemplateList (uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, const char *propname, struct PointerRNA *activeptr, const char *activeprop, int rows, int maxrows, int type) |
| void | uiItemO (uiLayout *layout, const char *name, int icon, const char *opname) |
| void | uiItemEnumO (uiLayout *layout, const char *opname, const char *name, int icon, const char *propname, int value) |
| void | uiItemEnumO_value (uiLayout *layout, const char *name, int icon, const char *opname, const char *propname, int value) |
| void | uiItemEnumO_string (uiLayout *layout, const char *name, int icon, const char *opname, const char *propname, const char *value) |
| void | uiItemsEnumO (uiLayout *layout, const char *opname, const char *propname) |
| void | uiItemBooleanO (uiLayout *layout, const char *name, int icon, const char *opname, const char *propname, int value) |
| void | uiItemIntO (uiLayout *layout, const char *name, int icon, const char *opname, const char *propname, int value) |
| void | uiItemFloatO (uiLayout *layout, const char *name, int icon, const char *opname, const char *propname, float value) |
| void | uiItemStringO (uiLayout *layout, const char *name, int icon, const char *opname, const char *propname, const char *value) |
| PointerRNA | uiItemFullO (uiLayout *layout, const char *idname, const char *name, int icon, struct IDProperty *properties, int context, int flag) |
| void | uiItemR (uiLayout *layout, struct PointerRNA *ptr, const char *propname, int flag, const char *name, int icon) |
| void | uiItemFullR (uiLayout *layout, struct PointerRNA *ptr, struct PropertyRNA *prop, int index, int value, int flag, const char *name, int icon) |
| void | uiItemEnumR (uiLayout *layout, const char *name, int icon, struct PointerRNA *ptr, const char *propname, int value) |
| void | uiItemEnumR_string (uiLayout *layout, struct PointerRNA *ptr, const char *propname, const char *value, const char *name, int icon) |
| void | uiItemsEnumR (uiLayout *layout, struct PointerRNA *ptr, const char *propname) |
| void | uiItemPointerR (uiLayout *layout, struct PointerRNA *ptr, const char *propname, struct PointerRNA *searchptr, const char *searchpropname, const char *name, int icon) |
| void | uiItemsFullEnumO (uiLayout *layout, const char *opname, const char *propname, struct IDProperty *properties, int context, int flag) |
| void | uiItemL (uiLayout *layout, const char *name, int icon) |
| void | uiItemLDrag (uiLayout *layout, struct PointerRNA *ptr, const char *name, int icon) |
| void | uiItemM (uiLayout *layout, struct bContext *C, const char *menuname, const char *name, int icon) |
| void | uiItemV (uiLayout *layout, const char *name, int icon, int argval) |
| void | uiItemS (uiLayout *layout) |
| void | uiItemMenuF (uiLayout *layout, const char *name, int icon, uiMenuCreateFunc func, void *arg) |
| void | uiItemMenuEnumO (uiLayout *layout, const char *opname, const char *propname, const char *name, int icon) |
| void | uiItemMenuEnumR (uiLayout *layout, struct PointerRNA *ptr, const char *propname, const char *name, int icon) |
| void | UI_buttons_operatortypes (void) |
| void | uiContextActiveProperty (const struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA **prop, int *index) |
| void | uiContextAnimUpdate (const struct bContext *C) |
| void | uiFileBrowseContextProperty (const struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA **prop) |
| void | uiIDContextProperty (struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA **prop) |
| void | uiStyleFontSet (struct uiFontStyle *fs) |
| void | uiStyleFontDrawExt (struct uiFontStyle *fs, struct rcti *rect, const char *str, float *r_xofs, float *r_yofs) |
| void | uiStyleFontDraw (struct uiFontStyle *fs, struct rcti *rect, const char *str) |
| void | uiStyleFontDrawRotated (struct uiFontStyle *fs, struct rcti *rect, const char *str) |
| int | UI_GetStringWidth (const char *str) |
| void | UI_DrawString (float x, float y, const char *str) |
| void | UI_DrawTriIcon (float x, float y, char dir) |
| void | UI_template_fix_linking (void) |
Variables | |
| enum { ... } | eBlockBoundsCalc |
Definition in file UI_interface.h.
| #define BIT 256 |
Definition at line 183 of file UI_interface.h.
Referenced by draw_actuatorbuttons(), ui_def_but(), uiDefButBit(), uiDefIconButBit(), and uiDefIconTextButBit().
| #define BLOCK (19<<9) |
Definition at line 205 of file UI_interface.h.
Referenced by button_activate_state(), ui_apply_button(), ui_blockopen_begin(), ui_def_but(), ui_do_button(), ui_draw_but(), ui_handle_menu_event(), ui_menu_block_set_keyaccels(), ui_popup_block_create(), uiDefBlockBut(), uiDefBlockButN(), uiDefIconBlockBut(), and uiDefIconTextBlockBut().
| #define BUT (1<<9) |
Definition at line 187 of file UI_interface.h.
Referenced by ANIM_uiTemplate_fmodifier_draw(), colorband_buttons_large(), colorband_buttons_small(), curvemap_buttons_layout(), draw_actuatorbuttons(), draw_constraint(), draw_modifier(), draw_modifier__envelope(), file_draw_buttons(), gp_drawui_layer(), graph_panel_drivers(), graph_panel_modifiers(), logic_buttons(), nla_panel_modifiers(), node_draw_group(), node_shader_buts_dynamic(), outliner_draw_restrictbuts(), template_ID(), ui_apply_button(), ui_but_menu(), ui_def_but(), ui_do_button(), ui_draw_but(), ui_handle_menu_event(), ui_is_but_sel(), ui_item_with_label(), ui_menu_block_set_keyaccels(), uiblock_layer_pass_arrow_buttons(), uiBlockPicker(), uiItemFullO(), uiTemplateImage(), uiTemplateReportsBanner(), uiTemplateRunningJobs(), view3d_panel_vgroup(), widget_draw_text_icon(), and wm_block_dialog_create().
| #define BUT_COLORBAND (30<<9) |
Definition at line 216 of file UI_interface.h.
Referenced by colorband_buttons_large(), colorband_buttons_small(), ui_apply_button(), ui_but_copy_paste(), ui_do_button(), ui_draw_but(), and ui_numedit_begin().
| #define BUT_CURVE (32<<9) |
Definition at line 218 of file UI_interface.h.
Referenced by button_activate_init(), curvemap_buttons_layout(), ui_apply_button(), ui_do_button(), ui_draw_but(), and ui_numedit_begin().
| #define BUT_EXTRA (41<<9) |
Definition at line 228 of file UI_interface.h.
Referenced by ui_draw_but(), and uiTemplatePreview().
| #define BUT_IMAGE (46<<9) |
Definition at line 233 of file UI_interface.h.
Referenced by ui_apply_button(), ui_do_button(), ui_draw_but(), and wm_block_create_splash().
| #define BUT_NORMAL (31<<9) |
Definition at line 217 of file UI_interface.h.
Referenced by node_buts_normal(), ui_apply_button(), ui_do_button(), ui_draw_but(), ui_item_array(), and ui_numedit_begin().
| #define BUT_TOGDUAL (33<<9) |
Definition at line 219 of file UI_interface.h.
Referenced by logic_buttons(), ui_apply_but_TOG(), ui_apply_button(), ui_check_but(), ui_def_but(), ui_do_button(), ui_is_but_sel(), widget_draw_icon(), and widget_draw_text_icon().
| #define BUTM (20<<9) |
Definition at line 206 of file UI_interface.h.
Referenced by actuator_menu(), controller_menu(), curvemap_brush_tools_func(), curvemap_tools_func(), dummy_viewmenu(), object_state_mask_menu(), sensor_menu(), ui_apply_but_func(), ui_apply_button(), ui_block_func_ICONROW(), ui_block_func_ICONTEXTROW(), ui_block_func_MENUSTR(), ui_def_but(), ui_do_button(), ui_draw_but(), and uiItemV().
| #define BUTPOIN (128+64+32) |
Definition at line 185 of file UI_interface.h.
Referenced by ui_def_but().
| #define BUTTYPE (63<<9) |
Definition at line 239 of file UI_interface.h.
Referenced by ui_def_but().
| #define CHA 32 |
Definition at line 178 of file UI_interface.h.
| #define CHARTAB (29<<9) |
Definition at line 215 of file UI_interface.h.
Referenced by ui_apply_button(), and ui_do_button().
| #define COL (15<<9) |
Definition at line 201 of file UI_interface.h.
| #define FLO 128 |
Definition at line 181 of file UI_interface.h.
| #define FTPREVIEW (35<<9) |
Definition at line 221 of file UI_interface.h.
Referenced by ui_def_but().
| #define HISTOGRAM (47<<9) |
Definition at line 234 of file UI_interface.h.
Referenced by ui_apply_button(), ui_do_button(), ui_draw_but(), and uiTemplateHistogram().
| #define HOTKEYEVT (45<<9) |
Definition at line 232 of file UI_interface.h.
Referenced by button_activate_init(), ui_apply_button(), ui_check_but(), ui_do_button(), ui_is_but_sel(), ui_item_with_label(), and uiDefHotKeyevtButS().
| #define HSVCIRCLE (42<<9) |
Definition at line 229 of file UI_interface.h.
Referenced by circle_picker(), ui_apply_button(), ui_check_but(), ui_do_button(), ui_draw_but(), ui_is_a_warp_but(), ui_numedit_begin(), and uiTemplateColorWheel().
| #define HSVCUBE (26<<9) |
Definition at line 212 of file UI_interface.h.
Referenced by circle_picker(), square_picker(), ui_apply_button(), ui_check_but(), ui_do_button(), ui_draw_but(), ui_numedit_begin(), ui_picker_small_wheel_cb(), and uiTemplateColorWheel().
| #define HSVSLI (17<<9) |
Definition at line 203 of file UI_interface.h.
Referenced by ui_apply_button(), ui_but_copy_paste(), ui_check_but(), ui_def_but(), ui_do_button(), ui_draw_but(), ui_get_but_val(), ui_numedit_but_SLI(), ui_set_but_val(), ui_textedit_next_but(), and ui_textedit_prev_but().
| #define ICONROW (12<<9) |
Definition at line 198 of file UI_interface.h.
Referenced by ui_apply_but_BLOCK(), ui_apply_button(), ui_blockopen_begin(), ui_check_but(), ui_do_but_BLOCK(), ui_do_button(), ui_handle_button_return_submenu(), and widget_draw_icon().
| #define ICONTEXTROW (25<<9) |
Definition at line 211 of file UI_interface.h.
Referenced by button_activate_state(), ED_area_header_switchbutton(), ui_apply_autokey_undo(), ui_apply_but_BLOCK(), ui_apply_button(), ui_blockopen_begin(), ui_check_but(), ui_do_but_BLOCK(), ui_do_button(), ui_draw_but(), ui_handle_button_return_submenu(), widget_draw_icon(), and widget_draw_text_icon().
| #define ICONTOG (13<<9) |
Definition at line 199 of file UI_interface.h.
Referenced by buttons_context_draw(), draw_setting_widget(), logic_buttons(), outliner_draw_restrictbuts(), ui_apply_but_TOG(), ui_apply_button(), ui_check_but(), ui_do_button(), ui_is_but_sel(), uiDefAutoButR(), and v3d_posearmature_buts().
| #define ICONTOGN (34<<9) |
Definition at line 220 of file UI_interface.h.
Referenced by draw_setting_widget(), outliner_draw_restrictbuts(), ui_apply_but_TOG(), ui_apply_button(), ui_check_but(), ui_do_button(), and ui_is_but_sel().
| #define IDPOIN (16<<9) |
Definition at line 202 of file UI_interface.h.
Referenced by ui_apply_button(), UI_but_active_drop_name(), ui_but_copy_paste(), ui_but_drop(), ui_check_but(), ui_def_but(), ui_do_button(), ui_get_but_string(), ui_get_but_string_max_length(), ui_set_but_string(), ui_textedit_next_but(), ui_textedit_prev_but(), ui_tooltip_create(), uiDefAutoButR(), and uiDefIDPoinBut().
| #define INLINK (23<<9) |
Definition at line 209 of file UI_interface.h.
Referenced by logic_buttons(), logic_buttons_new(), ui_add_link(), ui_add_smart_controller(), ui_apply_autokey_undo(), ui_apply_but_LINK(), ui_apply_button(), ui_do_button(), ui_draw_but(), ui_find_inlink(), and ui_handle_button_event().
| #define INT 96 |
Definition at line 180 of file UI_interface.h.
| #define KEYEVT (24<<9) |
Definition at line 210 of file UI_interface.h.
Referenced by ui_apply_button(), ui_check_but(), ui_do_button(), ui_is_but_sel(), ui_item_with_label(), and uiDefKeyevtButS().
| #define LABEL (10<<9) |
Definition at line 196 of file UI_interface.h.
| #define LINK (22<<9) |
Definition at line 208 of file UI_interface.h.
Referenced by cut_links_exec(), logic_buttons(), logic_buttons_new(), ui_add_link(), ui_add_smart_controller(), ui_apply_autokey_undo(), ui_apply_but_LINK(), ui_apply_button(), ui_but_update_linklines(), ui_delete_active_linkline(), ui_do_button(), ui_draw_but(), ui_draw_links(), ui_handle_button_event(), and uiComposeLinks().
| #define LISTBOX (43<<9) |
Definition at line 230 of file UI_interface.h.
Referenced by ui_but_editable(), ui_but_find_mouse_over(), ui_def_but(), ui_do_button(), ui_draw_but(), ui_list_find_mouse_over(), ui_textedit_next_but(), ui_textedit_prev_but(), and uiLayoutListBox().
| #define LISTROW (44<<9) |
Definition at line 231 of file UI_interface.h.
Referenced by file_panel_category(), list_item_row(), ui_apply_but_ROW(), ui_apply_button(), ui_def_but_rna(), ui_do_button(), ui_draw_but(), ui_is_but_sel(), uiTemplateList(), and widget_draw_icon().
| #define MENU (11<<9) |
Definition at line 197 of file UI_interface.h.
Referenced by colorband_buttons_large(), colorband_buttons_small(), draw_actuatorbuttons(), draw_controllerbuttons(), draw_modifier__generator(), draw_sensorbuttons(), logic_buttons(), node_shader_buts_dynamic(), outliner_draw_keymapbuts(), ui_apply_autokey_undo(), ui_apply_but_BLOCK(), ui_apply_button(), ui_blockopen_begin(), ui_check_but(), ui_def_but(), ui_def_but_rna(), ui_do_but_BLOCK(), ui_do_button(), ui_draw_but(), ui_handle_button_return_submenu(), ui_handle_menu_event(), ui_item_menu(), ui_menu_block_set_keyaccels(), ui_tooltip_create(), uiblock_layer_pass_buttons(), uiDefAutoButR(), and uiTemplateHeader3D().
| #define NUM (5<<9) |
Definition at line 191 of file UI_interface.h.
| #define NUMABS (36<<9) |
Definition at line 222 of file UI_interface.h.
Referenced by ui_apply_button(), ui_but_copy_paste(), ui_check_but(), ui_def_but(), ui_do_but_textedit(), ui_do_button(), ui_is_a_warp_but(), ui_set_but_string(), ui_textedit_begin(), ui_textedit_next_but(), ui_textedit_prev_but(), widget_draw_text(), and widget_draw_text_icon().
| #define NUMSLI (14<<9) |
Definition at line 200 of file UI_interface.h.
| #define OPTION (38<<9) |
Definition at line 224 of file UI_interface.h.
Referenced by list_item_row(), outliner_draw_keymapbuts(), ui_apply_button(), ui_but_can_align(), ui_do_button(), ui_draw_but(), ui_is_but_sel(), ui_item_array(), uiDefAutoButR(), and uiItemFullR().
| #define OPTIONN (39<<9) |
Definition at line 225 of file UI_interface.h.
Referenced by ui_apply_but_TOG(), ui_apply_button(), ui_but_can_align(), ui_do_button(), ui_draw_but(), and ui_is_but_sel().
| #define PROGRESSBAR (50<<9) |
Definition at line 237 of file UI_interface.h.
Referenced by ui_but_editable(), ui_def_but(), ui_do_button(), ui_draw_but(), and uiTemplateRunningJobs().
| #define PULLDOWN (27<<9) |
Definition at line 213 of file UI_interface.h.
Referenced by button_activate_state(), ui_apply_button(), ui_block_func_POPUP(), ui_blockopen_begin(), ui_def_but(), ui_do_button(), ui_draw_but(), ui_handle_menu_event(), ui_menu_block_set_keyaccels(), ui_popup_block_create(), ui_tooltip_create(), uiDefIconMenuBut(), uiDefIconTextMenuBut(), uiDefMenuBut(), and uiDefPulldownBut().
| #define ROUNDBOX (28<<9) |
Definition at line 214 of file UI_interface.h.
Referenced by ui_but_editable(), ui_but_find_mouse_over(), ui_def_but(), ui_do_button(), ui_draw_but(), ui_textedit_next_but(), ui_textedit_prev_but(), uiLayoutBox(), and uiTemplateReportsBanner().
| #define ROW (2<<9) |
Definition at line 188 of file UI_interface.h.
| #define SCROLL (18<<9) |
Definition at line 204 of file UI_interface.h.
Referenced by ui_apply_button(), ui_check_but(), ui_def_but(), ui_do_button(), ui_draw_but(), ui_numedit_but_SLI(), and uiTemplateList().
| #define SEARCH_MENU (40<<9) |
Definition at line 227 of file UI_interface.h.
Referenced by button_activate_init(), ui_apply_button(), UI_but_active_drop_name(), ui_but_add_search(), ui_but_copy_paste(), ui_but_drop(), ui_check_but(), ui_def_but(), ui_do_button(), ui_draw_but(), ui_get_but_string(), ui_get_but_string_max_length(), ui_handle_menu_event(), ui_set_but_string(), ui_textedit_begin(), ui_textedit_next_but(), ui_textedit_prev_but(), ui_textedit_set_cursor_pos(), ui_tooltip_create(), uiDefSearchBut(), widget_draw_icon(), and widget_draw_text_icon().
| #define SEPR (21<<9) |
Definition at line 207 of file UI_interface.h.
Referenced by actuator_menu(), controller_menu(), object_state_mask_menu(), sensor_menu(), ui_but_editable(), ui_but_find_mouse_over(), ui_def_but(), ui_draw_but(), ui_handle_menu_event(), ui_text_bounds_block(), ui_textedit_next_but(), ui_textedit_prev_but(), and uiItemS().
| #define SHO 64 |
Definition at line 179 of file UI_interface.h.
Referenced by ui_apply_but_TOG(), ui_apply_but_TOG3(), ui_get_but_val(), ui_set_but_val(), uiDefButBitS(), uiDefButS(), uiDefHotKeyevtButS(), uiDefIconButBitS(), uiDefIconButS(), uiDefIconTextButBitS(), uiDefIconTextButS(), uiDefKeyevtButS(), and widget_draw_text_icon().
| #define SLI (4<<9) |
Definition at line 190 of file UI_interface.h.
Referenced by ui_apply_button(), ui_check_but(), ui_do_but_SLI(), ui_do_button(), widget_draw_text(), and widget_draw_text_icon().
| #define TEX (6<<9) |
Definition at line 192 of file UI_interface.h.
Referenced by draw_actuatorbuttons(), draw_controllerbuttons(), draw_sensorbuttons(), file_draw_buttons(), file_draw_list(), logic_buttons(), node_draw_group(), outliner_buttons(), picker_new_hide_reveal(), template_ID(), ui_apply_button(), UI_but_active_drop_name(), ui_but_copy_paste(), ui_but_drop(), ui_check_but(), ui_def_but(), ui_do_button(), ui_draw_but(), ui_get_but_string(), ui_get_but_string_max_length(), ui_set_but_string(), ui_textedit_next_but(), ui_textedit_prev_but(), ui_textedit_set_cursor_pos(), ui_tooltip_create(), uiBlockPicker(), uiDefAutoButR(), uiLayoutOperatorButs(), widget_draw_text(), and widget_draw_text_icon().
| #define TOG (3<<9) |
Definition at line 189 of file UI_interface.h.
| #define TOG3 (7<<9) |
Definition at line 193 of file UI_interface.h.
Referenced by ui_apply_button(), ui_do_button(), ui_draw_but(), and ui_is_but_sel().
| #define TOGBUT (37<<9) |
Definition at line 223 of file UI_interface.h.
Referenced by ui_apply_button(), ui_do_button(), ui_draw_but(), and ui_is_but_sel().
| #define TOGN (9<<9) |
Definition at line 195 of file UI_interface.h.
Referenced by draw_actuatorbuttons(), ui_apply_but_TOG(), ui_apply_button(), ui_do_button(), ui_draw_but(), ui_is_but_sel(), v3d_editvertex_buts(), and widget_draw_icon().
| #define TOGR (8<<9) |
Definition at line 194 of file UI_interface.h.
Referenced by ui_apply_but_TOG(), ui_apply_button(), ui_do_button(), ui_handle_menu_event(), and ui_is_but_sel().
| #define UI_BLOCK_CLIPBOTTOM 32 |
Definition at line 104 of file UI_interface.h.
Referenced by ui_draw_menu_back(), ui_menu_scroll_test(), and ui_popup_block_scrolltest().
| #define UI_BLOCK_CLIPTOP 64 |
Definition at line 105 of file UI_interface.h.
Referenced by ui_draw_menu_back(), ui_menu_scroll_test(), and ui_popup_block_scrolltest().
| #define UI_BLOCK_KEEP_OPEN 256 |
Definition at line 107 of file UI_interface.h.
Referenced by button_activate_exit(), socket_vector_menu(), ui_block_func_COL(), ui_handle_menu_return_submenu(), wm_block_create_redo(), wm_block_create_splash(), wm_block_dialog_create(), and wm_operator_ui_create().
| #define UI_BLOCK_LOOP 1 |
Definition at line 99 of file UI_interface.h.
Referenced by button_activate_state(), id_search_menu(), operator_search_menu(), tool_search_menu(), ui_block_func_COL(), ui_block_func_POPUP(), ui_def_but(), ui_draw_but(), ui_handle_menu_event(), ui_popup_block_create(), ui_popup_bounds_block(), ui_popup_menu_create(), ui_searchbox_create(), ui_tooltip_create(), uiBeginBlock(), uiButSetSearchFunc(), uiDrawBlock(), uiEndBlock(), widget_draw_icon(), widget_draw_text(), widget_draw_text_icon(), wm_block_create_redo(), wm_block_dialog_create(), wm_block_search_menu(), wm_enum_search_menu(), and wm_operator_ui_create().
| #define UI_BLOCK_MOVEMOUSE_QUIT 128 |
Definition at line 106 of file UI_interface.h.
Referenced by menu_change_shortcut(), ui_block_func_COL(), ui_block_func_ICONROW(), ui_block_func_ICONTEXTROW(), ui_block_func_MENUSTR(), ui_block_func_POPUP(), ui_handle_menu_event(), wm_block_create_redo(), wm_block_dialog_create(), wm_block_search_menu(), wm_enum_search_menu(), and wm_operator_ui_create().
| #define UI_BLOCK_NO_FLIP 2048 |
Definition at line 110 of file UI_interface.h.
Referenced by ui_block_func_MENUSTR(), ui_popup_menu_create(), uiBlockFlipOrder(), uiItemsEnumR(), and uiItemsFullEnumO().
| #define UI_BLOCK_NUMSELECT 8 |
Definition at line 102 of file UI_interface.h.
Referenced by ui_block_func_POPUP(), ui_handle_menu_event(), ui_popup_block_create(), and uiEndBlock().
| #define UI_BLOCK_OUT_1 1024 |
Definition at line 109 of file UI_interface.h.
Referenced by ui_block_func_COL(), and ui_handle_menu_event().
| #define UI_BLOCK_POPUP 512 |
Definition at line 108 of file UI_interface.h.
Referenced by ui_popup_block_create(), and widget_menu_back().
| #define UI_BLOCK_POPUP_MEMORY 4096 |
Definition at line 111 of file UI_interface.h.
Referenced by button_activate_exit(), ui_block_func_POPUP(), and uiPupMenuBegin().
| #define UI_BLOCK_REDRAW 2 |
Definition at line 100 of file UI_interface.h.
Referenced by id_search_menu(), operator_search_menu(), tool_search_menu(), ui_block_func_COL(), and ui_block_func_POPUP().
| #define UI_BLOCK_RET_1 4 |
Definition at line 101 of file UI_interface.h.
Referenced by id_search_menu(), menu_add_shortcut(), operator_search_menu(), tool_search_menu(), ui_block_func_POPUP(), wm_block_create_redo(), wm_block_dialog_create(), wm_block_search_menu(), wm_enum_search_menu(), and wm_operator_ui_create().
| #define UI_BUT_ALIGN (UI_BUT_ALIGN_TOP|UI_BUT_ALIGN_LEFT|UI_BUT_ALIGN_RIGHT|UI_BUT_ALIGN_DOWN) |
Definition at line 139 of file UI_interface.h.
Referenced by ui_block_do_align_but(), ui_def_but(), uiBlockBeginAlign(), uiBlockEndAlign(), uiBlockFlipOrder(), uiEndBlock(), and widget_roundbox_set().
| #define UI_BUT_ALIGN_DOWN (1<<17) |
Definition at line 143 of file UI_interface.h.
Referenced by ui_block_do_align_but(), uiBlockBeginAlign(), and widget_roundbox_set().
| #define UI_BUT_ALIGN_LEFT (1<<15) |
Definition at line 141 of file UI_interface.h.
Referenced by ui_block_do_align_but(), and widget_roundbox_set().
| #define UI_BUT_ALIGN_RIGHT (1<<16) |
Definition at line 142 of file UI_interface.h.
Referenced by ui_block_do_align_but(), ui_text_label_rightclip(), ui_text_leftclip(), and widget_roundbox_set().
| #define UI_BUT_ALIGN_TOP (1<<14) |
Definition at line 140 of file UI_interface.h.
Referenced by ui_block_do_align_but(), and widget_roundbox_set().
| #define UI_BUT_ANIMATED (1<<20) |
Definition at line 147 of file UI_interface.h.
Referenced by ui_but_anim_flag(), ui_but_menu(), widget_icon_has_anim(), widget_state(), widget_state_numslider(), and widget_swatch().
| #define UI_BUT_ANIMATED_KEY (1<<21) |
Definition at line 148 of file UI_interface.h.
Referenced by ui_but_anim_flag(), ui_but_menu(), widget_icon_has_anim(), widget_state(), widget_state_numslider(), and widget_swatch().
| #define UI_BUT_COLOR_CUBIC (1<<31) |
Definition at line 159 of file UI_interface.h.
Referenced by ui_draw_but_HSVCIRCLE(), ui_numedit_but_HSVCIRCLE(), and uiTemplateColorWheel().
| #define UI_BUT_COLOR_LOCK (1<<19) |
Definition at line 146 of file UI_interface.h.
Referenced by ui_draw_but_HSVCIRCLE(), ui_numedit_but_HSVCIRCLE(), and uiTemplateColorWheel().
| #define UI_BUT_DISABLED (1<<18) |
Definition at line 145 of file UI_interface.h.
Referenced by draw_modifier(), node_draw_group(), template_ID(), ui_def_but(), ui_def_but_operator(), ui_def_but_operator_text(), ui_do_button(), ui_draw_but(), ui_item_disabled(), ui_item_layout(), ui_textedit_next_but(), ui_textedit_prev_but(), ui_tooltip_create(), uiDefAutoButR(), uiEndBlock(), uiTemplateList(), and widget_state_menu_item().
| #define UI_BUT_DRIVEN (1<<22) |
Definition at line 149 of file UI_interface.h.
Referenced by ui_but_anim_flag(), ui_but_menu(), ui_tooltip_create(), widget_icon_has_anim(), widget_state(), widget_state_numslider(), and widget_swatch().
| #define UI_BUT_IMMEDIATE (1<<27) |
Definition at line 154 of file UI_interface.h.
Referenced by button_activate_init(), ui_do_but_HOTKEYEVT(), and ui_item_with_label().
| #define UI_BUT_INACTIVE (1<<24) |
Definition at line 151 of file UI_interface.h.
Referenced by ui_draw_but(), ui_item_layout(), and widget_state_menu_item().
| #define UI_BUT_LAST_ACTIVE (1<<25) |
Definition at line 152 of file UI_interface.h.
Referenced by button_activate_exit(), uiContextActiveProperty(), uiContextAnimUpdate(), uiFileBrowseContextProperty(), and uiIDContextProperty().
| #define UI_BUT_NO_TOOLTIP (1<<28) |
Definition at line 155 of file UI_interface.h.
Referenced by list_item_row(), ui_tooltip_create(), and uiTemplateList().
| #define UI_BUT_NO_UTF8 (1<<29) |
Definition at line 156 of file UI_interface.h.
Referenced by file_draw_buttons(), file_draw_list(), and ui_is_utf8_but().
| #define UI_BUT_REDALERT (1<<23) |
Definition at line 150 of file UI_interface.h.
Referenced by file_draw_buttons(), template_ID(), ui_but_search_test(), uiItemFullO(), uiItemFullR(), widget_icon_has_anim(), widget_state(), and widget_swatch().
| #define UI_BUT_UNDO (1<<26) |
Definition at line 153 of file UI_interface.h.
Referenced by id_search_menu(), ui_apply_autokey_undo(), ui_def_but(), and uiLayoutOperatorButs().
| #define UI_BUT_VEC_SIZE_LOCK (1<<30) |
Definition at line 158 of file UI_interface.h.
Referenced by ui_numedit_but_HSVCIRCLE(), and uiTemplateColorWheel().
| #define UI_CENTER 16 |
Definition at line 91 of file UI_interface.h.
Referenced by menu_add_shortcut(), menu_change_shortcut(), and ui_block_position().
| #define UI_COMPACT_PANEL_WIDTH 160 |
Definition at line 162 of file UI_interface.h.
Referenced by ED_spacetype_text().
| #define UI_DIRECTION (UI_TOP|UI_DOWN|UI_LEFT|UI_RIGHT) |
Definition at line 85 of file UI_interface.h.
Referenced by ui_block_position().
| #define UI_DOWN 2 |
Definition at line 87 of file UI_interface.h.
Referenced by dummy_viewmenu(), id_search_menu(), operator_search_menu(), tool_search_menu(), ui_block_func_POPUP(), ui_block_position(), ui_handle_menu_event(), ui_popup_block_create(), and widget_menu_back().
| #define UI_DPI_FAC (sqrtf((float)U.dpi) / 8.48528137423857f) |
Definition at line 166 of file UI_interface.h.
Referenced by file_font_pointsize(), node_resize_modal(), uiblock_layer_pass_arrow_buttons(), uiTemplateHeader3D(), and uiTemplateImageLayers().
| #define UI_DPI_ICON_FAC (((float)U.dpi) / 72.0f) |
Definition at line 167 of file UI_interface.h.
Referenced by icon_draw_size(), and widget_draw_text_icon().
| #define UI_DPI_ICON_SIZE ((float)16 * UI_DPI_ICON_FAC) |
Definition at line 169 of file UI_interface.h.
Referenced by ui_draw_menu_item(), ui_text_leftclip(), ui_textedit_set_cursor_pos(), and widget_draw_icon().
| #define UI_EMBOSS 0 |
Definition at line 79 of file UI_interface.h.
Referenced by ANIM_channel_draw_widgets(), ANIM_uiTemplate_fmodifier_draw(), buttons_header_buttons(), controller_state_mask_menu(), curvemap_brush_tools_func(), curvemap_buttons_layout(), curvemap_clipping_func(), curvemap_tools_func(), draw_actuatorbuttons(), draw_channel_names(), draw_constraint(), draw_modifier(), draw_nla_channel_list(), draw_outliner(), ED_area_header_standardbuttons(), ED_region_header(), ED_region_panels(), file_draw_buttons(), file_draw_list(), file_panel_category(), gp_drawui_layer(), graph_draw_channel_names(), graph_panel_drivers(), id_search_menu(), list_item_row(), logic_buttons(), logic_buttons_new(), menu_add_shortcut(), menu_change_shortcut(), node_draw_group(), node_uiblocks_init(), operator_search_menu(), outliner_draw_restrictbuts(), script_header_buttons(), socket_vector_menu(), sound_header_buttons(), tool_search_menu(), ui_block_func_COL(), ui_item_menu(), uiItemFullO(), uiItemFullR(), uiTemplateHeader3D(), uiTemplateReportsBanner(), wm_block_create_redo(), wm_block_create_splash(), wm_block_dialog_create(), wm_block_search_menu(), wm_enum_search_menu(), and wm_operator_ui_create().
| #define UI_EMBOSSN 1 |
Definition at line 80 of file UI_interface.h.
Referenced by ANIM_channel_draw_widgets(), ANIM_uiTemplate_fmodifier_draw(), buttons_context_draw(), curvemap_buttons_layout(), draw_constraint(), draw_modifier(), ED_area_header_standardbuttons(), file_panel_category(), gp_drawui_layer(), graph_panel_drivers(), list_item_row(), node_draw_group(), outliner_draw_restrictbuts(), ui_do_but_TEX(), ui_draw_but(), uiItemFullO(), uiItemFullR(), and uiTemplateReportsBanner().
| #define UI_EMBOSSP 2 |
Definition at line 81 of file UI_interface.h.
Referenced by actuator_menu(), controller_menu(), dummy_viewmenu(), object_state_mask_menu(), sensor_menu(), ui_draw_but(), ui_popup_menu_create(), uiPupMenuBegin(), and wm_block_create_splash().
| #define UI_EMBOSST 3 |
Definition at line 82 of file UI_interface.h.
Referenced by outliner_draw_keymapbuts(), and outliner_draw_rnabuts().
| #define UI_GRAD_H 3 |
Definition at line 245 of file UI_interface.h.
Referenced by curvemap_buttons_layout(), ui_draw_but_CURVE(), ui_draw_but_HSVCUBE(), ui_draw_gradient(), and ui_numedit_but_HSVCUBE().
| #define UI_GRAD_HS 2 |
Definition at line 244 of file UI_interface.h.
Referenced by ui_draw_but_HSVCUBE(), ui_draw_gradient(), ui_numedit_but_HSVCUBE(), and uiBlockPicker().
| #define UI_GRAD_HV 1 |
Definition at line 243 of file UI_interface.h.
Referenced by ui_draw_but_HSVCUBE(), ui_draw_gradient(), ui_numedit_but_HSVCUBE(), and uiBlockPicker().
| #define UI_GRAD_S 4 |
Definition at line 246 of file UI_interface.h.
Referenced by ui_draw_but_HSVCUBE(), ui_draw_gradient(), and ui_numedit_but_HSVCUBE().
| #define UI_GRAD_SV 0 |
Definition at line 242 of file UI_interface.h.
Referenced by ui_draw_but_HSVCUBE(), ui_draw_gradient(), ui_numedit_but_HSVCUBE(), and uiBlockPicker().
| #define UI_GRAD_V 5 |
Definition at line 247 of file UI_interface.h.
Referenced by ui_draw_but_HSVCUBE(), ui_draw_gradient(), and ui_numedit_but_HSVCUBE().
| #define UI_GRAD_V_ALT 9 |
Definition at line 249 of file UI_interface.h.
Referenced by circle_picker(), ui_do_but_HSVCUBE(), ui_do_button(), ui_draw_but(), ui_numedit_but_HSVCUBE(), and uiTemplateColorWheel().
| #define UI_ICON_LEFT 128 |
Definition at line 129 of file UI_interface.h.
Referenced by file_panel_category(), template_ID(), ui_but_add_search(), ui_but_mouse_inside_icon(), ui_def_but(), ui_def_but_rna(), uiDefIconBlockBut(), uiDefIconMenuBut(), uiDefIconTextBlockBut(), uiDefIconTextBut(), uiDefIconTextButO(), uiDefIconTextButR(), uiDefIconTextButR_prop(), uiDefIconTextMenuBut(), uiDefSearchBut(), and widget_draw_icon().
| #define UI_ICON_PREVIEW 512 |
Definition at line 131 of file UI_interface.h.
Referenced by template_ID(), and widget_draw_icon().
| #define UI_ICON_SUBMENU 256 |
Definition at line 130 of file UI_interface.h.
Referenced by uiDefIconTextBlockBut(), uiDefIconTextMenuBut(), and widget_draw_icon().
| #define UI_ID_ADD_NEW 4 |
Definition at line 474 of file UI_interface.h.
Referenced by template_ID(), template_id_cb(), and ui_template_id().
| #define UI_ID_ALONE 16 |
Definition at line 476 of file UI_interface.h.
Referenced by template_ID(), and template_id_cb().
| #define UI_ID_AUTO_NAME 128 |
Definition at line 479 of file UI_interface.h.
Referenced by template_id_cb().
| #define UI_ID_BROWSE 2 |
Definition at line 473 of file UI_interface.h.
Referenced by template_ID(), template_id_cb(), uiTemplateID(), uiTemplateIDBrowse(), and uiTemplateIDPreview().
| #define UI_ID_BROWSE_RENDER 1024 |
Definition at line 482 of file UI_interface.h.
| #define UI_ID_DELETE 32 |
Definition at line 477 of file UI_interface.h.
Referenced by template_ID(), template_id_cb(), uiTemplateID(), and uiTemplateIDPreview().
| #define UI_ID_FAKE_USER 256 |
Definition at line 480 of file UI_interface.h.
Referenced by template_id_cb().
| #define UI_ID_FULL (UI_ID_RENAME|UI_ID_BROWSE|UI_ID_ADD_NEW|UI_ID_OPEN|UI_ID_ALONE|UI_ID_DELETE|UI_ID_LOCAL) |
Definition at line 484 of file UI_interface.h.
| #define UI_ID_LOCAL 64 |
Definition at line 478 of file UI_interface.h.
Referenced by template_ID(), and template_id_cb().
| #define UI_ID_OPEN 8 |
Definition at line 475 of file UI_interface.h.
Referenced by template_ID(), template_id_cb(), and ui_template_id().
| #define UI_ID_PIN 512 |
Definition at line 481 of file UI_interface.h.
Referenced by template_id_cb().
| #define UI_ID_PREVIEWS 2048 |
Definition at line 483 of file UI_interface.h.
Referenced by template_ID(), and uiTemplateIDPreview().
| #define UI_ID_RENAME 1 |
Definition at line 472 of file UI_interface.h.
Referenced by template_ID(), uiTemplateID(), uiTemplateIDBrowse(), and uiTemplateIDPreview().
| #define UI_ITEM_O_RETURN_PROPS 1 |
Definition at line 642 of file UI_interface.h.
Referenced by graph_fmodifier_add_invoke(), make_proxy_invoke(), poselib_add_menu_invoke__replacemenu(), uiItemFullO(), and unpack_menu().
| #define UI_ITEM_R_EVENT 32 |
Definition at line 647 of file UI_interface.h.
Referenced by draw_sensor_keyboard(), and ui_item_with_label().
| #define UI_ITEM_R_EXPAND 2 |
Definition at line 643 of file UI_interface.h.
Referenced by curvemap_buttons_layout(), node_composit_buts_blur(), node_composit_buts_channel_matte(), node_composit_buts_color_spill(), node_composit_buts_splitviewer(), node_composit_buts_view_levels(), node_texture_buts_proc(), socket_vector_menu(), uiItemFullR(), uiTemplateImage(), and uiTemplatePreview().
| #define UI_ITEM_R_FULL_EVENT 64 |
Definition at line 648 of file UI_interface.h.
Referenced by menu_add_shortcut(), menu_change_shortcut(), and ui_item_with_label().
| #define UI_ITEM_R_ICON_ONLY 16 |
Definition at line 646 of file UI_interface.h.
Referenced by ANIM_uiTemplate_fmodifier_draw(), draw_constraint(), node_composit_buts_image(), ui_item_with_label(), uiItemFullR(), uiTemplateAnyID(), uiTemplateHeader3D(), and v3d_transform_butsR().
| #define UI_ITEM_R_IMMEDIATE 256 |
Definition at line 650 of file UI_interface.h.
Referenced by menu_add_shortcut(), menu_change_shortcut(), and ui_item_with_label().
| #define UI_ITEM_R_NO_BG 128 |
Definition at line 649 of file UI_interface.h.
Referenced by draw_actuator_header(), draw_controller_header(), draw_sensor_header(), logic_buttons_new(), uiItemFullO(), and uiItemFullR().
| #define UI_ITEM_R_SLIDER 4 |
Definition at line 644 of file UI_interface.h.
Referenced by draw_actuator_constraint(), draw_actuator_motion(), gp_drawui_layer(), node_composit_buts_channel_matte(), node_composit_buts_chroma_matte(), node_composit_buts_color_matte(), node_composit_buts_color_spill(), node_composit_buts_diff_matte(), node_composit_buts_distance_matte(), node_composit_buts_file_output(), node_composit_buts_glare(), node_composit_buts_hue_sat(), node_composit_buts_luma_matte(), node_composit_buts_tonemap(), and uiItemFullR().
| #define UI_ITEM_R_TOGGLE 8 |
Definition at line 645 of file UI_interface.h.
Referenced by draw_actuator_constraint(), draw_actuator_edit_object(), draw_actuator_filter_2d(), draw_actuator_ipo(), draw_actuator_motion(), draw_actuator_random(), draw_controller_python(), draw_modifier__fn_generator(), draw_sensor_collision(), draw_sensor_internal_header(), draw_sensor_keyboard(), draw_sensor_ray(), logic_buttons_new(), uiItemFullR(), and v3d_transform_butsR().
| #define UI_LAYOUT_ALIGN_CENTER 2 |
Definition at line 639 of file UI_interface.h.
Referenced by rna_def_ui_layout().
| #define UI_LAYOUT_ALIGN_EXPAND 0 |
Definition at line 637 of file UI_interface.h.
Referenced by draw_modifier(), gp_drawui_layer(), rna_def_ui_layout(), ui_item_fit(), and ui_layout_vary_direction().
| #define UI_LAYOUT_ALIGN_LEFT 1 |
Definition at line 638 of file UI_interface.h.
Referenced by ANIM_uiTemplate_fmodifier_draw(), buttons_context_draw(), curvemap_buttons_layout(), file_panel_category(), logic_buttons_new(), and rna_def_ui_layout().
| #define UI_LAYOUT_ALIGN_RIGHT 3 |
Definition at line 640 of file UI_interface.h.
Referenced by ANIM_uiTemplate_fmodifier_draw(), curvemap_buttons_layout(), gp_drawui_layer(), and rna_def_ui_layout().
| #define UI_LAYOUT_HEADER 1 |
Definition at line 630 of file UI_interface.h.
Referenced by ED_region_header(), ED_region_panels(), ui_item_menu(), ui_layout_vary_direction(), and ui_litem_layout_root().
| #define UI_LAYOUT_HORIZONTAL 0 |
Definition at line 626 of file UI_interface.h.
Referenced by ED_region_header(), ED_region_panels(), ui_item_enum_expand(), ui_item_local_sublayout(), ui_layout_local_dir(), and uiBlockLayout().
| #define UI_LAYOUT_MENU 2 |
Definition at line 631 of file UI_interface.h.
Referenced by ui_item_menu(), ui_popup_menu_create(), uiBlockLayout(), uiItemFullO(), uiItemFullR(), uiItemL_(), uiItemM(), uiItemMenuEnumO(), uiItemMenuEnumR(), uiItemV(), and uiPupMenuBegin().
| #define UI_LAYOUT_OP_SHOW_EMPTY 2 |
Definition at line 654 of file UI_interface.h.
Referenced by file_panel_operator(), and uiLayoutOperatorButs().
| #define UI_LAYOUT_OP_SHOW_TITLE 1 |
Definition at line 653 of file UI_interface.h.
Referenced by uiLayoutOperatorButs(), wm_block_create_redo(), and wm_block_dialog_create().
| #define UI_LAYOUT_PANEL 0 |
Definition at line 629 of file UI_interface.h.
Referenced by ED_region_panels(), logic_buttons_new(), menu_add_shortcut(), menu_change_shortcut(), node_draw_group(), node_update(), socket_vector_menu(), ui_item_menu(), wm_block_create_redo(), wm_block_create_splash(), wm_block_dialog_create(), and wm_operator_ui_create().
| #define UI_LAYOUT_TOOLBAR 3 |
Definition at line 632 of file UI_interface.h.
Referenced by ED_region_panels(), and uiItemFullO().
| #define UI_LAYOUT_VERTICAL 1 |
Definition at line 627 of file UI_interface.h.
Referenced by ED_region_panels(), logic_buttons_new(), menu_add_shortcut(), menu_change_shortcut(), node_draw_group(), node_update(), socket_vector_menu(), ui_layout_local_dir(), ui_popup_menu_create(), uiPupMenuBegin(), wm_block_create_redo(), wm_block_create_splash(), wm_block_dialog_create(), and wm_operator_ui_create().
| #define UI_LEFT 4 |
Definition at line 88 of file UI_interface.h.
Referenced by ui_block_position(), and ui_popup_block_create().
| #define UI_MAKE_DOWN 2048 |
Definition at line 134 of file UI_interface.h.
Referenced by ui_popup_block_create().
| #define UI_MAKE_LEFT 4096 |
Definition at line 135 of file UI_interface.h.
Referenced by ui_popup_block_create().
| #define UI_MAKE_RIGHT 8192 |
Definition at line 136 of file UI_interface.h.
Referenced by ui_popup_block_create().
| #define UI_MAKE_TOP 1024 |
Definition at line 133 of file UI_interface.h.
Referenced by ui_popup_block_create().
| #define UI_PANEL_WIDTH 340 |
Definition at line 161 of file UI_interface.h.
Referenced by ED_region_panels().
| #define UI_PNL_CLOSE 32 |
Definition at line 123 of file UI_interface.h.
Referenced by ui_draw_aligned_panel(), ui_draw_aligned_panel_header(), and ui_handle_panel_header().
| #define UI_PNL_SCALE 512 |
Definition at line 124 of file UI_interface.h.
Referenced by ui_draw_aligned_panel(), and ui_handler_panel_region().
| #define UI_PNL_SOLID 2 |
Definition at line 122 of file UI_interface.h.
Referenced by ui_draw_aligned_panel().
| #define UI_RETURN_CANCEL 1 |
Definition at line 114 of file UI_interface.h.
Referenced by button_activate_exit(), ui_handle_button_return_submenu(), ui_handle_menu_event(), and ui_handle_menu_return_submenu().
| #define UI_RETURN_OK 2 |
Definition at line 115 of file UI_interface.h.
Referenced by button_activate_exit(), close_popup_cb(), ui_handle_button_return_submenu(), ui_handle_menu_event(), ui_handle_menu_return_submenu(), and ui_handler_popup().
| #define UI_RETURN_OUT 4 |
Definition at line 116 of file UI_interface.h.
Referenced by ui_handle_button_return_submenu(), and ui_handle_menu_event().
| #define UI_RETURN_UPDATE 8 |
Definition at line 117 of file UI_interface.h.
Referenced by do_hex_rna_cb(), do_hsv_rna_cb(), do_picker_rna_cb(), ui_handle_button_return_submenu(), ui_handle_menu_event(), ui_handle_menu_return_submenu(), and ui_picker_small_wheel_cb().
| #define UI_RIGHT 8 |
Definition at line 89 of file UI_interface.h.
Referenced by curvemap_brush_tools_func(), curvemap_clipping_func(), curvemap_tools_func(), ui_block_func_POPUP(), ui_block_position(), ui_handle_menu_event(), and ui_popup_block_create().
| #define UI_SCROLL_ARROWS 2 |
Definition at line 269 of file UI_interface.h.
Referenced by UI_view2d_scrollers_draw(), and uiWidgetScrollDraw().
| #define UI_SCROLL_NO_OUTLINE 4 |
Definition at line 270 of file UI_interface.h.
Referenced by uiWidgetScrollDraw(), and widget_progressbar().
| #define UI_SCROLL_PRESSED 1 |
Definition at line 268 of file UI_interface.h.
Referenced by draw_textscroll(), UI_view2d_scrollers_draw(), uiWidgetScrollDraw(), and widget_scroll().
| #define UI_SHIFT_FLIPPED 32 |
Definition at line 92 of file UI_interface.h.
Referenced by ui_block_position(), and ui_popup_block_create().
| #define UI_TEXT_LEFT 64 |
Definition at line 128 of file UI_interface.h.
Referenced by file_panel_category(), ui_block_func_ICONTEXTROW(), ui_block_func_MENUSTR(), ui_but_add_search(), ui_def_but(), ui_draw_but(), ui_item_enum_expand(), ui_item_menu(), uiDefSearchBut(), uiItemFullO(), uiItemsEnumR(), uiItemsFullEnumO(), uiPupMenuBegin(), widget_draw_text(), and widget_draw_text_icon().
| #define UI_TOP 1 |
Definition at line 86 of file UI_interface.h.
Referenced by actuator_menu(), controller_menu(), controller_state_mask_menu(), dummy_viewmenu(), node_draw_group(), object_state_mask_menu(), sensor_menu(), ui_block_func_COL(), ui_block_func_POPUP(), ui_block_position(), ui_handle_menu_event(), ui_popup_block_create(), and widget_menu_back().
| #define UI_UNIT_X U.widget_unit |
Definition at line 634 of file UI_interface.h.
Referenced by ANIM_uiTemplate_fmodifier_draw(), buttons_context_draw(), buttons_header_buttons(), curvemap_brush_tools_func(), curvemap_buttons_layout(), curvemap_clipping_func(), curvemap_tools_func(), do_outliner_item_activate(), do_outliner_item_rename(), draw_modifier(), ED_area_header_standardbuttons(), ED_area_header_switchbutton(), ED_region_header(), file_draw_buttons(), file_panel_category(), gp_drawui_layer(), graph_panel_drivers(), list_item_row(), logic_buttons(), logic_buttons_new(), node_draw_basis(), node_draw_group(), outliner_buttons(), outliner_draw_hierarchy(), outliner_draw_iconrow(), outliner_draw_keymapbuts(), outliner_draw_restrictbuts(), outliner_draw_tree_element(), outliner_rna_width(), outliner_set_coord_tree_element(), region_scale_modal(), script_header_buttons(), sound_header_buttons(), template_ID(), tselem_draw_icon_uibut(), ui_block_func_ICONROW(), ui_block_func_ICONTEXTROW(), ui_block_func_MENUSTR(), ui_item_array(), ui_item_rna_size(), ui_item_with_label(), ui_litem_min_width(), ui_text_icon_width(), uiBlockLayout(), uiBlockPicker(), uiTemplateEditModeSelection(), uiTemplateHeader3D(), uiTemplateImage(), uiTemplateLayers(), uiTemplateList(), uiTemplateOperatorSearch(), uiTemplatePreview(), uiTemplateReportsBanner(), uiTemplateRunningJobs(), view3d_panel_tool_shelf(), wm_block_search_menu(), wm_debug_menu_invoke(), and wm_enum_search_menu().
| #define UI_UNIT_Y U.widget_unit |
Definition at line 635 of file UI_interface.h.
Referenced by ANIM_uiTemplate_fmodifier_draw(), buttons_context_draw(), buttons_header_buttons(), colorband_buttons_large(), colorband_buttons_small(), curvemap_brush_tools_func(), curvemap_buttons_layout(), curvemap_clipping_func(), curvemap_tools_func(), do_outliner_item_activate(), do_outliner_item_openclose(), do_outliner_item_rename(), do_outliner_operation_event(), draw_controller_header(), draw_modifier(), draw_modifier__generator(), ED_area_header_standardbuttons(), ED_area_header_switchbutton(), ED_area_headersize(), ED_region_header(), ED_region_panels(), file_draw_buttons(), file_draw_list(), file_panel_category(), gp_drawui_layer(), graph_panel_drivers(), list_item_row(), logic_buttons(), logic_buttons_new(), node_draw_basis(), operator_search_menu(), outliner_back(), outliner_buttons(), outliner_draw_hierarchy(), outliner_draw_iconrow(), outliner_draw_keymapbuts(), outliner_draw_restrictbuts(), outliner_draw_restrictcols(), outliner_draw_rnabuts(), outliner_draw_selection(), outliner_draw_struct_marks(), outliner_draw_tree(), outliner_draw_tree_element(), outliner_height(), outliner_item_activate(), region_scale_modal(), script_header_buttons(), sound_header_buttons(), template_ID(), tselem_draw_icon_uibut(), ui_block_func_ICONROW(), ui_block_func_ICONTEXTROW(), ui_block_func_MENUSTR(), ui_block_func_POPUP(), ui_but_menu(), ui_item_array(), ui_item_disabled(), ui_item_menu(), ui_item_rna_size(), uiblock_layer_pass_buttons(), uiBlockLayout(), uiBlockPicker(), uiItemFullO(), uiItemL_(), uiItemV(), uiPupMenuBegin(), uiSearchBoxhHeight(), uiTemplateEditModeSelection(), uiTemplateHeader3D(), uiTemplateHistogram(), uiTemplateImage(), uiTemplateLayers(), uiTemplateList(), uiTemplateOperatorSearch(), uiTemplatePreview(), uiTemplateReportsBanner(), uiTemplateRunningJobs(), uiTemplateVectorscope(), uiTemplateWaveform(), view3d_panel_tool_shelf(), wm_block_create_redo(), wm_block_create_splash(), wm_block_dialog_create(), wm_block_search_menu(), wm_debug_menu_invoke(), and wm_enum_search_menu().
| #define VECTORSCOPE (49<<9) |
Definition at line 236 of file UI_interface.h.
Referenced by ui_do_button(), ui_draw_but(), and uiTemplateVectorscope().
| #define WAVEFORM (48<<9) |
Definition at line 235 of file UI_interface.h.
Referenced by ui_apply_button(), ui_do_button(), ui_draw_but(), and uiTemplateWaveform().
| typedef struct AutoComplete AutoComplete |
Definition at line 577 of file UI_interface.h.
Definition at line 72 of file UI_interface.h.
| typedef void(* uiBlockCancelFunc)(void *arg1) |
Definition at line 304 of file UI_interface.h.
| typedef uiBlock*(* uiBlockCreateFunc)(struct bContext *C, struct ARegion *ar, void *arg1) |
Definition at line 303 of file UI_interface.h.
| typedef void(* uiBlockHandleFunc)(struct bContext *C, void *arg, int event) |
Definition at line 547 of file UI_interface.h.
Definition at line 71 of file UI_interface.h.
| typedef void(* uiButCompleteFunc)(struct bContext *C, char *str, void *arg) |
Definition at line 545 of file UI_interface.h.
| typedef void(* uiButHandleFunc)(struct bContext *C, void *arg1, void *arg2) |
Definition at line 542 of file UI_interface.h.
| typedef void(* uiButHandleNFunc)(struct bContext *C, void *argN, void *arg2) |
Definition at line 544 of file UI_interface.h.
| typedef void(* uiButHandleRenameFunc)(struct bContext *C, void *arg, char *origstr) |
Definition at line 543 of file UI_interface.h.
| typedef void(* uiButSearchFunc)(const struct bContext *C, void *arg, const char *str, uiSearchItems *items) |
Definition at line 546 of file UI_interface.h.
| typedef void(* uiIDPoinFunc)(struct bContext *C, struct ID *id, int event) |
Definition at line 487 of file UI_interface.h.
| typedef void(* uiIDPoinFuncFP)(struct bContext *C, const char *str, struct ID **idpp) |
Definition at line 486 of file UI_interface.h.
Definition at line 74 of file UI_interface.h.
| typedef void(* uiMenuCreateFunc)(struct bContext *C, struct uiLayout *layout, void *arg1) |
Definition at line 275 of file UI_interface.h.
| typedef void(* uiMenuHandleFunc)(struct bContext *C, void *arg, int event) |
Definition at line 276 of file UI_interface.h.
| typedef struct uiPopupBlockHandle uiPopupBlockHandle |
Definition at line 73 of file UI_interface.h.
| typedef struct uiPopupMenu uiPopupMenu |
Definition at line 285 of file UI_interface.h.
| typedef struct uiSearchItems uiSearchItems |
Definition at line 540 of file UI_interface.h.
| anonymous enum |
| UI_BLOCK_BOUNDS | |
| UI_BLOCK_BOUNDS_TEXT | |
| UI_BLOCK_BOUNDS_POPUP_MOUSE | |
| UI_BLOCK_BOUNDS_POPUP_MENU | |
| UI_BLOCK_BOUNDS_POPUP_CENTER |
Definition at line 347 of file UI_interface.h.
| AutoComplete* autocomplete_begin | ( | const char * | startname, |
| int | maxlen | ||
| ) |
Definition at line 2760 of file interface.c.
References AutoComplete::maxlen, MEM_callocN(), AutoComplete::startname, and AutoComplete::truncate.
Referenced by autocomplete_directory(), autocomplete_file(), autocomplete_id(), and ui_searchbox_autocomplete().
| void autocomplete_do_name | ( | AutoComplete * | autocpl, |
| const char * | name | ||
| ) |
Definition at line 2772 of file interface.c.
References BLI_strncpy(), AutoComplete::maxlen, AutoComplete::startname, and AutoComplete::truncate.
Referenced by autocomplete_directory(), autocomplete_file(), autocomplete_id(), and uiSearchItemAdd().
| void autocomplete_end | ( | AutoComplete * | autocpl, |
| char * | autoname | ||
| ) |
Definition at line 2801 of file interface.c.
References BLI_strncpy(), AutoComplete::maxlen, MEM_freeN(), AutoComplete::startname, and AutoComplete::truncate.
Referenced by autocomplete_directory(), autocomplete_file(), autocomplete_id(), and ui_searchbox_autocomplete().
| void UI_add_area_handlers | ( | struct ListBase * | handlers | ) |
| void UI_add_popup_handlers | ( | struct bContext * | C, |
| struct ListBase * | handlers, | ||
| uiPopupBlockHandle * | popup | ||
| ) |
Definition at line 6259 of file interface_handlers.c.
References ui_handler_popup(), ui_handler_remove_popup(), and WM_event_add_ui_handler().
Referenced by ui_popup_menu_create(), uiPupBlockEx(), uiPupBlockO(), and uiPupMenuEnd().
| void UI_add_region_handlers | ( | struct ListBase * | handlers | ) |
Definition at line 6253 of file interface_handlers.c.
References NULL, ui_handler_region(), ui_handler_remove_region(), WM_event_add_ui_handler(), and WM_event_remove_ui_handler().
Referenced by ed_default_handlers(), and ui_popup_block_create().
| int UI_but_active_drop_name | ( | struct bContext * | C | ) |
Definition at line 4645 of file interface_handlers.c.
References CTX_wm_region(), ELEM3, IDPOIN, SEARCH_MENU, TEX, uiBut::type, and ui_but_find_activated().
Referenced by wm_drop_operator_options().
| void UI_buttons_operatortypes | ( | void | ) |
Definition at line 462 of file interface_ops.c.
References UI_OT_copy_data_path_button(), UI_OT_copy_to_selected_button(), UI_OT_eyedropper(), UI_OT_reports_to_textblock(), UI_OT_reset_default_button(), UI_OT_reset_default_theme(), and WM_operatortype_append().
Referenced by ED_spacetypes_init().
| void UI_DrawString | ( | float | x, |
| float | y, | ||
| const char * | str | ||
| ) |
Definition at line 275 of file interface_style.c.
References BLF_disable(), BLF_draw(), BLF_enable(), BLF_KERNING_DEFAULT, BLF_position(), uiFontStyle::kerning, uiFontStyle::uifont_id, uiStyleFontSet(), and uiStyle::widget.
Referenced by ANIM_channel_draw(), draw_cfra_number(), draw_marker(), draw_nla_channel_list_gl(), draw_render_info(), outliner_draw_tree_element(), wm_drags_draw(), and wm_drop_operator_draw().
| void UI_DrawTriIcon | ( | float | x, |
| float | y, | ||
| char | dir | ||
| ) |
Definition at line 334 of file interface_panel.c.
References ui_draw_anti_tria().
Referenced by node_draw_basis(), node_draw_hidden(), and ui_draw_menu_back().
| void UI_exit | ( | void | ) |
Definition at line 3487 of file interface.c.
References ui_resources_free().
Referenced by WM_exit().
| int UI_GetStringWidth | ( | const char * | str | ) |
Definition at line 256 of file interface_style.c.
References BLF_disable(), BLF_enable(), BLF_KERNING_DEFAULT, BLF_width(), uiFontStyle::kerning, uiFontStyle::uifont_id, uiStyleFontSet(), and uiStyle::widget.
Referenced by draw_cfra_number(), file_draw_buttons(), GetButStringLength(), node_draw_basis(), outliner_buttons(), outliner_draw_tree_element(), ui_text_icon_width(), wm_drags_draw(), and wm_drop_operator_draw().
| void UI_init | ( | void | ) |
Definition at line 3474 of file interface.c.
References ui_resources_init().
Referenced by WM_init().
| void UI_init_userdef | ( | void | ) |
Definition at line 3480 of file interface.c.
References init_userdef_do_versions(), and uiStyleInit().
Referenced by wm_init_userdef().
| void UI_remove_popup_handlers | ( | struct ListBase * | handlers, |
| uiPopupBlockHandle * | popup | ||
| ) |
Definition at line 6264 of file interface_handlers.c.
References ui_handler_popup(), ui_handler_remove_popup(), and WM_event_remove_ui_handler().
Referenced by ui_handler_popup(), and uiPupBlockClose().
| void UI_template_fix_linking | ( | void | ) |
Definition at line 70 of file interface_templates.c.
Referenced by uiBlockLayoutResolve().
| uiBlock* uiBeginBlock | ( | const struct bContext * | C, |
| struct ARegion * | region, | ||
| const char * | name, | ||
| short | dt | ||
| ) |
Referenced by actuator_menu(), buttons_header_buttons(), controller_menu(), controller_state_mask_menu(), curvemap_brush_tools_func(), curvemap_clipping_func(), curvemap_tools_func(), draw_channel_names(), draw_nla_channel_list(), draw_outliner(), dummy_viewmenu(), ED_region_header(), ED_region_panels(), file_draw_buttons(), file_draw_list(), graph_draw_channel_names(), id_search_menu(), logic_buttons(), logic_buttons_new(), menu_add_shortcut(), menu_change_shortcut(), node_uiblocks_init(), object_state_mask_menu(), operator_search_menu(), script_header_buttons(), sensor_menu(), socket_vector_menu(), sound_header_buttons(), tool_search_menu(), ui_block_func_COL(), ui_popup_menu_create(), uiPupMenuBegin(), wm_block_create_redo(), wm_block_create_splash(), wm_block_dialog_create(), wm_block_search_menu(), wm_enum_search_menu(), and wm_operator_ui_create().
| struct Panel* uiBeginPanel | ( | struct ScrArea * | sa, |
| struct ARegion * | ar, | ||
| uiBlock * | block, | ||
| struct PanelType * | pt, | ||
| int * | open | ||
| ) | [read] |
Definition at line 174 of file interface_panel.c.
References BLI_addtail(), BLI_strncpy(), BUT_VERTICAL, Panel::drawname, ListBase::first, Panel::flag, PanelType::flag, PanelType::idname, PanelType::label, MEM_callocN(), Panel::next, NULL, Panel::ofsx, Panel::ofsy, uiBlock::panel, panel_aligned(), Panel::panelname, uiStyle::panelouter, ARegion::panels, Panel::paneltab, PNL_ACTIVE, PNL_CLOSED, PNL_CLOSEDX, PNL_CLOSEDY, PNL_DEFAULT_CLOSED, PNL_LAST_ADDED, PNL_NEW_ADDED, Panel::runtime_flag, Panel::sizex, Panel::sizey, Panel::sortorder, Panel::tabname, Panel::type, UI_MAX_NAME_STR, and ui_panel_copy_offset().
Referenced by ED_region_panels().
Referenced by ED_region_panels().
| void uiBlockBeginAlign | ( | uiBlock * | block | ) |
Definition at line 2197 of file interface.c.
References uiBlock::alignnr, uiBlock::flag, UI_BUT_ALIGN, UI_BUT_ALIGN_DOWN, and uiBlockEndAlign().
Referenced by buttons_header_buttons(), colorband_buttons_small(), controller_state_mask_menu(), curvemap_clipping_func(), draw_actuatorbuttons(), draw_constraint(), draw_controllerbuttons(), draw_default_sensor_header(), draw_modifier(), draw_modifier__envelope(), draw_modifier__generator(), draw_sensorbuttons(), file_draw_buttons(), logic_buttons(), node_draw_group(), template_ID(), ui_item_array(), uiBlockPicker(), uiTemplateHeader3D(), uiTemplateImage(), uiTemplateReportsBanner(), uvedit_vertex_buttons(), v3d_editvertex_buts(), v3d_posearmature_buts(), and view3d_panel_vgroup().
| void uiBlockClearButLock | ( | uiBlock * | block | ) |
Definition at line 1112 of file interface.c.
References uiBlock::lock, uiBlock::lockstr, and NULL.
Referenced by draw_constraint(), and draw_modifier().
| void uiBlockClearFlag | ( | uiBlock * | block, |
| int | flag | ||
| ) |
Definition at line 3136 of file interface.c.
References uiBlock::flag.
Referenced by wm_block_create_redo(), wm_block_dialog_create(), and wm_operator_ui_create().
| void uiBlockEndAlign | ( | uiBlock * | block | ) |
Definition at line 2219 of file interface.c.
References uiBlock::flag, and UI_BUT_ALIGN.
Referenced by buttons_header_buttons(), colorband_buttons_large(), colorband_buttons_small(), controller_state_mask_menu(), draw_actuatorbuttons(), draw_constraint(), draw_controllerbuttons(), draw_default_sensor_header(), draw_modifier(), draw_modifier__generator(), draw_sensorbuttons(), file_draw_buttons(), logic_buttons(), node_draw_group(), node_update(), template_ID(), ui_item_array(), uiblock_layer_pass_arrow_buttons(), uiBlockBeginAlign(), uiBlockPicker(), uiEndBlock(), uiTemplateHeader3D(), uiTemplateReportsBanner(), uvedit_vertex_buttons(), v3d_editvertex_buts(), v3d_posearmature_buts(), and view3d_panel_vgroup().
| void uiBlockFlipOrder | ( | uiBlock * | block | ) |
Definition at line 3094 of file interface.c.
References BLI_addtail(), BLI_remlink(), uiBlock::buttons, ListBase::first, uiBut::flag, uiBlock::flag, ListBase::last, next, uiBut::next, NULL, SWAP, UI_BLOCK_NO_FLIP, UI_BUT_ALIGN, USER_MENUFIXEDORDER, uiBut::y1, and uiBut::y2.
Referenced by dummy_viewmenu(), ui_block_func_POPUP(), ui_block_position(), and ui_popup_block_create().
| uiLayout* uiBlockLayout | ( | uiBlock * | block, |
| int | dir, | ||
| int | type, | ||
| int | x, | ||
| int | y, | ||
| int | size, | ||
| int | em, | ||
| struct uiStyle * | style | ||
| ) |
Definition at line 2529 of file interface_layout.c.
References uiLayout::active, BLI_addtail(), uiLayoutRoot::block, uiLayout::context, uiBlock::curlayout, uiLayoutRoot::emh, uiLayoutRoot::emw, uiLayout::enabled, uiLayout::h, uiLayout::item, ITEM_LAYOUT_ROOT, uiLayoutRoot::layout, uiBlock::layouts, MEM_callocN(), NULL, uiLayoutRoot::opcontext, uiLayout::root, MakeCursor::root, size(), uiLayout::space, uiLayoutRoot::style, uiStyle::templatespace, uiLayoutRoot::type, uiItem::type, UI_LAYOUT_HORIZONTAL, UI_LAYOUT_MENU, UI_UNIT_X, UI_UNIT_Y, uiLayout::w, WM_OP_INVOKE_REGION_WIN, uiLayout::x, and uiLayout::y.
Referenced by ED_region_header(), ED_region_panels(), logic_buttons_new(), menu_add_shortcut(), menu_change_shortcut(), node_draw_group(), node_update(), socket_vector_menu(), ui_popup_menu_create(), uiPupMenuBegin(), wm_block_create_redo(), wm_block_create_splash(), wm_block_dialog_create(), and wm_operator_ui_create().
| void uiBlockLayoutResolve | ( | uiBlock * | block, |
| int * | x, | ||
| int * | y | ||
| ) |
Definition at line 2612 of file interface_layout.c.
References BLI_freelistN(), uiBlock::curlayout, ListBase::first, uiLayoutRoot::layout, uiBlock::layouts, uiLayoutRoot::next, NULL, MakeCursor::root, ui_layout_end(), ui_layout_free(), and UI_template_fix_linking().
Referenced by ED_region_header(), ED_region_panels(), logic_buttons_new(), node_draw_group(), node_update(), ui_block_func_POPUP(), and uiEndBlock().
| void uiBlockPickerButtons | ( | struct uiBlock * | block, |
| float * | col, | ||
| float * | hsv, | ||
| float * | old, | ||
| char * | hexcol, | ||
| char | mode, | ||
| short | retval | ||
| ) |
| void uiBlockSetButLock | ( | uiBlock * | block, |
| int | val, | ||
| const char * | lockstr | ||
| ) |
Definition at line 1104 of file interface.c.
References uiBlock::lock, and uiBlock::lockstr.
Referenced by draw_constraint(), draw_modifier(), uiLayoutOperatorButs(), uiTemplateConstraint(), and uiTemplateModifier().
| void uiBlockSetButmFunc | ( | uiBlock * | block, |
| uiMenuHandleFunc | func, | ||
| void * | arg | ||
| ) |
Definition at line 3231 of file interface.c.
References uiBlock::butm_func, and uiBlock::butm_func_arg.
Referenced by actuator_menu(), controller_menu(), curvemap_brush_tools_func(), curvemap_tools_func(), dummy_viewmenu(), object_state_mask_menu(), sensor_menu(), and ui_layout_end().
Definition at line 2581 of file interface_layout.c.
References uiBlock::curlayout.
Referenced by ui_item_array(), ui_item_disabled(), ui_item_enum_expand(), ui_item_menu(), ui_item_with_label(), ui_layout_box(), uiItemFullO(), uiItemFullR(), uiItemL_(), uiItemS(), uiItemV(), uiLayoutAbsolute(), uiLayoutColumn(), uiLayoutColumnFlow(), uiLayoutOverlap(), uiLayoutRow(), uiLayoutSplit(), uiTemplateOperatorSearch(), and uiTemplateRunningJobs().
| void uiBlockSetDirection | ( | uiBlock * | block, |
| int | direction | ||
| ) |
Definition at line 3088 of file interface.c.
References uiBlock::direction.
Referenced by actuator_menu(), controller_menu(), controller_state_mask_menu(), curvemap_brush_tools_func(), curvemap_clipping_func(), curvemap_tools_func(), dummy_viewmenu(), id_search_menu(), menu_add_shortcut(), menu_change_shortcut(), node_draw_group(), object_state_mask_menu(), operator_search_menu(), sensor_menu(), tool_search_menu(), and ui_block_func_POPUP().
| void uiBlockSetDrawExtraFunc | ( | uiBlock * | block, |
| void(*)(const struct bContext *C, void *, void *, void *, struct rcti *rect) | func, | ||
| void * | arg1, | ||
| void * | arg2 | ||
| ) |
Referenced by uiTemplatePreview().
| void uiBlockSetEmboss | ( | uiBlock * | block, |
| char | dt | ||
| ) |
Definition at line 1996 of file interface.c.
References uiBlock::dt.
Referenced by ANIM_channel_draw_widgets(), ANIM_uiTemplate_fmodifier_draw(), buttons_context_draw(), buttons_header_buttons(), curvemap_buttons_layout(), draw_actuatorbuttons(), draw_constraint(), draw_modifier(), ED_area_header_standardbuttons(), file_panel_category(), gp_drawui_layer(), graph_panel_drivers(), list_item_row(), node_draw_group(), outliner_draw_keymapbuts(), outliner_draw_restrictbuts(), outliner_draw_rnabuts(), script_header_buttons(), sound_header_buttons(), ui_item_menu(), uiItemFullO(), uiItemFullR(), uiTemplateHeader3D(), uiTemplateReportsBanner(), and wm_block_create_splash().
| void uiBlockSetFlag | ( | uiBlock * | block, |
| int | flag | ||
| ) |
Definition at line 3131 of file interface.c.
References uiBlock::flag.
Referenced by id_search_menu(), menu_add_shortcut(), menu_change_shortcut(), operator_search_menu(), socket_vector_menu(), tool_search_menu(), ui_block_func_COL(), ui_block_func_ICONROW(), ui_block_func_ICONTEXTROW(), ui_block_func_MENUSTR(), ui_block_func_POPUP(), wm_block_create_redo(), wm_block_create_splash(), wm_block_dialog_create(), wm_block_search_menu(), wm_enum_search_menu(), and wm_operator_ui_create().
| void uiBlockSetFunc | ( | uiBlock * | block, |
| uiButHandleFunc | func, | ||
| void * | arg1, | ||
| void * | arg2 | ||
| ) |
Definition at line 3237 of file interface.c.
References uiBlock::func, uiBlock::func_arg1, and uiBlock::func_arg2.
Referenced by draw_constraint(), file_draw_buttons(), file_panel_operator(), gp_drawui_layer(), wm_block_create_splash(), and wm_block_dialog_create().
| void uiBlockSetHandleFunc | ( | uiBlock * | block, |
| uiBlockHandleFunc | func, | ||
| void * | arg | ||
| ) |
Definition at line 3225 of file interface.c.
References uiBlock::handle_func, and uiBlock::handle_func_arg.
Referenced by active_node_panel(), buttons_header_buttons(), draw_constraint(), file_draw_buttons(), graph_panel_drivers(), graph_panel_key_properties(), graph_panel_modifiers(), graph_panel_properties(), image_panel_uv(), logic_buttons(), logic_buttons_new(), menu_add_shortcut(), menu_change_shortcut(), nla_panel_actclip(), nla_panel_animdata(), nla_panel_evaluation(), nla_panel_modifiers(), nla_panel_properties(), nla_panel_track(), node_uiblocks_init(), script_header_buttons(), sequencer_panel_properties(), sequencer_panel_view_properties(), sound_header_buttons(), uiTemplateEditModeSelection(), uiTemplateHeader3D(), uiTemplatePreview(), uiTemplateRunningJobs(), view3d_panel_object(), view3d_panel_operator_redo(), view3d_panel_vgroup(), and wm_block_create_redo().
| void uiBlockSetNFunc | ( | uiBlock * | block, |
| uiButHandleFunc | func, | ||
| void * | argN, | ||
| void * | arg2 | ||
| ) |
Definition at line 3244 of file interface.c.
References uiBlock::func_arg2, uiBlock::func_argN, uiBlock::funcN, and MEM_freeN().
Referenced by curvemap_buttons_layout(), and uiTemplateImage().
Definition at line 1925 of file interface.c.
References uiBlock::active, BLI_addhead(), BLI_findstring(), uiBlock::name, NULL, uiBlock::oldblock, uiBlock::panel, and ARegion::uiblocks.
Referenced by ui_block_func_POPUP(), and uiBeginBlock().
| void uiBlockSetXOfs | ( | uiBlock * | block, |
| int | xofs | ||
| ) |
Definition at line 3141 of file interface.c.
References uiBlock::xofs.
| int uiBlocksGetYMin | ( | struct ListBase * | lb | ) |
Definition at line 3076 of file interface.c.
References ListBase::first, min, uiBlock::miny, and uiBlock::next.
| void uiBoundsBlock | ( | struct uiBlock * | block, |
| int | addval | ||
| ) |
Definition at line 414 of file interface.c.
References uiBlock::bounds, uiBlock::dobounds, NULL, and UI_BLOCK_BOUNDS.
Referenced by id_search_menu(), operator_search_menu(), tool_search_menu(), ui_block_func_COL(), and uiEndBlock().
Referenced by file_draw_list(), and outliner_buttons().
| void uiButClearFlag | ( | uiBut * | but, |
| int | flag | ||
| ) |
Definition at line 3151 of file interface.c.
References uiBut::flag.
Referenced by uiLayoutOperatorButs().
| struct PointerRNA* uiButGetOperatorPtrRNA | ( | uiBut * | but | ) | [read] |
Definition at line 3200 of file interface.c.
References MEM_callocN(), uiBut::opptr, uiBut::optype, and WM_operator_properties_create_ptr().
Referenced by file_draw_buttons(), node_draw_group(), ui_but_copy_paste(), ui_tooltip_create(), and uiItemFullO().
| int uiButGetRetVal | ( | uiBut * | but | ) |
Definition at line 3156 of file interface.c.
References uiBut::retval.
| int uiButGetUnitType | ( | uiBut * | but | ) |
Definition at line 3215 of file interface.c.
References RNA_property_subtype(), RNA_SUBTYPE_UNIT, uiBut::rnaprop, and uiBut::unit_type.
Referenced by ui_convert_to_unit_alt_name(), ui_get_but_scale_unit(), ui_get_but_step_unit(), ui_get_but_string_unit(), ui_is_but_unit(), ui_numedit_apply_snapf(), and ui_tooltip_create().
| void uiButSetCompleteFunc | ( | uiBut * | but, |
| uiButCompleteFunc | func, | ||
| void * | arg | ||
| ) |
Definition at line 3284 of file interface.c.
References uiBut::autocomplete_func, and uiBut::autofunc_arg.
Referenced by file_draw_buttons(), and uiDefIDPoinBut().
Definition at line 3161 of file interface.c.
References uiBut::dragpoin, uiBut::dragtype, and WM_DRAG_ID.
Referenced by template_ID(), tselem_draw_icon_uibut(), and uiItemLDrag().
| void uiButSetDragImage | ( | uiBut * | but, |
| const char * | path, | ||
| int | icon, | ||
| struct ImBuf * | ima, | ||
| float | scale | ||
| ) |
Definition at line 3191 of file interface.c.
References uiBut::dragpoin, uiBut::dragtype, uiBut::icon, uiBut::imb, uiBut::imb_scale, and WM_DRAG_PATH.
Referenced by file_draw_preview().
| void uiButSetDragName | ( | uiBut * | but, |
| const char * | name | ||
| ) |
Definition at line 3179 of file interface.c.
References uiBut::dragpoin, uiBut::dragtype, and WM_DRAG_NAME.
| void uiButSetDragPath | ( | uiBut * | but, |
| const char * | path | ||
| ) |
Definition at line 3173 of file interface.c.
References uiBut::dragpoin, uiBut::dragtype, and WM_DRAG_PATH.
Referenced by file_draw_icon().
| void uiButSetDragRNA | ( | uiBut * | but, |
| struct PointerRNA * | ptr | ||
| ) |
Definition at line 3167 of file interface.c.
References uiBut::dragpoin, uiBut::dragtype, and WM_DRAG_RNA.
| void uiButSetDragValue | ( | uiBut * | but | ) |
Definition at line 3186 of file interface.c.
References uiBut::dragtype, and WM_DRAG_VALUE.
| void uiButSetFlag | ( | uiBut * | but, |
| int | flag | ||
| ) |
Definition at line 3146 of file interface.c.
References uiBut::flag.
Referenced by draw_modifier(), file_draw_buttons(), file_draw_list(), file_panel_category(), list_item_row(), node_draw_group(), template_ID(), ui_but_search_test(), ui_item_with_label(), uiDefAutoButR(), uiItemFullO(), uiItemFullR(), and uiTemplateList().
Definition at line 3459 of file interface.c.
References wmWindow::eventstate, EVT_BUT_OPEN, FALSE, KM_PRESS, wmEvent::type, and wm_event_add().
Referenced by id_search_menu(), and uiLayoutOperatorButs().
| void uiButSetFunc | ( | uiBut * | but, |
| uiButHandleFunc | func, | ||
| void * | arg1, | ||
| void * | arg2 | ||
| ) |
Definition at line 3267 of file interface.c.
References uiBut::func, uiBut::func_arg1, and uiBut::func_arg2.
Referenced by ANIM_channel_draw_widgets(), ANIM_uiTemplate_fmodifier_draw(), buttons_context_draw(), circle_picker(), controller_state_mask_menu(), curvemap_buttons_layout(), curvemap_clipping_func(), draw_actuatorbuttons(), draw_default_sensor_header(), draw_modifier(), draw_modifier__envelope(), draw_modifier__generator(), draw_sensorbuttons(), draw_setting_widget(), ED_area_header_switchbutton(), file_panel_category(), gp_drawui_layer(), graph_panel_drivers(), logic_buttons(), node_buts_normal(), node_draw_group(), node_draw_socket_button(), node_shader_buts_dynamic(), outliner_draw_keymapbuts(), outliner_draw_restrictbuts(), square_picker(), ui_but_menu(), ui_item_array(), ui_item_with_label(), uiblock_layer_pass_arrow_buttons(), uiblock_layer_pass_buttons(), uiBlockPicker(), uiButSetSearchFunc(), uiTemplateImage(), uiTemplateLayers(), wm_block_create_splash(), and wm_block_dialog_create().
| void uiButSetNFunc | ( | uiBut * | but, |
| uiButHandleNFunc | func, | ||
| void * | argN, | ||
| void * | arg2 | ||
| ) |
Definition at line 3274 of file interface.c.
References uiBut::func_arg2, uiBut::func_argN, uiBut::funcN, and MEM_freeN().
Referenced by colorband_buttons_large(), colorband_buttons_small(), curvemap_buttons_layout(), draw_setting_widget(), graph_panel_drivers(), template_ID(), uiTemplateHistogram(), and uiTemplateVectorscope().
| void uiButSetRenameFunc | ( | uiBut * | but, |
| uiButHandleRenameFunc | func, | ||
| void * | arg1 | ||
| ) |
Definition at line 3254 of file interface.c.
References uiBut::rename_arg1, and uiBut::rename_func.
Referenced by file_draw_list(), and outliner_buttons().
| void uiButSetSearchFunc | ( | uiBut * | but, |
| uiButSearchFunc | sfunc, | ||
| void * | arg1, | ||
| uiButHandleFunc | bfunc, | ||
| void * | active | ||
| ) |
Definition at line 3441 of file interface.c.
References uiBut::block, uiBut::drawstr, uiBlock::flag, uiBut::search_arg, uiBut::search_func, UI_BLOCK_LOOP, ui_but_search_test(), and uiButSetFunc().
Referenced by id_search_menu(), operator_search_menu(), tool_search_menu(), ui_but_add_search(), uiTemplateOperatorSearch(), wm_block_search_menu(), and wm_enum_search_menu().
| void uiButSetUnitType | ( | uiBut * | but, |
| const int | unit_type | ||
| ) |
Definition at line 3210 of file interface.c.
References uiBut::unit_type.
Referenced by v3d_editvertex_buts(), and v3d_posearmature_buts().
| void uiCenteredBoundsBlock | ( | uiBlock * | block, |
| int | addval | ||
| ) |
Definition at line 449 of file interface.c.
References uiBlock::bounds, uiBlock::dobounds, and UI_BLOCK_BOUNDS_POPUP_CENTER.
Referenced by wm_block_create_splash().
| void uiComposeLinks | ( | uiBlock * | block | ) |
Definition at line 1066 of file interface.c.
References uiBlock::buttons, ListBase::first, uiLink::lines, link(), LINK, uiBut::link, uiBut::next, uiLink::poin, uiLink::ppoin, uiLink::totlink, uiBut::type, ui_add_link_line(), and ui_find_inlink().
Referenced by logic_buttons(), and logic_buttons_new().
| void uiContextActiveProperty | ( | const struct bContext * | C, |
| struct PointerRNA * | ptr, | ||
| struct PropertyRNA ** | prop, | ||
| int * | index | ||
| ) |
Referenced by add_driver_button_exec(), add_keyingset_button_exec(), copy_data_path_button_exec(), copy_driver_button_exec(), copy_to_selected_button_exec(), copy_to_selected_button_poll(), delete_key_button_exec(), eyedropper_init(), insert_key_button_exec(), paste_driver_button_exec(), remove_driver_button_exec(), remove_keyingset_button_exec(), reset_default_button_exec(), and reset_default_button_poll().
| void uiContextAnimUpdate | ( | const struct bContext * | C | ) |
| uiBut* uiDefAutoButR | ( | uiBlock * | block, |
| struct PointerRNA * | ptr, | ||
| struct PropertyRNA * | prop, | ||
| int | index, | ||
| const char * | name, | ||
| int | icon, | ||
| int | x1, | ||
| int | y1, | ||
| int | x2, | ||
| int | y2 | ||
| ) |
Definition at line 51 of file interface_utils.c.
References COL, ELEM, ICONTOG, IDPOIN, LABEL, MENU, NULL, NUM, NUMSLI, OPTION, PROP_BOOLEAN, PROP_COLLECTION, PROP_COLOR, PROP_COLOR_GAMMA, PROP_ENUM, PROP_FACTOR, PROP_FLOAT, PROP_INT, PROP_PERCENTAGE, PROP_POINTER, PROP_STRING, RNA_property_array_length(), RNA_property_collection_length(), RNA_property_pointer_get(), RNA_property_pointer_type(), RNA_property_subtype(), RNA_property_type(), RNA_struct_ui_icon(), TEX, PointerRNA::type, UI_BUT_DISABLED, uiButSetFlag(), uiDefBut(), uiDefButR_prop(), uiDefIconButR_prop(), and uiDefIconTextButR_prop().
Referenced by ANIM_channel_draw_widgets(), outliner_draw_rnabuts(), ui_item_array(), ui_item_with_label(), uiItemFullR(), and uiTemplateLayers().
| int uiDefAutoButsRNA | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| int(*)(struct PropertyRNA *) | check_prop, | ||
| const char | label_align | ||
| ) |
Referenced by uiLayoutOperatorButs().
| uiBut* uiDefBlockBut | ( | uiBlock * | block, |
| uiBlockCreateFunc | func, | ||
| void * | func_arg1, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| const char * | tip | ||
| ) |
Definition at line 3303 of file interface.c.
References BLOCK, uiBut::block_create_func, ui_check_but(), and ui_def_but().
Referenced by draw_controller_header(), logic_buttons(), logic_buttons_new(), outliner_draw_keymapbuts(), and view3d_panel_tool_shelf().
| uiBut* uiDefBlockButN | ( | uiBlock * | block, |
| uiBlockCreateFunc | func, | ||
| void * | argN, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| const char * | tip | ||
| ) |
Definition at line 3311 of file interface.c.
References BLOCK, uiBut::block_create_func, uiBut::func_argN, MEM_freeN(), NULL, ui_check_but(), and ui_def_but().
Referenced by node_draw_socket_button(), and template_ID().
| uiBut* uiDefBut | ( | uiBlock * | block, |
| int | type, | ||
| int | retval, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| void * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 2724 of file interface.c.
References ui_check_but(), and ui_def_but().
Referenced by actuator_menu(), colorband_buttons_large(), colorband_buttons_small(), controller_menu(), controller_state_mask_menu(), curvemap_buttons_layout(), curvemap_clipping_func(), draw_actuatorbuttons(), draw_constraint(), draw_controllerbuttons(), draw_modifier(), draw_modifier__envelope(), draw_modifier__generator(), draw_sensorbuttons(), file_draw_buttons(), file_draw_list(), file_draw_preview(), graph_panel_drivers(), id_search_menu(), logic_buttons(), node_draw_basis(), node_draw_group(), node_draw_hidden(), node_draw_socket_button(), node_shader_buts_dynamic(), object_state_mask_menu(), operator_search_menu(), outliner_buttons(), outliner_draw_keymapbuts(), sensor_menu(), template_ID(), tool_search_menu(), ui_block_func_ICONTEXTROW(), ui_item_array(), ui_item_disabled(), ui_item_with_label(), ui_layout_box(), uiBlockPicker(), uiDefAutoButR(), uiDefButBit(), uiDefButC(), uiDefButF(), uiDefButI(), uiDefButS(), uiItemL_(), uiItemS(), uiPupMenuBegin(), uiTemplateHistogram(), uiTemplateImage(), uiTemplatePreview(), uiTemplateReportsBanner(), uiTemplateRunningJobs(), uiTemplateVectorscope(), uiTemplateWaveform(), v3d_editvertex_buts(), v3d_posearmature_buts(), view3d_panel_vgroup(), wm_block_create_splash(), wm_block_dialog_create(), wm_block_search_menu(), and wm_enum_search_menu().
| uiBut* uiDefButBitC | ( | uiBlock * | block, |
| int | type, | ||
| int | bit, | ||
| int | retval, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| char * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 2880 of file interface.c.
References CHA, and uiDefButBit().
| uiBut* uiDefButBitF | ( | uiBlock * | block, |
| int | type, | ||
| int | bit, | ||
| int | retval, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| float * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 2856 of file interface.c.
References FLO, and uiDefButBit().
| uiBut* uiDefButBitI | ( | uiBlock * | block, |
| int | type, | ||
| int | bit, | ||
| int | retval, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| int * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 2864 of file interface.c.
References INT, and uiDefButBit().
Referenced by controller_state_mask_menu(), curvemap_clipping_func(), draw_actuatorbuttons(), draw_controllerbuttons(), and logic_buttons().
| uiBut* uiDefButBitS | ( | uiBlock * | block, |
| int | type, | ||
| int | bit, | ||
| int | retval, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| short * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 2872 of file interface.c.
References SHO, and uiDefButBit().
Referenced by draw_actuatorbuttons(), draw_sensorbuttons(), logic_buttons(), logic_buttons_new(), and v3d_editvertex_buts().
| uiBut* uiDefButC | ( | uiBlock * | block, |
| int | type, | ||
| int | retval, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| char * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 2876 of file interface.c.
References CHA, and uiDefBut().
Referenced by draw_sensorbuttons(), and uiTemplateHeader3D().
| uiBut* uiDefButF | ( | uiBlock * | block, |
| int | type, | ||
| int | retval, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| float * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 2852 of file interface.c.
References FLO, and uiDefBut().
Referenced by curvemap_clipping_func(), draw_actuatorbuttons(), draw_modifier__envelope(), draw_modifier__generator(), draw_sensorbuttons(), node_buts_normal(), ui_block_func_MENUSTR(), uiBlockPicker(), uiItemV(), uvedit_vertex_buttons(), v3d_editvertex_buts(), v3d_posearmature_buts(), and view3d_panel_vgroup().
| uiBut* uiDefButI | ( | uiBlock * | block, |
| int | type, | ||
| int | retval, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| int * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 2860 of file interface.c.
References INT, and uiDefBut().
Referenced by curvemap_buttons_layout(), draw_actuatorbuttons(), draw_controllerbuttons(), draw_modifier__generator(), draw_sensorbuttons(), uiTemplateImage(), and uiTemplateList().
| uiBut* uiDefButO | ( | uiBlock * | block, |
| int | type, | ||
| const char * | opname, | ||
| int | opcontext, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| const char * | tip | ||
| ) |
Definition at line 2898 of file interface.c.
References ui_check_but(), and ui_def_but_operator().
Referenced by draw_actuatorbuttons(), file_draw_buttons(), graph_panel_modifiers(), nla_panel_modifiers(), and uiItemFullO().
| uiBut* uiDefButR | ( | uiBlock * | block, |
| int | type, | ||
| int | retval, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| int | index, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 2884 of file interface.c.
References ui_check_but(), and ui_def_but_rna_propname().
Referenced by draw_modifier__generator(), list_item_row(), node_draw_socket_button(), and template_ID().
| uiBut* uiDefButR_prop | ( | uiBlock * | block, |
| int | type, | ||
| int | retval, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| struct PointerRNA * | ptr, | ||
| struct PropertyRNA * | prop, | ||
| int | index, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 2891 of file interface.c.
References ui_check_but(), and ui_def_but_rna().
Referenced by circle_picker(), list_item_row(), square_picker(), ui_item_array(), ui_item_enum_expand(), ui_item_with_label(), uiBlockPicker(), uiDefAutoButR(), uiItemFullR(), and uiTemplateColorWheel().
| uiBut* uiDefButS | ( | uiBlock * | block, |
| int | type, | ||
| int | retval, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| short * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 2868 of file interface.c.
References SHO, and uiDefBut().
Referenced by colorband_buttons_large(), colorband_buttons_small(), draw_actuatorbuttons(), draw_default_sensor_header(), draw_sensorbuttons(), logic_buttons(), node_shader_buts_dynamic(), outliner_draw_keymapbuts(), uiblock_layer_pass_buttons(), uiBlockPicker(), and uiTemplatePreview().
| uiBut* uiDefButTextO | ( | uiBlock * | block, |
| int | type, | ||
| const char * | opname, | ||
| int | opcontext, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| void * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 2906 of file interface.c.
References ui_check_but(), and ui_def_but_operator_text().
Referenced by file_draw_buttons().
| uiBut* uiDefHotKeyevtButS | ( | uiBlock * | block, |
| int | retval, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| short * | keypoin, | ||
| short * | modkeypoin, | ||
| const char * | tip | ||
| ) |
Definition at line 3413 of file interface.c.
References HOTKEYEVT, uiBut::modifier_key, SHO, ui_check_but(), and ui_def_but().
| uiBut* uiDefIconBlockBut | ( | uiBlock * | block, |
| uiBlockCreateFunc | func, | ||
| void * | arg, | ||
| int | retval, | ||
| int | icon, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| const char * | tip | ||
| ) |
Definition at line 3389 of file interface.c.
References BLOCK, uiBut::block_create_func, uiBut::flag, uiBut::icon, ui_check_but(), ui_def_but(), UI_HAS_ICON, and UI_ICON_LEFT.
Referenced by curvemap_buttons_layout().
| uiBut* uiDefIconBut | ( | uiBlock * | block, |
| int | type, | ||
| int | retval, | ||
| int | icon, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| void * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 2914 of file interface.c.
References ui_check_but_and_iconize(), and ui_def_but().
Referenced by ANIM_uiTemplate_fmodifier_draw(), curvemap_buttons_layout(), draw_constraint(), draw_modifier__envelope(), file_draw_icon(), gp_drawui_layer(), graph_panel_drivers(), logic_buttons(), logic_buttons_new(), node_draw_basis(), outliner_draw_restrictbuts(), template_ID(), tselem_draw_icon_uibut(), uiblock_layer_pass_arrow_buttons(), uiDefIconButBit(), uiDefIconButC(), uiDefIconButF(), uiDefIconButI(), uiDefIconButS(), uiItemL_(), uiTemplateReportsBanner(), and uiTemplateRunningJobs().
| uiBut* uiDefIconButBitC | ( | uiBlock * | block, |
| int | type, | ||
| int | bit, | ||
| int | retval, | ||
| int | icon, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| char * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 2958 of file interface.c.
References CHA, and uiDefIconButBit().
Referenced by buttons_context_draw(), draw_setting_widget(), and uiTemplateHeader3D().
| uiBut* uiDefIconButBitF | ( | uiBlock * | block, |
| int | type, | ||
| int | bit, | ||
| int | retval, | ||
| int | icon, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| float * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 2934 of file interface.c.
References FLO, and uiDefIconButBit().
| uiBut* uiDefIconButBitI | ( | uiBlock * | block, |
| int | type, | ||
| int | bit, | ||
| int | retval, | ||
| int | icon, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| int * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 2942 of file interface.c.
References INT, and uiDefIconButBit().
Referenced by draw_modifier(), draw_setting_widget(), and outliner_draw_restrictbuts().
| uiBut* uiDefIconButBitS | ( | uiBlock * | block, |
| int | type, | ||
| int | bit, | ||
| int | retval, | ||
| int | icon, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| short * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 2950 of file interface.c.
References SHO, and uiDefIconButBit().
Referenced by draw_default_sensor_header(), draw_setting_widget(), ED_area_header_standardbuttons(), logic_buttons(), uiTemplateEditModeSelection(), and v3d_posearmature_buts().
| uiBut* uiDefIconButC | ( | uiBlock * | block, |
| int | type, | ||
| int | retval, | ||
| int | icon, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| char * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 2954 of file interface.c.
References CHA, and uiDefIconBut().
| uiBut* uiDefIconButF | ( | uiBlock * | block, |
| int | type, | ||
| int | retval, | ||
| int | icon, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| float * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 2930 of file interface.c.
References FLO, and uiDefIconBut().
Referenced by ui_block_func_ICONROW(), and uiItemV().
| uiBut* uiDefIconButI | ( | uiBlock * | block, |
| int | type, | ||
| int | retval, | ||
| int | icon, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| int * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 2938 of file interface.c.
References INT, and uiDefIconBut().
| uiBut* uiDefIconButO | ( | uiBlock * | block, |
| int | type, | ||
| const char * | opname, | ||
| int | opcontext, | ||
| int | icon, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| const char * | tip | ||
| ) |
Definition at line 2976 of file interface.c.
References ui_check_but_and_iconize(), and ui_def_but_operator().
Referenced by file_draw_buttons(), node_draw_group(), template_ID(), ui_item_with_label(), uiBlockPicker(), uiItemFullO(), and uiTemplateReportsBanner().
| uiBut* uiDefIconButR | ( | uiBlock * | block, |
| int | type, | ||
| int | retval, | ||
| int | icon, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| int | index, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 2962 of file interface.c.
References ui_check_but_and_iconize(), and ui_def_but_rna_propname().
Referenced by list_item_row(), outliner_draw_restrictbuts(), and uiItemFullR().
| uiBut* uiDefIconButR_prop | ( | uiBlock * | block, |
| int | type, | ||
| int | retval, | ||
| int | icon, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| struct PointerRNA * | ptr, | ||
| PropertyRNA * | prop, | ||
| int | index, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 2969 of file interface.c.
References ui_check_but_and_iconize(), and ui_def_but_rna().
Referenced by ui_item_enum_expand(), uiDefAutoButR(), and uiTemplateList().
| uiBut* uiDefIconButS | ( | uiBlock * | block, |
| int | type, | ||
| int | retval, | ||
| int | icon, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| short * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 2946 of file interface.c.
References SHO, and uiDefIconBut().
Referenced by buttons_header_buttons().
| uiBut* uiDefIconMenuBut | ( | uiBlock * | block, |
| uiMenuCreateFunc | func, | ||
| void * | arg, | ||
| int | icon, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| const char * | tip | ||
| ) |
Definition at line 3355 of file interface.c.
References uiBut::flag, uiBut::icon, uiBut::menu_create_func, PULLDOWN, ui_check_but(), ui_def_but(), UI_HAS_ICON, and UI_ICON_LEFT.
Referenced by ui_item_menu().
| uiBut* uiDefIconTextBlockBut | ( | uiBlock * | block, |
| uiBlockCreateFunc | func, | ||
| void * | arg, | ||
| int | icon, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| const char * | tip | ||
| ) |
Definition at line 3370 of file interface.c.
References BLOCK, uiBut::block_create_func, uiBut::flag, uiBut::icon, ui_check_but(), ui_def_but(), UI_HAS_ICON, UI_ICON_LEFT, and UI_ICON_SUBMENU.
| uiBut* uiDefIconTextBut | ( | uiBlock * | block, |
| int | type, | ||
| int | retval, | ||
| int | icon, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| void * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 2985 of file interface.c.
References uiBut::flag, ui_check_but_and_iconize(), ui_def_but(), and UI_ICON_LEFT.
Referenced by curvemap_brush_tools_func(), curvemap_tools_func(), dummy_viewmenu(), template_ID(), ui_but_menu(), uiDefIconTextButBit(), uiDefIconTextButC(), uiDefIconTextButF(), uiDefIconTextButI(), uiDefIconTextButS(), uiItemL_(), uiPupMenuBegin(), uiTemplateImage(), and uiTemplateRunningJobs().
| uiBut* uiDefIconTextButBitC | ( | uiBlock * | block, |
| int | type, | ||
| int | bit, | ||
| int | retval, | ||
| int | icon, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| char * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 3030 of file interface.c.
References CHA, and uiDefIconTextButBit().
| uiBut* uiDefIconTextButBitF | ( | uiBlock * | block, |
| int | type, | ||
| int | bit, | ||
| int | retval, | ||
| int | icon, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| float * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 3006 of file interface.c.
References FLO, and uiDefIconTextButBit().
| uiBut* uiDefIconTextButBitI | ( | uiBlock * | block, |
| int | type, | ||
| int | bit, | ||
| int | retval, | ||
| int | icon, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| int * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 3014 of file interface.c.
References INT, and uiDefIconTextButBit().
| uiBut* uiDefIconTextButBitS | ( | uiBlock * | block, |
| int | type, | ||
| int | bit, | ||
| int | retval, | ||
| int | icon, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| short * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 3022 of file interface.c.
References SHO, and uiDefIconTextButBit().
| uiBut* uiDefIconTextButC | ( | uiBlock * | block, |
| int | type, | ||
| int | retval, | ||
| int | icon, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| char * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 3026 of file interface.c.
References CHA, and uiDefIconTextBut().
Referenced by ED_area_header_switchbutton().
| uiBut* uiDefIconTextButF | ( | uiBlock * | block, |
| int | type, | ||
| int | retval, | ||
| int | icon, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| float * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 3002 of file interface.c.
References FLO, and uiDefIconTextBut().
Referenced by ui_block_func_ICONTEXTROW(), ui_block_func_MENUSTR(), and uiItemV().
| uiBut* uiDefIconTextButI | ( | uiBlock * | block, |
| int | type, | ||
| int | retval, | ||
| int | icon, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| int * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 3010 of file interface.c.
References INT, and uiDefIconTextBut().
| uiBut* uiDefIconTextButO | ( | uiBlock * | block, |
| int | type, | ||
| const char * | opname, | ||
| int | opcontext, | ||
| int | icon, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| const char * | tip | ||
| ) |
Definition at line 3050 of file interface.c.
References uiBut::flag, ui_check_but_and_iconize(), ui_def_but_operator(), and UI_ICON_LEFT.
Referenced by template_ID(), and uiItemFullO().
| uiBut* uiDefIconTextButR | ( | uiBlock * | block, |
| int | type, | ||
| int | retval, | ||
| int | icon, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| int | index, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 3034 of file interface.c.
References uiBut::flag, ui_check_but_and_iconize(), ui_def_but_rna_propname(), and UI_ICON_LEFT.
| uiBut* uiDefIconTextButR_prop | ( | uiBlock * | block, |
| int | type, | ||
| int | retval, | ||
| int | icon, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| struct PointerRNA * | ptr, | ||
| struct PropertyRNA * | prop, | ||
| int | index, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 3042 of file interface.c.
References uiBut::flag, ui_check_but_and_iconize(), ui_def_but_rna(), and UI_ICON_LEFT.
Referenced by ui_item_enum_expand(), uiDefAutoButR(), uiItemFullR(), and uiTemplateList().
| uiBut* uiDefIconTextButS | ( | uiBlock * | block, |
| int | type, | ||
| int | retval, | ||
| int | icon, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| short * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 3018 of file interface.c.
References SHO, and uiDefIconTextBut().
Referenced by file_panel_category(), and uiTemplateHeader3D().
| uiBut* uiDefIconTextMenuBut | ( | uiBlock * | block, |
| uiMenuCreateFunc | func, | ||
| void * | arg, | ||
| int | icon, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| const char * | tip | ||
| ) |
Definition at line 3339 of file interface.c.
References uiBut::flag, uiBut::icon, uiBut::menu_create_func, PULLDOWN, ui_check_but(), ui_def_but(), UI_HAS_ICON, UI_ICON_LEFT, and UI_ICON_SUBMENU.
Referenced by ui_item_menu().
| uiBut* uiDefIDPoinBut | ( | uiBlock * | block, |
| uiIDPoinFuncFP | func, | ||
| short | blocktype, | ||
| int | retval, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| void * | idpp, | ||
| const char * | tip | ||
| ) |
Definition at line 3290 of file interface.c.
References autocomplete_id(), IDPOIN, uiBut::idpoin_func, uiBut::idpoin_idpp, NULL, ui_check_but(), ui_def_but(), and uiButSetCompleteFunc().
Referenced by draw_actuatorbuttons(), draw_controllerbuttons(), and draw_sensorbuttons().
| uiBut* uiDefKeyevtButS | ( | uiBlock * | block, |
| int | retval, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| short * | spoin, | ||
| const char * | tip | ||
| ) |
Definition at line 3404 of file interface.c.
References KEYEVT, SHO, ui_check_but(), and ui_def_but().
Referenced by draw_sensorbuttons(), and outliner_draw_keymapbuts().
| uiBut* uiDefMenuBut | ( | uiBlock * | block, |
| uiMenuCreateFunc | func, | ||
| void * | arg, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| const char * | tip | ||
| ) |
Definition at line 3331 of file interface.c.
References uiBut::menu_create_func, PULLDOWN, ui_check_but(), and ui_def_but().
Referenced by ui_item_menu().
| uiBut* uiDefPulldownBut | ( | uiBlock * | block, |
| uiBlockCreateFunc | func, | ||
| void * | arg, | ||
| const char * | str, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| const char * | tip | ||
| ) |
Definition at line 3323 of file interface.c.
References uiBut::block_create_func, PULLDOWN, ui_check_but(), and ui_def_but().
Referenced by script_header_buttons(), and sound_header_buttons().
| uiBut* uiDefSearchBut | ( | uiBlock * | block, |
| void * | arg, | ||
| int | retval, | ||
| int | icon, | ||
| int | maxlen, | ||
| int | x1, | ||
| int | y1, | ||
| short | x2, | ||
| short | y2, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 3424 of file interface.c.
References uiBut::flag, uiBut::icon, SEARCH_MENU, ui_check_but(), ui_def_but(), UI_HAS_ICON, UI_ICON_LEFT, and UI_TEXT_LEFT.
Referenced by id_search_menu(), operator_search_menu(), tool_search_menu(), uiTemplateOperatorSearch(), wm_block_search_menu(), and wm_enum_search_menu().
Referenced by buttons_header_buttons(), draw_channel_names(), draw_nla_channel_list(), draw_outliner(), ED_region_header(), file_draw_buttons(), file_draw_list(), graph_draw_channel_names(), logic_buttons(), logic_buttons_new(), node_draw_basis(), node_draw_group(), node_draw_hidden(), script_header_buttons(), sound_header_buttons(), ui_block_region_draw(), and uiEndPanels().
| void uiDrawBox | ( | int | mode, |
| float | minx, | ||
| float | miny, | ||
| float | maxx, | ||
| float | maxy, | ||
| float | rad | ||
| ) |
Definition at line 87 of file interface_draw.c.
References roundboxtype.
Referenced by acf_generic_root_backdrop(), acf_group_backdrop(), acf_summary_backdrop(), draw_image_seq(), draw_nla_channel_list_gl(), draw_scope_end(), drawviewborder(), node_draw_basis(), node_draw_group(), node_draw_hidden(), ui_draw_but_HISTOGRAM(), ui_draw_but_NORMAL(), ui_dropshadow(), uiRoundBox(), and uiRoundRect().
| void uiDrawBoxShade | ( | int | mode, |
| float | minx, | ||
| float | miny, | ||
| float | maxx, | ||
| float | maxy, | ||
| float | rad, | ||
| float | shadetop, | ||
| float | shadedown | ||
| ) |
Definition at line 157 of file interface_draw.c.
References MakeCursor::color, div, round_box_shade_col(), and roundboxtype.
Referenced by draw_seq_strip(), nla_draw_strip(), and region_draw_azone_tab().
| void uiDrawBoxShadow | ( | unsigned char | alpha, |
| float | minx, | ||
| float | miny, | ||
| float | maxx, | ||
| float | maxy | ||
| ) |
Definition at line 1576 of file interface_draw.c.
References ui_shadowbox().
Referenced by file_draw_preview().
| void uiDrawBoxVerticalShade | ( | int | mode, |
| float | minx, | ||
| float | miny, | ||
| float | maxx, | ||
| float | maxy, | ||
| float | rad, | ||
| float | shadeLeft, | ||
| float | shadeRight | ||
| ) |
Definition at line 266 of file interface_draw.c.
References MakeCursor::color, div, round_box_shade_col(), and roundboxtype.
| void uiDrawMenuBox | ( | float | minx, |
| float | miny, | ||
| float | maxx, | ||
| float | maxy, | ||
| short | flag, | ||
| short | direction | ||
| ) |
| void uiEmboss | ( | float | x1, |
| float | y1, | ||
| float | x2, | ||
| float | y2, | ||
| int | sel | ||
| ) |
Definition at line 451 of file interface_draw.c.
References fdrawline().
Referenced by draw_actuatorbuttons(), draw_controllerbuttons(), and draw_sensorbuttons().
Referenced by actuator_menu(), buttons_header_buttons(), controller_menu(), controller_state_mask_menu(), curvemap_brush_tools_func(), curvemap_clipping_func(), curvemap_tools_func(), draw_channel_names(), draw_nla_channel_list(), draw_outliner(), dummy_viewmenu(), ED_region_header(), ED_region_panels(), file_draw_buttons(), file_draw_list(), graph_draw_channel_names(), id_search_menu(), logic_buttons(), logic_buttons_new(), menu_add_shortcut(), menu_change_shortcut(), node_draw_basis(), node_draw_group(), node_draw_hidden(), object_state_mask_menu(), operator_search_menu(), script_header_buttons(), sensor_menu(), sound_header_buttons(), tool_search_menu(), ui_block_func_POPUP(), ui_popup_block_create(), uiDrawBlock(), wm_block_create_redo(), wm_block_create_splash(), wm_block_dialog_create(), wm_block_search_menu(), wm_enum_search_menu(), and wm_operator_ui_create().
| void uiEndPanel | ( | uiBlock * | block, |
| int | width, | ||
| int | height | ||
| ) |
Definition at line 268 of file interface_panel.c.
References ELEM, Panel::ofsy, uiBlock::panel, PNL_ANIM_ALIGN, PNL_NEW_ADDED, Panel::runtime_flag, Panel::sizex, and Panel::sizey.
Referenced by ED_region_panels().
Referenced by ED_region_panels().
| void uiFileBrowseContextProperty | ( | const struct bContext * | C, |
| struct PointerRNA * | ptr, | ||
| struct PropertyRNA ** | prop | ||
| ) |
Referenced by file_browse_invoke().
Definition at line 1061 of file interface.c.
References ui_find_inlink().
Referenced by is_sensor_linked().
Referenced by ED_screen_do_listen().
Referenced by uiFreeBlocks(), and uiFreeInactiveBlocks().
Referenced by ED_area_initialize(), ED_screen_full_toggle(), and ui_handler_remove_region().
Referenced by ED_region_do_draw().
Definition at line 1991 of file interface.c.
References BLI_findstring(), and ARegion::uiblocks.
| int uiGetRoundBox | ( | void | ) |
Definition at line 82 of file interface_draw.c.
References roundboxtype.
| int uiIconFromID | ( | struct ID * | id | ) |
Definition at line 188 of file interface_utils.c.
References Object::data, GS, ID_OB, ID::name, NULL, OB_EMPTY, RNA_id_pointer_create(), RNA_struct_ui_icon(), PointerRNA::type, Object::type, and uiIconFromID().
Referenced by mouse_select_menu(), and uiIconFromID().
| void uiIDContextProperty | ( | struct bContext * | C, |
| struct PointerRNA * | ptr, | ||
| struct PropertyRNA ** | prop | ||
| ) |
Definition at line 207 of file interface_templates.c.
References uiBlock::buttons, CTX_wm_region(), ListBase::first, uiBut::flag, uiBut::func_argN, uiBut::next, uiBlock::next, NULL, UI_ACTIVE, UI_BUT_LAST_ACTIVE, and ARegion::uiblocks.
Referenced by act_new_exec(), font_ui_template_init(), font_unlink_exec(), image_new_exec(), new_exec(), new_material_exec(), new_texture_exec(), new_world_exec(), and open_init().
| void uiItemBooleanO | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon, | ||
| const char * | opname, | ||
| const char * | propname, | ||
| int | value | ||
| ) |
Definition at line 857 of file interface_layout.c.
References PointerRNA::data, uiLayoutRoot::opcontext, RNA_boolean_set(), uiLayout::root, uiItemFullO(), and WM_operator_properties_create().
Referenced by pack_invoke(), pose_ik_add_invoke(), and ui_but_menu().
| void uiItemEnumO | ( | uiLayout * | layout, |
| const char * | opname, | ||
| const char * | name, | ||
| int | icon, | ||
| const char * | propname, | ||
| int | value | ||
| ) |
Definition at line 706 of file interface_layout.c.
References PointerRNA::data, uiLayoutRoot::opcontext, RNA_enum_set(), uiLayout::root, ui_menu_enumpropname(), uiItemFullO(), and WM_operator_properties_create().
Referenced by armature_parent_set_invoke(), delete_invoke(), draw_actuator_header(), draw_controller_header(), draw_modifier(), draw_sensor_header(), graph_panel_view(), nla_fmodifier_add_invoke(), parent_set_invoke(), resolve_conflict_invoke(), and uiItemsFullEnumO().
| void uiItemEnumO_string | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon, | ||
| const char * | opname, | ||
| const char * | propname, | ||
| const char * | value | ||
| ) |
Definition at line 820 of file interface_layout.c.
References uiLayoutRoot::block, PointerRNA::data, uiBlock::evil_C, MEM_freeN(), NULL, uiLayoutRoot::opcontext, RNA_enum_value_from_id(), RNA_property_enum_items(), RNA_property_enum_set(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning(), uiLayout::root, PointerRNA::type, ui_menu_enumpropname(), uiItemFullO(), and WM_operator_properties_create().
| void uiItemEnumO_value | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon, | ||
| const char * | opname, | ||
| const char * | propname, | ||
| int | value | ||
| ) |
Definition at line 793 of file interface_layout.c.
References PointerRNA::data, uiLayoutRoot::opcontext, RNA_property_enum_set(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning(), uiLayout::root, PointerRNA::type, ui_menu_enumpropname(), uiItemFullO(), and WM_operator_properties_create().
Referenced by ANIM_keying_sets_menu_setup().
| void uiItemEnumR | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon, | ||
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| int | value | ||
| ) |
Definition at line 1057 of file interface_layout.c.
References PROP_ENUM, RNA_ENUM_VALUE, RNA_property_type(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning(), PointerRNA::type, ui_item_disabled(), and uiItemFullR().
Referenced by uiItemsEnumR().
| void uiItemEnumR_string | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| const char * | value, | ||
| const char * | name, | ||
| int | icon | ||
| ) |
Definition at line 1070 of file interface_layout.c.
References uiLayoutRoot::block, uiBlock::evil_C, EnumPropertyItem::identifier, MEM_freeN(), NULL, PROP_ENUM, RNA_ENUM_VALUE, RNA_enum_value_from_id(), RNA_property_enum_items(), RNA_property_type(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning(), uiLayout::root, PointerRNA::type, ui_item_disabled(), and uiItemFullR().
Referenced by draw_gpencil_panel().
| void uiItemFloatO | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon, | ||
| const char * | opname, | ||
| const char * | propname, | ||
| float | value | ||
| ) |
Definition at line 877 of file interface_layout.c.
References PointerRNA::data, uiLayoutRoot::opcontext, RNA_float_set(), uiLayout::root, uiItemFullO(), and WM_operator_properties_create().
| PointerRNA uiItemFullO | ( | uiLayout * | layout, |
| const char * | idname, | ||
| const char * | name, | ||
| int | icon, | ||
| struct IDProperty * | properties, | ||
| int | context, | ||
| int | flag | ||
| ) |
Definition at line 613 of file interface_layout.c.
References assert, uiLayoutRoot::block, BUT, PointerRNA::data, uiBut::flag, wmOperatorType::idname, IDP_GROUP, IDP_New(), wmOperatorType::name, NULL, uiBut::optype, PointerRNA_NULL, uiLayout::redalert, RNA_warning(), uiLayout::root, uiLayoutRoot::type, UI_BUT_REDALERT, UI_EMBOSS, UI_EMBOSSN, ui_item_disabled(), UI_ITEM_O_RETURN_PROPS, UI_ITEM_R_NO_BG, UI_LAYOUT_MENU, UI_LAYOUT_TOOLBAR, ui_text_icon_width(), UI_TEXT_LEFT, UI_UNIT_Y, uiBlockSetCurLayout(), uiBlockSetEmboss(), uiButGetOperatorPtrRNA(), uiButSetFlag(), uiDefButO(), uiDefIconButO(), uiDefIconTextButO(), simple_enum_gen::val, simple_enum_gen::w, and WM_operatortype_find().
Referenced by graph_fmodifier_add_invoke(), make_proxy_invoke(), mouse_select_menu(), node_composit_buts_renderlayers(), poselib_add_menu_invoke__replacemenu(), screen_area_options_invoke(), ui_but_menu(), uiItemBooleanO(), uiItemEnumO(), uiItemEnumO_string(), uiItemEnumO_value(), uiItemFloatO(), uiItemIntO(), uiItemO(), uiItemsFullEnumO(), uiItemStringO(), uiLayoutOperatorButs(), unpack_menu(), view3d_panel_tool_shelf(), and WM_operator_confirm_message().
| void uiItemFullR | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| struct PropertyRNA * | prop, | ||
| int | index, | ||
| int | value, | ||
| int | flag, | ||
| const char * | name, | ||
| int | icon | ||
| ) |
Definition at line 948 of file interface_layout.c.
References uiLayoutRoot::block, ELEM4, NULL, NUM, NUMSLI, OPTION, PROP_BOOLEAN, PROP_ENUM, PROP_ENUM_FLAG, PROP_FLOAT, PROP_INT, PROP_POINTER, PROP_STRING, uiLayout::redalert, RNA_ENUM_VALUE, RNA_NO_INDEX, RNA_property_array_length(), RNA_property_boolean_get(), RNA_property_enum_get(), RNA_property_flag(), RNA_property_identifier(), RNA_property_type(), RNA_property_ui_icon(), RNA_property_ui_name(), uiLayout::root, ROW, TOG, uiLayoutRoot::type, uiBut::type, ui_but_add_search(), UI_BUT_REDALERT, UI_EMBOSS, UI_EMBOSSN, ui_item_array(), ui_item_enum_expand(), ui_item_name_add_colon(), UI_ITEM_R_EXPAND, UI_ITEM_R_ICON_ONLY, UI_ITEM_R_NO_BG, UI_ITEM_R_SLIDER, UI_ITEM_R_TOGGLE, ui_item_rna_size(), ui_item_with_label(), UI_LAYOUT_MENU, UI_MAX_NAME_STR, uiBlockSetCurLayout(), uiBlockSetEmboss(), uiButSetFlag(), uiDefAutoButR(), uiDefButR_prop(), uiDefIconButR(), uiDefIconTextButR_prop(), and simple_enum_gen::w.
Referenced by uiDefAutoButsRNA(), uiItemEnumR(), uiItemEnumR_string(), uiItemR(), and uiTemplateAnyID().
| void uiItemIntO | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon, | ||
| const char * | opname, | ||
| const char * | propname, | ||
| int | value | ||
| ) |
Definition at line 867 of file interface_layout.c.
References PointerRNA::data, uiLayoutRoot::opcontext, RNA_int_set(), uiLayout::root, uiItemFullO(), and WM_operator_properties_create().
Referenced by ANIM_keying_sets_menu_setup(), file_panel_category(), pose_groups_menu_invoke(), poselib_add_menu_invoke(), repeat_history_invoke(), and undo_history_invoke().
| void uiItemL | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon | ||
| ) |
Definition at line 1446 of file interface_layout.c.
References uiItemL_().
Referenced by ANIM_uiTemplate_fmodifier_draw(), buttons_context_draw(), draw_actuator_action(), draw_actuator_armature(), draw_actuator_constraint(), draw_actuator_edit_object(), draw_actuator_header(), draw_actuator_motion(), draw_actuator_random(), draw_actuator_shape_action(), draw_actuator_sound(), draw_constraint(), draw_controller_header(), draw_gpencil_panel(), draw_modifier(), draw_modifier__cycles(), draw_modifier__envelope(), draw_sensor_armature(), draw_sensor_header(), draw_sensor_keyboard(), file_panel_bookmarks(), gp_drawui_layer(), graph_panel_drivers(), graph_panel_key_properties(), graph_panel_properties(), list_item_row(), logic_buttons_new(), nla_panel_actclip(), nla_panel_properties(), node_composit_buts_blur(), node_composit_buts_channel_matte(), node_composit_buts_color_spill(), node_composit_buts_dblur(), node_composit_buts_defocus(), node_composit_buts_image(), node_composit_buts_vecblur(), node_shader_buts_mapping(), recent_files_menu_draw(), ui_block_func_MENUSTR(), uiblock_layer_pass_arrow_buttons(), uiDefAutoButsRNA(), uiItemsEnumR(), uiItemsFullEnumO(), uiLayoutOperatorButs(), uiTemplateAnyID(), uiTemplateImage(), uiTemplateList(), v3d_editarmature_buts(), v3d_editmetaball_buts(), v3d_posearmature_buts(), v3d_transform_butsR(), view3d_panel_operator_redo_operator(), wm_block_create_redo(), and wm_block_create_splash().
| void uiItemLDrag | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | name, | ||
| int | icon | ||
| ) |
Definition at line 1451 of file interface_layout.c.
References PointerRNA::data, PointerRNA::id, RNA_struct_is_ID(), PointerRNA::type, uiButSetDragID(), and uiItemL_().
Referenced by buttons_context_draw().
| void uiItemM | ( | uiLayout * | layout, |
| struct bContext * | C, | ||
| const char * | menuname, | ||
| const char * | name, | ||
| int | icon | ||
| ) |
Referenced by uiLayoutOperatorButs().
| void uiItemMenuEnumO | ( | uiLayout * | layout, |
| const char * | opname, | ||
| const char * | propname, | ||
| const char * | name, | ||
| int | icon | ||
| ) |
Definition at line 1521 of file interface_layout.c.
References BLI_strncpy(), MEM_callocN(), menu_item_enum_opname_menu(), wmOperatorType::name, NULL, uiLayoutRoot::opcontext, MenuItemLevel::opcontext, MenuItemLevel::opname, MenuItemLevel::propname, RNA_warning(), uiLayout::root, wmOperatorType::srna, uiLayoutRoot::type, ui_item_disabled(), ui_item_menu(), UI_LAYOUT_MENU, and WM_operatortype_find().
Referenced by logic_buttons_new().
| void uiItemMenuEnumR | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| const char * | name, | ||
| int | icon | ||
| ) |
Definition at line 1558 of file interface_layout.c.
References BLI_strncpy(), MEM_callocN(), menu_item_enum_rna_menu(), NULL, uiLayoutRoot::opcontext, MenuItemLevel::opcontext, MenuItemLevel::propname, RNA_property_ui_name(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning(), MenuItemLevel::rnapoin, uiLayout::root, PointerRNA::type, uiLayoutRoot::type, ui_item_disabled(), ui_item_menu(), and UI_LAYOUT_MENU.
| void uiItemMenuF | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon, | ||
| uiMenuCreateFunc | func, | ||
| void * | arg | ||
| ) |
Definition at line 1496 of file interface_layout.c.
References NULL, and ui_item_menu().
Referenced by node_menu_add(), and poselib_add_menu_invoke().
| void uiItemO | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon, | ||
| const char * | opname | ||
| ) |
Definition at line 897 of file interface_layout.c.
References NULL, uiLayoutRoot::opcontext, uiLayout::root, and uiItemFullO().
Referenced by draw_actuator_header(), draw_constraint(), draw_controller_header(), draw_gpencil_panel(), draw_modifier(), draw_sensor_header(), file_panel_bookmarks(), graph_panel_modifiers(), graph_panel_view(), header_toolbox_invoke(), nla_panel_actclip(), nla_panel_modifiers(), ui_but_menu(), uiTemplateImage(), and wm_block_create_splash().
| void uiItemPointerR | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| struct PointerRNA * | searchptr, | ||
| const char * | searchpropname, | ||
| const char * | name, | ||
| int | icon | ||
| ) |
Definition at line 1292 of file interface_layout.c.
References ELEM, PROP_COLLECTION, PROP_POINTER, PROP_STRING, RNA_property_pointer_type(), RNA_property_type(), RNA_property_ui_name(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_struct_ui_icon(), RNA_warning(), PointerRNA::type, ui_but_add_search(), ui_item_rna_size(), ui_item_with_label(), uiLayoutGetBlock(), and simple_enum_gen::w.
Referenced by draw_actuator_action(), draw_actuator_armature(), draw_actuator_constraint(), draw_actuator_ipo(), draw_actuator_message(), draw_actuator_property(), draw_actuator_random(), draw_actuator_shape_action(), draw_sensor_actuator(), draw_sensor_armature(), draw_sensor_collision(), draw_sensor_keyboard(), draw_sensor_property(), draw_sensor_ray(), graph_panel_driverVar__locDiff(), graph_panel_driverVar__rotDiff(), graph_panel_driverVar__transChan(), and node_shader_buts_geometry().
| void uiItemR | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| int | flag, | ||
| const char * | name, | ||
| int | icon | ||
| ) |
Definition at line 1044 of file interface_layout.c.
References RNA_NO_INDEX, RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning(), PointerRNA::type, ui_item_disabled(), and uiItemFullR().
Referenced by active_node_panel(), ANIM_uiTemplate_fmodifier_draw(), colorband_buttons_large(), colorband_buttons_small(), curvemap_buttons_layout(), draw_actuator_action(), draw_actuator_armature(), draw_actuator_camera(), draw_actuator_constraint(), draw_actuator_edit_object(), draw_actuator_filter_2d(), draw_actuator_game(), draw_actuator_header(), draw_actuator_ipo(), draw_actuator_message(), draw_actuator_motion(), draw_actuator_parent(), draw_actuator_property(), draw_actuator_random(), draw_actuator_scene(), draw_actuator_shape_action(), draw_actuator_sound(), draw_actuator_state(), draw_actuator_visibility(), draw_constraint(), draw_controller_expression(), draw_controller_header(), draw_controller_python(), draw_gpencil_panel(), draw_modifier(), draw_modifier__cycles(), draw_modifier__envelope(), draw_modifier__fn_generator(), draw_modifier__limits(), draw_modifier__noise(), draw_modifier__stepped(), draw_sensor_armature(), draw_sensor_collision(), draw_sensor_delay(), draw_sensor_header(), draw_sensor_internal_header(), draw_sensor_joystick(), draw_sensor_keyboard(), draw_sensor_message(), draw_sensor_mouse(), draw_sensor_near(), draw_sensor_property(), draw_sensor_radar(), draw_sensor_random(), draw_sensor_ray(), draw_sensor_touch(), gp_drawui_layer(), graph_panel_drivers(), graph_panel_driverVar__locDiff(), graph_panel_driverVar__transChan(), graph_panel_key_properties(), graph_panel_properties(), graph_panel_view(), list_item_row(), logic_buttons_new(), menu_add_shortcut(), menu_change_shortcut(), nla_panel_actclip(), nla_panel_animdata(), nla_panel_evaluation(), nla_panel_properties(), nla_panel_track(), node_buts_math(), node_buts_mix_rgb(), node_buts_rgb(), node_buts_texture(), node_buts_time(), node_buts_value(), node_composit_buts_alphaover(), node_composit_buts_bilateralblur(), node_composit_buts_blur(), node_composit_buts_channel_matte(), node_composit_buts_chroma_matte(), node_composit_buts_color_matte(), node_composit_buts_color_spill(), node_composit_buts_colorbalance(), node_composit_buts_colorbalance_but(), node_composit_buts_crop(), node_composit_buts_dblur(), node_composit_buts_defocus(), node_composit_buts_diff_matte(), node_composit_buts_dilateerode(), node_composit_buts_distance_matte(), node_composit_buts_file_output(), node_composit_buts_filter(), node_composit_buts_flip(), node_composit_buts_glare(), node_composit_buts_hue_sat(), node_composit_buts_id_mask(), node_composit_buts_image(), node_composit_buts_invert(), node_composit_buts_lensdist(), node_composit_buts_luma_matte(), node_composit_buts_map_uv(), node_composit_buts_map_value(), node_composit_buts_premulkey(), node_composit_buts_renderlayers(), node_composit_buts_rotate(), node_composit_buts_scale(), node_composit_buts_splitviewer(), node_composit_buts_tonemap(), node_composit_buts_vecblur(), node_composit_buts_view_levels(), node_composit_buts_ycc(), node_composit_buts_zcombine(), node_shader_buts_geometry(), node_shader_buts_mapping(), node_shader_buts_material(), node_shader_buts_vect_math(), node_texture_buts_bricks(), node_texture_buts_output(), node_texture_buts_proc(), socket_vector_menu(), uiTemplateHeader3D(), uiTemplateImage(), uiTemplatePathBuilder(), uiTemplatePreview(), v3d_editarmature_buts(), v3d_editmetaball_buts(), and v3d_transform_butsR().
| void uiItemS | ( | uiLayout * | layout | ) |
Definition at line 1487 of file interface_layout.c.
References uiLayoutRoot::block, EM_SEPR_X, EM_SEPR_Y, NULL, uiLayout::root, SEPR, uiBlockSetCurLayout(), and uiDefBut().
Referenced by active_node_panel(), ANIM_keying_sets_menu_setup(), graph_fmodifier_add_invoke(), header_toolbox_invoke(), logic_buttons_new(), nla_fmodifier_add_invoke(), node_auto_add_menu(), node_composit_buts_dblur(), pose_groups_menu_invoke(), ui_block_func_ICONTEXTROW(), ui_but_menu(), uiItemsEnumR(), uiItemsFullEnumO(), uiTemplateColorWheel(), uiTemplateImage(), and wm_block_create_splash().
| void uiItemsEnumO | ( | uiLayout * | layout, |
| const char * | opname, | ||
| const char * | propname | ||
| ) |
Definition at line 787 of file interface_layout.c.
References NULL, uiLayoutRoot::opcontext, uiLayout::root, and uiItemsFullEnumO().
Referenced by delete_invoke(), menu_item_enum_opname_menu(), object_metaball_add_invoke(), select_orientation_invoke(), toggle_cyclic_invoke(), and unpack_all_invoke().
| void uiItemsEnumR | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname | ||
| ) |
Definition at line 1102 of file interface_layout.c.
References uiLayoutRoot::block, uiBlock::buttons, uiBlock::evil_C, uiBut::flag, uiBlock::flag, i, ListBase::last, MEM_freeN(), PROP_ENUM, RNA_property_enum_items(), RNA_property_type(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning(), uiLayout::root, split(), PointerRNA::type, UI_BLOCK_NO_FLIP, ui_item_disabled(), UI_TEXT_LEFT, uiItemEnumR(), uiItemL(), uiItemS(), uiLayoutColumn(), and uiLayoutSplit().
Referenced by menu_item_enum_rna_menu(), and toolbox_invoke().
| void uiItemsFullEnumO | ( | uiLayout * | layout, |
| const char * | opname, | ||
| const char * | propname, | ||
| struct IDProperty * | properties, | ||
| int | context, | ||
| int | flag | ||
| ) |
Definition at line 719 of file interface_layout.c.
References BLI_assert, uiLayoutRoot::block, uiBlock::buttons, PointerRNA::data, uiBlock::evil_C, uiBut::flag, uiBlock::flag, i, IDP_CopyProperty(), IDP_FreeProperty(), ListBase::last, MEM_freeN(), NULL, PROP_ENUM, RNA_enum_set(), RNA_pointer_create(), RNA_property_enum_items(), RNA_property_type(), RNA_struct_find_property(), RNA_warning(), uiLayout::root, split(), wmOperatorType::srna, UI_BLOCK_NO_FLIP, ui_item_disabled(), UI_TEXT_LEFT, uiItemEnumO(), uiItemFullO(), uiItemL(), uiItemS(), uiLayoutColumn(), uiLayoutSplit(), WM_operator_properties_create(), and WM_operatortype_find().
Referenced by uiItemsEnumO(), and WM_menu_invoke().
| void uiItemStringO | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon, | ||
| const char * | opname, | ||
| const char * | propname, | ||
| const char * | value | ||
| ) |
Definition at line 887 of file interface_layout.c.
References PointerRNA::data, uiLayoutRoot::opcontext, RNA_string_set(), uiLayout::root, uiItemFullO(), and WM_operator_properties_create().
Referenced by draw_modifier(), recent_files_menu_draw(), select_grouped_group(), and wm_block_create_splash().
| void uiItemV | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon, | ||
| int | argval | ||
| ) |
Definition at line 1462 of file interface_layout.c.
References uiLayoutRoot::block, BUTM, uiBlock::handle, NULL, uiPopupBlockHandle::retvalue, uiLayout::root, uiLayoutRoot::type, UI_LAYOUT_MENU, ui_text_icon_width(), UI_UNIT_Y, uiBlockSetCurLayout(), uiDefButF(), uiDefIconButF(), uiDefIconTextButF(), and simple_enum_gen::w.
Referenced by node_auto_add_menu().
Definition at line 2196 of file interface_layout.c.
References uiLayout::active, uiLayout::align, BLI_addtail(), uiLayoutRoot::block, uiLayout::context, uiLayout::enabled, uiLayout::item, ITEM_LAYOUT_ABSOLUTE, uiLayout::items, MEM_callocN(), uiLayout::root, uiItem::type, and uiBlockSetCurLayout().
Referenced by ui_item_array(), uiLayoutAbsoluteBlock(), uiTemplateReportsBanner(), and uiTemplateRunningJobs().
Definition at line 2214 of file interface_layout.c.
References uiLayoutAbsolute(), and uiLayoutGetBlock().
Referenced by draw_constraint(), draw_modifier(), image_panel_uv(), node_buts_normal(), node_shader_buts_dynamic(), sequencer_panel_properties(), sequencer_panel_view_properties(), uiTemplateColorRamp(), uiTemplateHeader(), uiTemplateHistogram(), uiTemplateVectorscope(), uiTemplateWaveform(), v3d_editvertex_buts(), v3d_posearmature_buts(), and view3d_panel_vgroup().
Definition at line 2178 of file interface_layout.c.
References ROUNDBOX, and ui_layout_box().
Referenced by ANIM_uiTemplate_fmodifier_draw(), draw_actuator_header(), draw_brick_actuator(), draw_brick_controller(), draw_brick_sensor(), draw_constraint(), draw_controller_header(), draw_modifier(), draw_sensor_header(), draw_sensor_internal_header(), file_panel_category(), gp_drawui_layer(), graph_panel_drivers(), and logic_buttons_new().
Definition at line 2116 of file interface_layout.c.
References uiLayout::active, uiLayout::align, BLI_addtail(), uiLayoutRoot::block, uiStyle::buttonspacey, uiLayout::context, uiLayout::enabled, uiLayout::item, ITEM_LAYOUT_COLUMN, uiLayout::items, MEM_callocN(), uiLayout::root, uiLayout::space, uiLayoutRoot::style, uiItem::type, uiBlockSetCurLayout(), and uiLayout::w.
Referenced by curvemap_buttons_layout(), draw_actuator_constraint(), draw_actuator_ipo(), draw_actuator_motion(), draw_actuator_sound(), draw_constraint(), draw_gpencil_panel(), draw_modifier(), draw_modifier__cycles(), draw_modifier__envelope(), draw_modifier__fn_generator(), draw_modifier__generator(), draw_modifier__limits(), draw_modifier__noise(), draw_modifier__stepped(), draw_sensor_joystick(), draw_sensor_keyboard(), file_panel_category(), gp_drawui_layer(), graph_panel_drivers(), graph_panel_driverVar__locDiff(), graph_panel_driverVar__rotDiff(), graph_panel_driverVar__singleProp(), graph_panel_driverVar__transChan(), graph_panel_key_properties(), graph_panel_modifiers(), graph_panel_properties(), graph_panel_view(), logic_buttons_new(), mouse_select_menu(), nla_panel_actclip(), nla_panel_evaluation(), nla_panel_modifiers(), nla_panel_properties(), node_buts_rgb(), node_composit_buts_alphaover(), node_composit_buts_bilateralblur(), node_composit_buts_blur(), node_composit_buts_channel_matte(), node_composit_buts_chroma_matte(), node_composit_buts_color_matte(), node_composit_buts_color_spill(), node_composit_buts_colorbalance(), node_composit_buts_crop(), node_composit_buts_dblur(), node_composit_buts_defocus(), node_composit_buts_diff_matte(), node_composit_buts_distance_matte(), node_composit_buts_file_output(), node_composit_buts_hue_sat(), node_composit_buts_image(), node_composit_buts_invert(), node_composit_buts_lensdist(), node_composit_buts_luma_matte(), node_composit_buts_map_value(), node_composit_buts_renderlayers(), node_composit_buts_splitviewer(), node_composit_buts_tonemap(), node_composit_buts_vecblur(), node_composit_buts_zcombine(), node_shader_buts_geometry(), node_shader_buts_material(), node_texture_buts_bricks(), node_texture_buts_proc(), socket_vector_menu(), ui_block_func_MENUSTR(), ui_item_local_sublayout(), uiDefAutoButsRNA(), uiItemsEnumR(), uiItemsFullEnumO(), uiTemplateColorWheel(), uiTemplateImage(), uiTemplateLayers(), uiTemplateList(), uiTemplatePreview(), undo_history_invoke(), v3d_editarmature_buts(), v3d_editmetaball_buts(), v3d_posearmature_buts(), v3d_transform_butsR(), view3d_panel_object(), view3d_panel_tool_shelf(), view3d_panel_vgroup(), wm_block_create_splash(), and wm_block_dialog_create().
Definition at line 2136 of file interface_layout.c.
References uiLayout::active, uiLayout::align, BLI_addtail(), uiLayoutRoot::block, uiStyle::columnspace, uiLayout::context, uiLayout::enabled, uiLayout::item, ITEM_LAYOUT_COLUMN_FLOW, uiLayout::items, uiLayoutItemFlow::litem, MEM_callocN(), uiLayoutItemFlow::number, uiLayout::root, uiLayout::space, uiLayoutRoot::style, uiItem::type, uiBlockSetCurLayout(), and uiLayout::w.
| int uiLayoutGetActive | ( | uiLayout * | layout | ) |
Definition at line 2297 of file interface_layout.c.
References uiLayout::active.
| int uiLayoutGetAlignment | ( | uiLayout * | layout | ) |
Definition at line 2317 of file interface_layout.c.
References uiLayout::alignment.
Definition at line 2570 of file interface_layout.c.
References uiLayoutRoot::block, and uiLayout::root.
Referenced by active_node_panel(), ANIM_uiTemplate_fmodifier_draw(), buttons_context_draw(), curvemap_buttons_layout(), draw_constraint(), draw_controller_header(), draw_modifier(), draw_modifier__envelope(), draw_modifier__generator(), file_panel_category(), file_panel_operator(), gp_drawui_layer(), graph_panel_drivers(), graph_panel_key_properties(), graph_panel_modifiers(), graph_panel_properties(), list_item_row(), nla_panel_actclip(), nla_panel_animdata(), nla_panel_evaluation(), nla_panel_modifiers(), nla_panel_properties(), nla_panel_track(), template_ID(), ui_block_func_ICONROW(), ui_block_func_ICONTEXTROW(), ui_block_func_MENUSTR(), ui_but_menu(), uiblock_layer_pass_arrow_buttons(), uiblock_layer_pass_buttons(), uiItemPointerR(), uiLayoutAbsoluteBlock(), uiLayoutOperatorButs(), uiTemplateColorWheel(), uiTemplateConstraint(), uiTemplateEditModeSelection(), uiTemplateHeader3D(), uiTemplateImage(), uiTemplateLayers(), uiTemplateList(), uiTemplateModifier(), uiTemplateOperatorSearch(), uiTemplatePreview(), uiTemplateReportsBanner(), uiTemplateRunningJobs(), view3d_panel_object(), view3d_panel_operator_redo(), view3d_panel_tool_shelf(), and wm_block_dialog_create().
| int uiLayoutGetEnabled | ( | uiLayout * | layout | ) |
Definition at line 2302 of file interface_layout.c.
References uiLayout::enabled.
| int uiLayoutGetKeepAspect | ( | uiLayout * | layout | ) |
Definition at line 2312 of file interface_layout.c.
References uiLayout::keepaspect.
| int uiLayoutGetOperatorContext | ( | uiLayout * | layout | ) |
Definition at line 2575 of file interface_layout.c.
References uiLayoutRoot::opcontext, and uiLayout::root.
| int uiLayoutGetRedAlert | ( | uiLayout * | layout | ) |
Definition at line 2307 of file interface_layout.c.
References uiLayout::redalert.
| float uiLayoutGetScaleX | ( | uiLayout * | layout | ) |
Definition at line 2327 of file interface_layout.c.
References uiLayout::scale.
| float uiLayoutGetScaleY | ( | uiLayout * | layout | ) |
Definition at line 2332 of file interface_layout.c.
References uiLayout::scale.
| int uiLayoutGetWidth | ( | uiLayout * | layout | ) |
Definition at line 2322 of file interface_layout.c.
References uiLayout::w.
Referenced by curvemap_buttons_layout(), ED_region_header(), and ui_but_menu().
| const char* uiLayoutIntrospect | ( | uiLayout * | layout | ) |
Definition at line 2714 of file interface_layout.c.
References BLI_dynstr_free(), BLI_dynstr_get_cstring(), BLI_dynstr_new(), MEM_freeN(), str, and ui_intro_uiLayout().
| uiLayout* uiLayoutListBox | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| struct PropertyRNA * | prop, | ||
| struct PointerRNA * | actptr, | ||
| struct PropertyRNA * | actprop | ||
| ) |
Definition at line 2183 of file interface_layout.c.
References LISTBOX, uiBut::rnapoin, uiBut::rnaprop, uiBut::rnasearchpoin, uiBut::rnasearchprop, uiLayoutItemBx::roundbox, and ui_layout_box().
Referenced by uiTemplateList().
| void uiLayoutOperatorButs | ( | const struct bContext * | C, |
| struct uiLayout * | layout, | ||
| struct wmOperator * | op, | ||
| int(*)(struct PropertyRNA *) | check_prop, | ||
| const char | label_align, | ||
| const short | flag | ||
| ) |
Definition at line 2224 of file interface_layout.c.
References uiLayout::active, BLI_addtail(), uiLayoutRoot::block, uiLayout::context, uiLayout::enabled, uiLayout::item, ITEM_LAYOUT_OVERLAP, uiLayout::items, MEM_callocN(), uiLayout::root, uiItem::type, and uiBlockSetCurLayout().
Referenced by list_item_row().
Definition at line 2096 of file interface_layout.c.
References uiLayout::active, uiLayout::align, BLI_addtail(), uiLayoutRoot::block, uiStyle::buttonspacex, uiLayout::context, uiLayout::enabled, uiLayout::item, ITEM_LAYOUT_ROW, uiLayout::items, MEM_callocN(), uiLayout::root, uiLayout::space, uiLayoutRoot::style, uiItem::type, uiBlockSetCurLayout(), and uiLayout::w.
Referenced by ANIM_uiTemplate_fmodifier_draw(), buttons_context_draw(), colorband_buttons_large(), curvemap_buttons_layout(), draw_actuator_action(), draw_actuator_camera(), draw_actuator_constraint(), draw_actuator_edit_object(), draw_actuator_filter_2d(), draw_actuator_header(), draw_actuator_ipo(), draw_actuator_message(), draw_actuator_motion(), draw_actuator_parent(), draw_actuator_property(), draw_actuator_random(), draw_actuator_shape_action(), draw_actuator_sound(), draw_actuator_visibility(), draw_constraint(), draw_controller_header(), draw_gpencil_panel(), draw_modifier(), draw_modifier__envelope(), draw_modifier__generator(), draw_modifier__limits(), draw_sensor_armature(), draw_sensor_collision(), draw_sensor_delay(), draw_sensor_header(), draw_sensor_internal_header(), draw_sensor_joystick(), draw_sensor_keyboard(), draw_sensor_near(), draw_sensor_property(), draw_sensor_radar(), draw_sensor_ray(), file_panel_bookmarks(), file_panel_category(), gp_drawui_layer(), graph_panel_drivers(), graph_panel_driverVar__singleProp(), graph_panel_driverVar__transChan(), graph_panel_modifiers(), graph_panel_properties(), list_item_row(), logic_buttons_new(), nla_panel_actclip(), nla_panel_animdata(), nla_panel_evaluation(), nla_panel_modifiers(), nla_panel_properties(), nla_panel_track(), node_buts_mix_rgb(), node_buts_time(), node_composit_buts_blur(), node_composit_buts_channel_matte(), node_composit_buts_color_spill(), node_composit_buts_colorbalance(), node_composit_buts_file_output(), node_composit_buts_renderlayers(), node_composit_buts_splitviewer(), node_shader_buts_mapping(), node_texture_buts_proc(), template_ID(), ui_item_local_sublayout(), ui_item_with_label(), ui_template_id(), uiblock_layer_pass_arrow_buttons(), uiblock_layer_pass_buttons(), uiLayoutOperatorButs(), uiTemplateAnyID(), uiTemplateColorWheel(), uiTemplateEditModeSelection(), uiTemplateHeader3D(), uiTemplateImage(), uiTemplateLayers(), uiTemplateList(), uiTemplatePathBuilder(), uiTemplatePreview(), uiTemplateRunningJobs(), and view3d_panel_object().
| void uiLayoutSetActive | ( | uiLayout * | layout, |
| int | active | ||
| ) |
Definition at line 2262 of file interface_layout.c.
References uiLayout::active.
Referenced by draw_actuator_constraint(), draw_actuator_filter_2d(), draw_actuator_header(), draw_actuator_ipo(), draw_actuator_motion(), draw_actuator_parent(), draw_actuator_property(), draw_actuator_sound(), draw_gpencil_panel(), draw_modifier__stepped(), draw_sensor_header(), draw_sensor_internal_header(), draw_sensor_joystick(), draw_sensor_keyboard(), graph_panel_view(), list_item_row(), logic_buttons_new(), nla_panel_actclip(), nla_panel_properties(), node_composit_buts_defocus(), node_composit_buts_lensdist(), node_composit_buts_map_value(), node_menu_add(), node_texture_buts_proc(), uiTemplateImage(), and v3d_transform_butsR().
| void uiLayoutSetAlignment | ( | uiLayout * | layout, |
| int | alignment | ||
| ) |
Definition at line 2282 of file interface_layout.c.
References uiLayout::alignment.
Referenced by ANIM_uiTemplate_fmodifier_draw(), buttons_context_draw(), curvemap_buttons_layout(), draw_modifier(), file_panel_category(), gp_drawui_layer(), and logic_buttons_new().
| void uiLayoutSetContextPointer | ( | uiLayout * | layout, |
| const char * | name, | ||
| struct PointerRNA * | ptr | ||
| ) |
Definition at line 2636 of file interface_layout.c.
References uiLayoutRoot::block, uiLayout::context, uiBlock::contexts, CTX_store_add(), and uiLayout::root.
Referenced by draw_constraint(), draw_modifier(), logic_buttons_new(), and uiTemplateImage().
| void uiLayoutSetEnabled | ( | uiLayout * | layout, |
| int | enabled | ||
| ) |
Definition at line 2267 of file interface_layout.c.
References uiLayout::enabled.
Referenced by graph_panel_properties(), nla_panel_evaluation(), uiTemplateImage(), view3d_panel_operator_redo(), and wm_block_create_redo().
| void uiLayoutSetFunc | ( | uiLayout * | layout, |
| uiMenuHandleFunc | handlefunc, | ||
| void * | argv | ||
| ) |
Definition at line 2606 of file interface_layout.c.
References uiLayoutRoot::argv, uiLayoutRoot::handlefunc, and uiLayout::root.
Referenced by node_auto_add_menu().
| void uiLayoutSetKeepAspect | ( | uiLayout * | layout, |
| int | keepaspect | ||
| ) |
Definition at line 2277 of file interface_layout.c.
References uiLayout::keepaspect.
Referenced by uiTemplatePreview().
| void uiLayoutSetOperatorContext | ( | uiLayout * | layout, |
| int | opcontext | ||
| ) |
Definition at line 2601 of file interface_layout.c.
References uiLayoutRoot::opcontext, and uiLayout::root.
Referenced by draw_constraint(), draw_modifier(), menu_item_enum_opname_menu(), menu_item_enum_rna_menu(), parent_set_invoke(), poselib_add_menu_invoke(), poselib_add_menu_invoke__replacemenu(), recent_files_menu_draw(), ui_but_menu(), ui_popup_menu_create(), uiPupMenuBegin(), unpack_all_invoke(), and wm_block_create_splash().
| void uiLayoutSetRedAlert | ( | uiLayout * | layout, |
| int | redalert | ||
| ) |
Definition at line 2272 of file interface_layout.c.
References uiLayout::redalert.
Referenced by draw_constraint().
| void uiLayoutSetScaleX | ( | uiLayout * | layout, |
| float | scale | ||
| ) |
Definition at line 2287 of file interface_layout.c.
References uiLayout::scale.
Referenced by uiTemplatePreview().
| void uiLayoutSetScaleY | ( | uiLayout * | layout, |
| float | scale | ||
| ) |
Definition at line 2292 of file interface_layout.c.
References uiLayout::scale.
Definition at line 2241 of file interface_layout.c.
References uiLayout::active, uiLayout::align, BLI_addtail(), uiLayoutRoot::block, uiStyle::columnspace, uiLayout::context, uiLayout::enabled, uiLayout::item, ITEM_LAYOUT_SPLIT, uiLayout::items, uiLayoutItemSplit::litem, MEM_callocN(), uiLayoutItemSplit::percentage, uiLayout::root, uiLayout::space, split(), uiLayoutRoot::style, uiItem::type, uiBlockSetCurLayout(), and uiLayout::w.
Referenced by curvemap_buttons_layout(), draw_actuator_constraint(), draw_actuator_edit_object(), draw_actuator_filter_2d(), draw_actuator_motion(), draw_actuator_state(), draw_controller_python(), draw_modifier__cycles(), draw_modifier__limits(), draw_modifier__noise(), draw_sensor_collision(), draw_sensor_internal_header(), draw_sensor_ray(), gp_drawui_layer(), graph_panel_view(), list_item_row(), logic_buttons_new(), mouse_select_menu(), node_composit_buts_colorbalance(), ui_block_func_MENUSTR(), uiDefAutoButsRNA(), uiItemsEnumR(), uiItemsFullEnumO(), uiTemplateImage(), undo_history_invoke(), v3d_transform_butsR(), and wm_block_create_splash().
| void uiMenuPopupBoundsBlock | ( | uiBlock * | block, |
| int | addvall, | ||
| int | mx, | ||
| int | my | ||
| ) |
Definition at line 440 of file interface.c.
References uiBlock::bounds, uiBlock::dobounds, uiBlock::mx, uiBlock::my, and UI_BLOCK_BOUNDS_POPUP_MENU.
Referenced by ui_block_func_POPUP().
| void uiPopupBoundsBlock | ( | uiBlock * | block, |
| int | addval, | ||
| int | mx, | ||
| int | my | ||
| ) |
Definition at line 431 of file interface.c.
References uiBlock::bounds, uiBlock::dobounds, uiBlock::mx, uiBlock::my, and UI_BLOCK_BOUNDS_POPUP_MOUSE.
Referenced by menu_add_shortcut(), menu_change_shortcut(), wm_block_create_redo(), wm_block_dialog_create(), wm_block_search_menu(), wm_enum_search_menu(), and wm_operator_ui_create().
| void uiPupBlock | ( | struct bContext * | C, |
| uiBlockCreateFunc | func, | ||
| void * | arg | ||
| ) |
Definition at line 2590 of file interface_regions.c.
References NULL, and uiPupBlockO().
Referenced by popup_add_shortcut_func(), popup_change_shortcut_func(), WM_enum_search_invoke(), WM_operator_props_popup(), WM_operator_redo_popup(), wm_search_menu_invoke(), and wm_splash_invoke().
Definition at line 2633 of file interface_regions.c.
References CTX_wm_window(), uiBlock::handle, ui_popup_block_free(), and UI_remove_popup_handlers().
Referenced by dialog_exec_cb(), and wm_block_splash_close().
| void uiPupBlockEx | ( | struct bContext * | C, |
| uiBlockCreateFunc | func, | ||
| uiBlockCancelFunc | cancel_func, | ||
| void * | arg | ||
| ) |
Definition at line 2595 of file interface_regions.c.
References uiPopupBlockHandle::cancel_func, CTX_wm_window(), wmWindow::modalhandlers, NULL, uiPopupBlockHandle::popup, uiPopupBlockHandle::popup_arg, uiPopupBlockHandle::retvalue, UI_add_popup_handlers(), ui_popup_block_create(), and WM_event_add_mousemove().
Referenced by WM_operator_props_dialog_popup(), and WM_operator_ui_popup().
| void uiPupBlockO | ( | struct bContext * | C, |
| uiBlockCreateFunc | func, | ||
| void * | arg, | ||
| const char * | opname, | ||
| int | opcontext | ||
| ) |
Definition at line 2576 of file interface_regions.c.
References CTX_wm_window(), wmWindow::modalhandlers, NULL, uiPopupBlockHandle::opcontext, uiPopupBlockHandle::optype, uiPopupBlockHandle::popup, UI_add_popup_handlers(), ui_popup_block_create(), WM_event_add_mousemove(), and WM_operatortype_find().
Referenced by uiPupBlock().
| uiPopupMenu* uiPupMenuBegin | ( | struct bContext * | C, |
| const char * | title, | ||
| int | icon | ||
| ) |
Definition at line 2348 of file interface_regions.c.
References uiPopupMenu::block, uiBut::flag, uiBlock::flag, uiBlock::handle, LABEL, uiPopupMenu::layout, MEM_callocN(), NULL, uiBlock::puphash, UI_BLOCK_POPUP_MEMORY, UI_EMBOSSP, UI_LAYOUT_MENU, UI_LAYOUT_VERTICAL, ui_popup_menu_hash(), UI_TEXT_LEFT, UI_UNIT_Y, uiBeginBlock(), uiBlockLayout(), uiDefBut(), uiDefIconTextBut(), uiLayoutSetOperatorContext(), and WM_OP_EXEC_REGION_WIN.
Referenced by ANIM_keying_sets_menu_setup(), armature_parent_set_invoke(), delete_invoke(), graph_fmodifier_add_invoke(), header_toolbox_invoke(), make_proxy_invoke(), mouse_select_menu(), nla_fmodifier_add_invoke(), object_metaball_add_invoke(), pack_invoke(), parent_set_invoke(), pose_groups_menu_invoke(), pose_ik_add_invoke(), poselib_add_menu_invoke(), repeat_history_invoke(), resolve_conflict_invoke(), screen_area_options_invoke(), select_grouped_group(), select_orientation_invoke(), toggle_cyclic_invoke(), toolbox_invoke(), ui_but_menu(), uiPupMenuInvoke(), undo_history_invoke(), unpack_all_invoke(), unpack_menu(), WM_menu_invoke(), and WM_operator_confirm_message().
| void uiPupMenuEnd | ( | struct bContext * | C, |
| struct uiPopupMenu * | head | ||
| ) |
Definition at line 2381 of file interface_regions.c.
References CTX_wm_window(), wmWindow::eventstate, MEM_freeN(), wmWindow::modalhandlers, uiPopupMenu::mx, uiPopupMenu::my, NULL, uiPopupBlockHandle::popup, uiPopupMenu::popup, UI_add_popup_handlers(), ui_block_func_POPUP(), ui_popup_block_create(), WM_event_add_mousemove(), wmEvent::x, and wmEvent::y.
Referenced by ANIM_keying_sets_menu_setup(), armature_parent_set_invoke(), delete_invoke(), graph_fmodifier_add_invoke(), header_toolbox_invoke(), make_proxy_invoke(), mouse_select_menu(), nla_fmodifier_add_invoke(), object_metaball_add_invoke(), pack_invoke(), parent_set_invoke(), pose_groups_menu_invoke(), pose_ik_add_invoke(), poselib_add_menu_invoke(), repeat_history_invoke(), resolve_conflict_invoke(), screen_area_options_invoke(), select_grouped_group(), select_orientation_invoke(), toggle_cyclic_invoke(), toolbox_invoke(), ui_but_menu(), uiPupMenuInvoke(), undo_history_invoke(), unpack_all_invoke(), unpack_menu(), WM_menu_invoke(), and WM_operator_confirm_message().
| void uiPupMenuError | ( | struct bContext * | C, |
| const char * | str, | ||
| ... | |||
| ) |
Definition at line 2500 of file interface_regions.c.
References NULL, and vconfirm_opname().
Referenced by uiPupMenuSaveOver().
| void uiPupMenuInvoke | ( | struct bContext * | C, |
| const char * | idname | ||
| ) |
Definition at line 2547 of file interface_regions.c.
References MenuType::draw, MenuType::label, Menu::layout, mt, NULL, MenuType::poll, TRUE, Menu::type, uiPupMenuBegin(), uiPupMenuEnd(), uiPupMenuLayout(), and WM_menutype_find().
Referenced by wm_call_menu_exec().
| struct uiLayout* uiPupMenuLayout | ( | uiPopupMenu * | head | ) | [read] |
Definition at line 2399 of file interface_regions.c.
References uiPopupMenu::layout.
Referenced by ANIM_keying_sets_menu_setup(), armature_parent_set_invoke(), delete_invoke(), graph_fmodifier_add_invoke(), header_toolbox_invoke(), make_proxy_invoke(), mouse_select_menu(), nla_fmodifier_add_invoke(), object_metaball_add_invoke(), pack_invoke(), parent_set_invoke(), pose_groups_menu_invoke(), pose_ik_add_invoke(), poselib_add_menu_invoke(), repeat_history_invoke(), resolve_conflict_invoke(), screen_area_options_invoke(), select_grouped_group(), select_orientation_invoke(), toggle_cyclic_invoke(), toolbox_invoke(), ui_but_menu(), uiPupMenuInvoke(), undo_history_invoke(), unpack_all_invoke(), unpack_menu(), WM_menu_invoke(), and WM_operator_confirm_message().
| void uiPupMenuNotice | ( | struct bContext * | C, |
| const char * | str, | ||
| ... | |||
| ) |
Definition at line 2491 of file interface_regions.c.
References NULL, and vconfirm_opname().
| void uiPupMenuOkee | ( | struct bContext * | C, |
| const char * | opname, | ||
| const char * | str, | ||
| ... | |||
| ) |
Definition at line 2461 of file interface_regions.c.
References vconfirm_opname().
Referenced by node_group_edit_invoke(), and pack_all_invoke().
| void uiPupMenuReports | ( | struct bContext * | C, |
| struct ReportList * | reports | ||
| ) |
Definition at line 2515 of file interface_regions.c.
References BLI_dynstr_appendf(), BLI_dynstr_free(), BLI_dynstr_get_cstring(), BLI_dynstr_new(), CTX_wm_window(), ListBase::first, ReportList::list, MEM_freeN(), Report::message, Report::next, NULL, ReportList::printlevel, RPT_ERROR, RPT_INFO, RPT_WARNING, str, Report::type, and ui_popup_menu_create().
Referenced by wm_handler_fileselect_call(), and wm_operator_reports().
| void uiPupMenuSaveOver | ( | struct bContext * | C, |
| struct wmOperator * | op, | ||
| const char * | filename | ||
| ) |
Definition at line 2473 of file interface_regions.c.
References BLI_exists(), confirm_operator(), operator_cb(), uiPupMenuError(), and WM_operator_free().
Referenced by wm_handler_fileselect_call(), and wm_save_mainfile_invoke().
| void uiRoundBox | ( | float | minx, |
| float | miny, | ||
| float | maxx, | ||
| float | maxy, | ||
| float | rad | ||
| ) |
Definition at line 422 of file interface_draw.c.
References roundboxtype, UI_RB_ALPHA, and uiDrawBox().
Referenced by draw_textscroll(), draw_tile(), node_draw_basis(), node_draw_hidden(), outliner_draw_iconrow(), outliner_draw_tree_element(), and wm_drop_operator_draw().
| void uiRoundRect | ( | float | minx, |
| float | miny, | ||
| float | maxx, | ||
| float | maxy, | ||
| float | rad | ||
| ) |
Definition at line 369 of file interface_draw.c.
References MakeCursor::color, roundboxtype, UI_RB_ALPHA, and uiDrawBox().
Referenced by region_draw_azone_tab(), and ui_draw_aligned_panel().
| int uiSearchBoxhHeight | ( | void | ) |
Definition at line 686 of file interface_regions.c.
References MENU_TOP, SEARCH_ITEMS, and UI_UNIT_Y.
Referenced by id_search_menu(), operator_search_menu(), tool_search_menu(), ui_searchbox_create(), wm_block_search_menu(), and wm_enum_search_menu().
| int uiSearchItemAdd | ( | uiSearchItems * | items, |
| const char * | name, | ||
| void * | poin, | ||
| int | iconid | ||
| ) |
Definition at line 647 of file interface_regions.c.
References uiSearchItems::active, autocomplete_do_name(), uiSearchItems::autocpl, BLI_strncpy(), uiSearchItems::icons, uiSearchItems::maxitem, uiSearchItems::maxstrlen, uiSearchItems::more, uiSearchItems::names, uiSearchItems::offset_i, uiSearchItems::pointers, and uiSearchItems::totitem.
Referenced by id_search_cb(), operator_enum_search_cb(), operator_search_cb(), and rna_search_cb().
| void uiSetButLink | ( | struct uiBut * | but, |
| void ** | poin, | ||
| void *** | ppoin, | ||
| short * | tot, | ||
| int | from, | ||
| int | to | ||
| ) |
Definition at line 3061 of file interface.c.
References uiLink::fromcode, link(), uiBut::link, MEM_callocN(), uiLink::poin, uiLink::ppoin, uiLink::tocode, and uiLink::totlink.
Referenced by logic_buttons(), logic_buttons_new(), and ui_add_smart_controller().
| void uiSetRoundBox | ( | int | type | ) |
Definition at line 66 of file interface_draw.c.
References roundboxtype.
Referenced by acf_generic_root_backdrop(), acf_group_backdrop(), acf_summary_backdrop(), draw_image_seq(), draw_nla_channel_list_gl(), draw_scope_end(), draw_textscroll(), draw_tile(), drawviewborder(), file_draw_list(), nla_draw_strip(), node_draw_basis(), node_draw_group(), node_draw_hidden(), outliner_draw_iconrow(), outliner_draw_tree_element(), region_draw_azone_tab(), ui_draw_aligned_panel(), ui_draw_but_HISTOGRAM(), ui_draw_but_NORMAL(), and wm_drop_operator_draw().
| void uiStyleFontDraw | ( | struct uiFontStyle * | fs, |
| struct rcti * | rect, | ||
| const char * | str | ||
| ) |
Definition at line 192 of file interface_style.c.
References uiStyleFontDrawExt().
Referenced by file_draw_string(), ui_draw_aligned_panel_header(), ui_draw_menu_item(), ui_draw_preview_item(), ui_tooltip_region_draw_cb(), and widget_draw_text().
| void uiStyleFontDrawExt | ( | struct uiFontStyle * | fs, |
| struct rcti * | rect, | ||
| const char * | str, | ||
| float * | r_xofs, | ||
| float * | r_yofs | ||
| ) |
Definition at line 145 of file interface_style.c.
References uiFontStyle::align, BLF_ascender(), BLF_clipping(), BLF_CLIPPING, BLF_disable(), BLF_draw(), BLF_enable(), BLF_KERNING_DEFAULT, BLF_position(), BLF_shadow(), BLF_SHADOW, BLF_shadow_offset(), BLF_width(), uiFontStyle::kerning, uiFontStyle::shadow, uiFontStyle::shadowalpha, uiFontStyle::shadowcolor, uiFontStyle::shadx, uiFontStyle::shady, UI_STYLE_TEXT_CENTER, UI_STYLE_TEXT_RIGHT, uiFontStyle::uifont_id, uiStyleFontSet(), rcti::xmax, rcti::xmin, rcti::ymax, and rcti::ymin.
Referenced by uiStyleFontDraw(), and widget_draw_text().
| void uiStyleFontDrawRotated | ( | struct uiFontStyle * | fs, |
| struct rcti * | rect, | ||
| const char * | str | ||
| ) |
Definition at line 200 of file interface_style.c.
References angle(), BLF_ascender(), BLF_clipping(), BLF_CLIPPING, BLF_disable(), BLF_draw(), BLF_enable(), BLF_KERNING_DEFAULT, BLF_position(), BLF_rotation(), BLF_ROTATION, BLF_shadow(), BLF_SHADOW, BLF_shadow_offset(), BLF_width(), uiFontStyle::kerning, uiFontStyle::shadow, uiFontStyle::shadowalpha, uiFontStyle::shadowcolor, uiFontStyle::shadx, uiFontStyle::shady, uiFontStyle::uifont_id, uiStyleFontSet(), rcti::xmax, rcti::xmin, rcti::ymax, and rcti::ymin.
Referenced by ui_draw_aligned_panel_header().
| void uiStyleFontSet | ( | struct uiFontStyle * | fs | ) |
Definition at line 356 of file interface_style.c.
References uiFont::blf_id, BLF_size(), uiFontStyle::points, uiFontStyle::uifont_id, and uifont_to_blfont().
Referenced by file_font_pointsize(), file_string_width(), ui_draw_menu_item(), UI_DrawString(), UI_GetStringWidth(), ui_searchbox_create(), ui_text_bounds_block(), ui_text_label_rightclip(), ui_text_leftclip(), ui_textedit_set_cursor_pos(), ui_tooltip_create(), ui_tooltip_region_draw_cb(), uiStyleFontDrawExt(), uiStyleFontDrawRotated(), and widget_draw_text().
| void uiTemplateAnyID | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| const char * | proptypename, | ||
| const char * | text | ||
| ) |
Definition at line 547 of file interface_templates.c.
References PROP_ENUM, PROP_POINTER, RNA_property_type(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning(), PointerRNA::type, UI_ITEM_R_ICON_ONLY, uiItemFullR(), uiItemL(), and uiLayoutRow().
Referenced by graph_panel_driverVar__locDiff(), graph_panel_driverVar__rotDiff(), graph_panel_driverVar__singleProp(), and graph_panel_driverVar__transChan().
| void uiTemplateColorRamp | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| int | expand | ||
| ) |
Definition at line 1374 of file interface_templates.c.
References colorband_buttons_layout(), PointerRNA::data, MEM_callocN(), MEM_freeN(), RNAUpdateCb::prop, PROP_POINTER, RNAUpdateCb::ptr, RNA_ColorRamp, RNA_property_pointer_get(), RNA_property_type(), RNA_struct_find_property(), RNA_struct_is_a(), PointerRNA::type, uiLayoutAbsoluteBlock(), rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by node_buts_colorramp().
| void uiTemplateColorWheel | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| int | value_slider, | ||
| int | lock, | ||
| int | lock_luminosity, | ||
| int | cubic | ||
| ) |
Definition at line 1878 of file interface_templates.c.
References uiBut::a2, MakeCursor::color, uiBut::flag, HSVCIRCLE, HSVCUBE, len_v3(), RNA_property_float_get_array(), RNA_property_float_ui_range(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning(), PointerRNA::type, UI_BUT_COLOR_CUBIC, UI_BUT_COLOR_LOCK, UI_BUT_VEC_SIZE_LOCK, UI_GRAD_V_ALT, uiDefButR_prop(), uiItemS(), uiLayoutColumn(), uiLayoutGetBlock(), uiLayoutRow(), and WHEEL_SIZE.
Referenced by node_buts_rgb(), node_composit_buts_colorbalance(), and node_composit_buts_colorbalance_but().
| uiLayout* uiTemplateConstraint | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr | ||
| ) |
Definition at line 1085 of file interface_templates.c.
References CONSTRAINT_IK_TEMP, CONSTRAINT_TYPE_KINEMATIC, bConstraint::data, PointerRNA::data, draw_constraint(), ERROR_LIBDATA_MESSAGE, bKinematicConstraint::flag, GS, PointerRNA::id, Object::id, ID_OB, ID::lib, ID::name, NULL, RNA_Constraint, RNA_struct_is_a(), RNA_warning(), bConstraint::type, PointerRNA::type, uiBlockSetButLock(), and uiLayoutGetBlock().
| void uiTemplateCurveMapping | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| int | type, | ||
| int | levels, | ||
| int | brush | ||
| ) |
Definition at line 1845 of file interface_templates.c.
References curvemap_buttons_layout(), PointerRNA::data, MEM_callocN(), MEM_freeN(), RNAUpdateCb::prop, PROP_POINTER, RNAUpdateCb::ptr, RNA_CurveMapping, RNA_property_pointer_get(), RNA_property_type(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_struct_is_a(), RNA_warning(), and PointerRNA::type.
Referenced by image_panel_curves(), node_buts_curvecol(), node_buts_curvevec(), node_buts_time(), and node_composit_buts_huecorrect().
| void uiTemplateDopeSheetFilter | ( | uiLayout * | layout, |
| struct bContext * | C, | ||
| struct PointerRNA * | ptr | ||
| ) |
Definition at line 436 of file view3d_header.c.
References B_SEL_EDGE, B_SEL_FACE, B_SEL_VERT, BKE_mesh_end_editmesh(), BKE_mesh_get_editmesh(), CTX_data_edit_object(), Object::data, do_view3d_header_buttons(), NULL, OB_MESH, SCE_SELECT_EDGE, SCE_SELECT_FACE, SCE_SELECT_VERTEX, EditMesh::selectmode, TOG, Object::type, UI_UNIT_X, UI_UNIT_Y, uiBlockSetHandleFunc(), uiDefIconButBitS(), uiLayoutGetBlock(), and uiLayoutRow().
Referenced by uiTemplateHeader3D().
Definition at line 76 of file interface_templates.c.
References ED_area_header_standardbuttons(), ED_area_header_switchbutton(), and uiLayoutAbsoluteBlock().
Definition at line 457 of file view3d_header.c.
References B_MAN_MODE, B_MAN_ROT, B_MAN_SCALE, B_MAN_TRANS, B_MODESELECT, BIF_countTransformOrientation(), BIF_menustringTransformOrientation(), CTX_data_edit_object(), CTX_data_scene(), CTX_data_tool_settings(), CTX_wm_area(), CTX_wm_screen(), Object::data, do_view3d_header_buttons(), ListBase::first, bScreen::id, Object::id, Scene::id, Object::lay, View3D::localvd, MEM_freeN(), MENU, Object::mode, View3D::modeselect, NULL, OB_MODE_OBJECT, OB_MODE_TEXTURE_PAINT, OB_MODE_VERTEX_PAINT, OB_MODE_WEIGHT_PAINT, OBACT, object_mode_icon(), RNA_Mesh, RNA_pointer_create(), RNA_Scene, RNA_SpaceView3D, RNA_ToolSettings, View3D::scenelock, ScrArea::spacedata, TOG, View3D::twflag, View3D::twmode, View3D::twtype, UI_DPI_FAC, UI_EMBOSS, UI_ITEM_R_ICON_ONLY, UI_UNIT_X, UI_UNIT_Y, uiBlockBeginAlign(), uiBlockEndAlign(), uiBlockSetEmboss(), uiBlockSetHandleFunc(), uiDefButC(), uiDefIconButBitC(), uiDefIconTextButS(), uiItemR(), uiLayoutGetBlock(), uiLayoutRow(), uiTemplateEditModeSelection(), uiTemplateLayers(), V3D_MANIP_CUSTOM, V3D_MANIP_ROTATE, V3D_MANIP_SCALE, V3D_MANIP_TRANSLATE, V3D_USE_MANIPULATOR, and view3d_modeselect_pup().
| void uiTemplateHistogram | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname | ||
| ) |
Definition at line 1404 of file interface_templates.c.
References PointerRNA::data, Histogram::height, HISTOGRAM, MEM_callocN(), MEM_dupallocN(), MEM_freeN(), NULL, RNAUpdateCb::prop, PROP_POINTER, RNAUpdateCb::ptr, RNA_Histogram, RNA_property_pointer_get(), RNA_property_type(), RNA_struct_find_property(), RNA_struct_is_a(), rna_update_cb(), PointerRNA::type, UI_UNIT_Y, uiButSetNFunc(), uiDefBut(), uiLayoutAbsoluteBlock(), rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
| void uiTemplateID | ( | uiLayout * | layout, |
| struct bContext * | C, | ||
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| const char * | newop, | ||
| const char * | openop, | ||
| const char * | unlinkop | ||
| ) |
Definition at line 525 of file interface_templates.c.
References UI_ID_BROWSE, UI_ID_DELETE, UI_ID_RENAME, and ui_template_id().
Referenced by draw_actuator_sound(), draw_gpencil_panel(), nla_panel_animdata(), node_composit_buts_image(), node_composit_buts_renderlayers(), node_shader_buts_material(), node_texture_buts_image(), and uiTemplateImage().
| void uiTemplateIDBrowse | ( | uiLayout * | layout, |
| struct bContext * | C, | ||
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| const char * | newop, | ||
| const char * | openop, | ||
| const char * | unlinkop | ||
| ) |
Definition at line 530 of file interface_templates.c.
References UI_ID_BROWSE, UI_ID_RENAME, and ui_template_id().
Referenced by node_draw_group().
| void uiTemplateIDPreview | ( | uiLayout * | layout, |
| struct bContext * | C, | ||
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| const char * | newop, | ||
| const char * | openop, | ||
| const char * | unlinkop, | ||
| int | rows, | ||
| int | cols | ||
| ) |
Definition at line 535 of file interface_templates.c.
References UI_ID_BROWSE, UI_ID_DELETE, UI_ID_PREVIEWS, UI_ID_RENAME, and ui_template_id().
| void uiTemplateImage | ( | uiLayout * | layout, |
| struct bContext * | C, | ||
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| struct PointerRNA * | userptr, | ||
| int | compact | ||
| ) |
Definition at line 634 of file image_buttons.c.
References Image::anim, B_IMAGECHANGED, B_NOP, B_SIMA_PLAY, B_SIMA_RECORD, BKE_image_acquire_ibuf(), BKE_image_release_ibuf(), BUT, CTX_data_scene(), PointerRNA::data, ELEM, ImageUser::flag, ImageUser::framenr, ImageUser::frames, Image::id, Scene::id, IMA_ANIM_REFRESHED, IMA_SRC_GENERATED, IMA_SRC_MOVIE, IMA_SRC_SEQUENCE, IMA_SRC_VIEWER, IMA_TYPE_COMPOSITE, IMA_TYPE_MULTILAYER, IMA_TYPE_R_RESULT, image_info(), RNAUpdateCb::iuser, MAXFRAMEF, MEM_callocN(), MEM_dupallocN(), MEM_freeN(), ID::name, NC_IMAGE, Scene::nodetree, ntree_get_active_iuser(), NULL, NUM, Image::packedfile, RNAUpdateCb::prop, PROP_POINTER, RNAUpdateCb::ptr, RE_AcquireResultRead(), RE_GetRender(), RE_ReleaseResult(), Image::render_slot, RNA_boolean_get(), RNA_property_pointer_get(), RNA_property_type(), RNA_struct_find_property(), RNA_struct_identifier(), rna_update_cb(), Image::rr, set_frames_cb(), ImageUser::sfra, Image::source, split(), str, PointerRNA::type, Image::type, UI_ITEM_R_EXPAND, UI_UNIT_X, UI_UNIT_Y, uiblock_layer_pass_arrow_buttons(), uiBlockBeginAlign(), uiBlockSetNFunc(), uiButSetFunc(), uiDefBut(), uiDefButI(), uiDefIconTextBut(), uiItemL(), uiItemO(), uiItemR(), uiItemS(), uiLayoutColumn(), uiLayoutGetBlock(), uiLayoutRow(), uiLayoutSetActive(), uiLayoutSetContextPointer(), uiLayoutSetEnabled(), uiLayoutSplit(), uiTemplateID(), and WM_event_add_notifier().
| void uiTemplateImageLayers | ( | uiLayout * | layout, |
| struct bContext * | C, | ||
| struct Image * | ima, | ||
| struct ImageUser * | iuser | ||
| ) |
Definition at line 820 of file image_buttons.c.
References BKE_image_acquire_renderresult(), BKE_image_release_renderresult(), CTX_data_scene(), IMA_TYPE_R_RESULT, NULL, Image::render_slot, Image::type, UI_DPI_FAC, and uiblock_layer_pass_buttons().
| void uiTemplateLayers | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| PointerRNA * | used_ptr, | ||
| const char * | used_propname, | ||
| int | active_layer | ||
| ) |
Definition at line 1946 of file interface_templates.c.
References handle_layer_buttons(), NULL, RNA_property_array_length(), RNA_property_boolean_get_index(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning(), SET_INT_IN_POINTER, TOG, PointerRNA::type, uiBut::type, UI_UNIT_X, UI_UNIT_Y, uiButSetFunc(), uiDefAutoButR(), uiLayoutColumn(), uiLayoutGetBlock(), and uiLayoutRow().
Referenced by draw_actuator_state(), logic_buttons_new(), and uiTemplateHeader3D().
| void uiTemplateList | ( | uiLayout * | layout, |
| struct bContext * | C, | ||
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| struct PointerRNA * | activeptr, | ||
| const char * | activeprop, | ||
| int | rows, | ||
| int | maxrows, | ||
| int | type | ||
| ) |
Definition at line 2138 of file interface_templates.c.
References CLAMPIS, PointerRNA::data, i, Panel::list_grip_size, list_item_icon_get(), list_item_row(), Panel::list_last_len, Panel::list_scroll, Panel::list_size, LISTROW, max, MAX2, MEM_freeN(), min, MIN2, NULL, NUM, uiBlock::panel, PROP_COLLECTION, PROP_INT, RNA_PROP_BEGIN, RNA_PROP_END, RNA_property_collection_length(), RNA_property_int_get(), RNA_property_int_range(), RNA_property_pointer_type(), RNA_property_type(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_struct_name_get_alloc(), RNA_struct_ui_icon(), RNA_warning(), SCROLL, str, PointerRNA::type, UI_BUT_DISABLED, UI_BUT_NO_TOOLTIP, UI_UNIT_X, UI_UNIT_Y, uiButSetFlag(), uiDefButI(), uiDefIconButR_prop(), uiDefIconTextButR_prop(), uiItemL(), uiLayoutColumn(), uiLayoutGetBlock(), uiLayoutListBox(), and uiLayoutRow().
| uiLayout* uiTemplateModifier | ( | uiLayout * | layout, |
| struct bContext * | C, | ||
| struct PointerRNA * | ptr | ||
| ) |
Definition at line 854 of file interface_templates.c.
References CTX_data_scene(), PointerRNA::data, draw_modifier(), eModifierMode_Virtual, ERROR_LIBDATA_MESSAGE, GS, i, PointerRNA::id, Object::id, ID_OB, ID::lib, modifiers_getCageIndex(), modifiers_getVirtualModifierList(), ID::name, ModifierData::next, NULL, RNA_Modifier, RNA_struct_is_a(), RNA_warning(), PointerRNA::type, uiBlockSetButLock(), and uiLayoutGetBlock().
| void uiTemplateOperatorSearch | ( | uiLayout * | layout | ) |
Definition at line 2353 of file interface_templates.c.
References NULL, operator_call_cb(), operator_search_cb(), UI_UNIT_X, UI_UNIT_Y, uiBlockSetCurLayout(), uiButSetSearchFunc(), uiDefSearchBut(), and uiLayoutGetBlock().
| void uiTemplatePathBuilder | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| struct PointerRNA * | root_ptr, | ||
| const char * | text | ||
| ) |
Referenced by graph_panel_driverVar__singleProp().
| void uiTemplatePreview | ( | uiLayout * | layout, |
| struct ID * | id, | ||
| int | show_buttons, | ||
| struct ID * | parent, | ||
| struct MTex * | slot | ||
| ) |
Definition at line 1134 of file interface_templates.c.
References B_MATPRV, BUT_EXTRA, do_preview_buttons(), ED_preview_draw(), ELEM4, GS, ID_LA, ID_MA, ID_TE, ID_WO, ID::name, NULL, RNA_Material, RNA_pointer_create(), RNA_Texture, RNA_warning(), ROW, TEX_PR_BOTH, TEX_PR_OTHER, TEX_PR_TEXTURE, UI_ITEM_R_EXPAND, UI_UNIT_X, UI_UNIT_Y, uiBlockSetDrawExtraFunc(), uiBlockSetHandleFunc(), uiDefBut(), uiDefButS(), uiItemR(), uiLayoutColumn(), uiLayoutGetBlock(), uiLayoutRow(), uiLayoutSetKeepAspect(), and uiLayoutSetScaleX().
Definition at line 2441 of file interface_templates.c.
References BKE_reports_last_displayable(), BLF_width(), BUT, ReportTimerInfo::col, uiBut::col, CTX_wm_reports(), wmTimer::customdata, ListBase::first, FTOCHAR, ReportTimerInfo::greyscale, if(), LABEL, ListBase::last, ReportList::list, MAX2, Report::message, MIN2, NULL, ReportList::reporttimer, ROUNDBOX, RPT_ERROR_ALL, RPT_INFO_ALL, RPT_WARNING_ALL, Report::type, UI_EMBOSS, UI_EMBOSSN, UI_UNIT_X, UI_UNIT_Y, uiBlockBeginAlign(), uiBlockEndAlign(), uiBlockSetEmboss(), uiDefBut(), uiDefIconBut(), uiDefIconButO(), uiFontStyle::uifont_id, uiLayoutAbsolute(), uiLayoutGetBlock(), uiStyle::widget, ReportTimerInfo::widthfac, and WM_OP_INVOKE_REGION_WIN.
Definition at line 2391 of file interface_templates.c.
References bScreen::animtimer, B_STOPANIM, B_STOPCAST, B_STOPCOMPO, B_STOPRENDER, BUT, CTX_data_main(), CTX_wm_area(), CTX_wm_manager(), CTX_wm_screen(), do_running_jobs(), Scene::id, ID::next, NULL, PROGRESSBAR, SPACE_NODE, ScrArea::spacetype, UI_UNIT_X, UI_UNIT_Y, uiBlockSetCurLayout(), uiBlockSetHandleFunc(), uiDefBut(), uiDefIconBut(), uiDefIconTextBut(), uiLayoutAbsolute(), uiLayoutGetBlock(), uiLayoutRow(), WM_jobs_name(), WM_jobs_progress(), and WM_jobs_test().
| void uiTemplateVectorscope | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname | ||
| ) |
Definition at line 1480 of file interface_templates.c.
References PointerRNA::data, MEM_callocN(), MEM_dupallocN(), MEM_freeN(), NULL, RNAUpdateCb::prop, PROP_POINTER, RNAUpdateCb::ptr, RNA_property_pointer_get(), RNA_property_type(), RNA_Scopes, RNA_struct_find_property(), RNA_struct_is_a(), rna_update_cb(), PointerRNA::type, UI_UNIT_Y, uiButSetNFunc(), uiDefBut(), uiLayoutAbsoluteBlock(), Scopes::vecscope_height, VECTORSCOPE, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
| void uiTemplateWaveform | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname | ||
| ) |
Definition at line 1443 of file interface_templates.c.
References PointerRNA::data, MEM_callocN(), MEM_freeN(), RNAUpdateCb::prop, PROP_POINTER, RNAUpdateCb::ptr, RNA_property_pointer_get(), RNA_property_type(), RNA_Scopes, RNA_struct_find_property(), RNA_struct_is_a(), PointerRNA::type, UI_UNIT_Y, uiDefBut(), uiLayoutAbsoluteBlock(), WAVEFORM, Scopes::wavefrm_height, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
| void uiTextBoundsBlock | ( | uiBlock * | block, |
| int | addval | ||
| ) |
Definition at line 424 of file interface.c.
References uiBlock::bounds, uiBlock::dobounds, and UI_BLOCK_BOUNDS_TEXT.
Referenced by curvemap_brush_tools_func(), curvemap_tools_func(), dummy_viewmenu(), and ui_block_func_POPUP().
| void uiWidgetScrollDraw | ( | struct uiWidgetColors * | wcol, |
| struct rcti * | rect, | ||
| struct rcti * | slider, | ||
| int | state | ||
| ) |
Definition at line 2128 of file interface_widgets.c.
References uiWidgetBase::emboss, uiWidgetColors::inner, uiWidgetColors::item, uiWidgetBase::outline, uiWidgetColors::outline, QUATCOPY, round_box_edges(), uiWidgetBase::shadedir, uiWidgetColors::shadedown, uiWidgetColors::shadetop, SWAP, uiWidgetBase::tria1, uiWidgetBase::tria2, UI_SCROLL_ARROWS, UI_SCROLL_NO_OUTLINE, UI_SCROLL_PRESSED, widget_init(), widget_scroll_circle(), widgetbase_draw(), rcti::xmax, rcti::xmin, rcti::ymax, and rcti::ymin.
Referenced by draw_textscroll(), UI_view2d_scrollers_draw(), widget_progressbar(), and widget_scroll().
| enum { ... } eBlockBoundsCalc |