Blender V2.61 - r43446
Defines | Typedefs | Enumerations | Functions | Variables

UI_interface.h File Reference

#include "BLO_sys_types.h"
#include "RNA_types.h"
#include "DNA_userdef_types.h"

Go to the source code of this file.

Defines

#define UI_MAX_DRAW_STR   400
#define UI_MAX_NAME_STR   128
#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_BLOCK_CLIP_EVENTS   8192
#define UI_RETURN_CANCEL   1
#define UI_RETURN_OK   2
#define UI_RETURN_OUT   4
#define UI_RETURN_UPDATE   8
#define UI_RETURN_POPUP_OK   16
#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_TEXT_RIGHT   1024
#define UI_BUT_NODE_LINK   2048
#define UI_BUT_NODE_ACTIVE   4096
#define UI_FLAG_UNUSED   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 TRACKPREVIEW   (40<<9)
#define SEARCH_MENU   (41<<9)
#define BUT_EXTRA   (42<<9)
#define HSVCIRCLE   (43<<9)
#define LISTBOX   (44<<9)
#define LISTROW   (45<<9)
#define HOTKEYEVT   (46<<9)
#define BUT_IMAGE   (47<<9)
#define HISTOGRAM   (48<<9)
#define WAVEFORM   (49<<9)
#define VECTORSCOPE   (50<<9)
#define PROGRESSBAR   (51<<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
#define UI_RB_ALPHA   (UI_CNR_ALL + 1)

Typedefs

typedef struct uiBut uiBut
typedef struct uiBlock uiBlock
typedef struct uiPopupBlockHandle uiPopupBlockHandle
typedef struct uiLayout uiLayout
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 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 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
}
enum  {
  UI_CNR_TOP_LEFT = 1, UI_CNR_TOP_RIGHT = 2, UI_CNR_BOTTOM_RIGHT = 4, UI_CNR_BOTTOM_LEFT = 8,
  UI_CNR_NONE = 0, UI_CNR_ALL = (UI_CNR_TOP_LEFT | UI_CNR_TOP_RIGHT | UI_CNR_BOTTOM_RIGHT | UI_CNR_BOTTOM_LEFT)
}

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)
uiPopupMenuuiPupMenuBegin (struct bContext *C, const char *title, int icon)
void uiPupMenuEnd (struct bContext *C, struct uiPopupMenu *head)
struct uiLayoutuiPupMenuLayout (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, uiBlockHandleFunc popup_func, uiBlockCancelFunc cancel_func, void *arg)
void uiPupBlockClose (struct bContext *C, uiBlock *block)
uiBlockuiBeginBlock (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)
uiBlockuiGetBlock (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)
void uiExplicitBoundsBlock (uiBlock *block, int minx, int miny, int maxx, int maxy)
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)
uiButuiDefBut (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)
uiButuiDefButF (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)
uiButuiDefButBitF (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)
uiButuiDefButI (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)
uiButuiDefButBitI (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)
uiButuiDefButS (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)
uiButuiDefButBitS (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)
uiButuiDefButC (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)
uiButuiDefButBitC (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)
uiButuiDefButR (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)
uiButuiDefButR_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)
uiButuiDefButO (uiBlock *block, int type, const char *opname, int opcontext, const char *str, int x1, int y1, short x2, short y2, const char *tip)
uiButuiDefButTextO (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)
uiButuiDefIconBut (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)
uiButuiDefIconButF (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)
uiButuiDefIconButBitF (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)
uiButuiDefIconButI (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)
uiButuiDefIconButBitI (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)
uiButuiDefIconButS (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)
uiButuiDefIconButBitS (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)
uiButuiDefIconButC (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)
uiButuiDefIconButBitC (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)
uiButuiDefIconButR (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)
uiButuiDefIconButR_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)
uiButuiDefIconButO (uiBlock *block, int type, const char *opname, int opcontext, int icon, int x1, int y1, short x2, short y2, const char *tip)
uiButuiDefIconTextBut (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)
uiButuiDefIconTextButF (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)
uiButuiDefIconTextButBitF (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)
uiButuiDefIconTextButI (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)
uiButuiDefIconTextButBitI (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)
uiButuiDefIconTextButS (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)
uiButuiDefIconTextButBitS (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)
uiButuiDefIconTextButC (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)
uiButuiDefIconTextButBitC (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)
uiButuiDefIconTextButR (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)
uiButuiDefIconTextButR_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)
uiButuiDefIconTextButO (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 PointerRNAuiButGetOperatorPtrRNA (uiBut *but)
void uiButSetUnitType (uiBut *but, const int unit_type)
int uiButGetUnitType (uiBut *but)
uiButuiDefIDPoinBut (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)
uiButuiDefPulldownBut (uiBlock *block, uiBlockCreateFunc func, void *arg, const char *str, int x1, int y1, short x2, short y2, const char *tip)
uiButuiDefMenuBut (uiBlock *block, uiMenuCreateFunc func, void *arg, const char *str, int x1, int y1, short x2, short y2, const char *tip)
uiButuiDefIconTextMenuBut (uiBlock *block, uiMenuCreateFunc func, void *arg, int icon, const char *str, int x1, int y1, short x2, short y2, const char *tip)
uiButuiDefIconMenuBut (uiBlock *block, uiMenuCreateFunc func, void *arg, int icon, int x1, int y1, short x2, short y2, const char *tip)
uiButuiDefBlockBut (uiBlock *block, uiBlockCreateFunc func, void *func_arg1, const char *str, int x1, int y1, short x2, short y2, const char *tip)
uiButuiDefBlockButN (uiBlock *block, uiBlockCreateFunc func, void *argN, const char *str, int x1, int y1, short x2, short y2, const char *tip)
uiButuiDefIconBlockBut (uiBlock *block, uiBlockCreateFunc func, void *arg, int retval, int icon, int x1, int y1, short x2, short y2, const char *tip)
uiButuiDefIconTextBlockBut (uiBlock *block, uiBlockCreateFunc func, void *arg, int icon, const char *str, int x1, int y1, short x2, short y2, const char *tip)
uiButuiDefKeyevtButS (uiBlock *block, int retval, const char *str, int x1, int y1, short x2, short y2, short *spoin, const char *tip)
uiButuiDefHotKeyevtButS (uiBlock *block, int retval, const char *str, int x1, int y1, short x2, short y2, short *keypoin, short *modkeypoin, const char *tip)
uiButuiDefSearchBut (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)
uiButuiDefAutoButR (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 PointerRNA *, 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)
uiButuiFindInlink (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)
AutoCompleteautocomplete_begin (const char *startname, size_t 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, int *x, int *y)
void uiDrawPanels (const struct bContext *C, struct ARegion *ar)
struct PaneluiBeginPanel (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_reinit_font (void)
void UI_exit (void)
uiLayoutuiBlockLayout (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)
uiBlockuiLayoutGetBlock (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 PointerRNA *, struct PropertyRNA *), const char label_align, const short flag)
struct MenuTypeuiButGetMenuType (uiBut *but)
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)
uiLayoutuiLayoutRow (uiLayout *layout, int align)
uiLayoutuiLayoutColumn (uiLayout *layout, int align)
uiLayoutuiLayoutColumnFlow (uiLayout *layout, int number, int align)
uiLayoutuiLayoutBox (uiLayout *layout)
uiLayoutuiLayoutListBox (uiLayout *layout, struct PointerRNA *ptr, struct PropertyRNA *prop, struct PointerRNA *actptr, struct PropertyRNA *actprop)
uiLayoutuiLayoutAbsolute (uiLayout *layout, int align)
uiLayoutuiLayoutSplit (uiLayout *layout, float percentage, int align)
uiLayoutuiLayoutOverlap (uiLayout *layout)
uiBlockuiLayoutAbsoluteBlock (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)
uiLayoutuiTemplateModifier (uiLayout *layout, struct bContext *C, struct PointerRNA *ptr)
uiLayoutuiTemplateConstraint (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 uiTemplateImageSettings (uiLayout *layout, struct PointerRNA *imfptr)
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 uiTemplateKeymapItemProperties (uiLayout *layout, struct PointerRNA *ptr)
void uiTemplateList (uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, const char *propname, struct PointerRNA *activeptr, const char *activeprop, const char *prop_list, int rows, int maxrows, int type)
void uiTemplateNodeLink (uiLayout *layout, struct bNodeTree *ntree, struct bNode *node, struct bNodeSocket *input)
void uiTemplateNodeView (uiLayout *layout, struct bContext *C, struct bNodeTree *ntree, struct bNode *node, struct bNodeSocket *input)
void uiTemplateTextureUser (uiLayout *layout, struct bContext *C)
void uiTemplateTextureShow (uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop)
void uiTemplateMovieClip (struct uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, const char *propname, int compact)
void uiTemplateTrack (struct uiLayout *layout, struct PointerRNA *ptr, const char *propname)
void uiTemplateMarker (struct uiLayout *layout, struct PointerRNA *ptr, const char *propname, PointerRNA *userptr, PointerRNA *trackptr, int cmpact)
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)
uiButuiContextActiveButton (const struct bContext *C)
void uiContextActiveProperty (const struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA **prop, int *index)
void uiContextActivePropertyHandle (struct bContext *C)
struct wmOperatoruiContextActiveOperator (const struct bContext *C)
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)
uiStyleUI_GetStyle (void)
void UI_template_fix_linking (void)
int UI_editsource_enable_check (void)
void UI_editsource_active_but_test (uiBut *but)

Variables

enum { ... }  eBlockBoundsCalc

Detailed Description

Definition in file UI_interface.h.


Define Documentation

#define BIT   256
#define BLOCK   (19<<9)
#define BUT   (1<<9)
#define BUT_COLORBAND   (30<<9)
#define BUT_CURVE   (32<<9)
#define BUT_EXTRA   (42<<9)

Definition at line 237 of file UI_interface.h.

Referenced by ui_draw_but(), and uiTemplatePreview().

#define BUT_IMAGE   (47<<9)
#define BUT_NORMAL   (31<<9)
#define BUT_TOGDUAL   (33<<9)
#define BUTM   (20<<9)
#define BUTPOIN   (128+64+32)

Definition at line 193 of file UI_interface.h.

Referenced by ui_def_but().

#define BUTTYPE   (63<<9)

Definition at line 248 of file UI_interface.h.

Referenced by ui_def_but().

#define CHA   32

Definition at line 186 of file UI_interface.h.

#define CHARTAB   (29<<9)

Definition at line 223 of file UI_interface.h.

Referenced by ui_apply_button(), and ui_do_button().

#define COL   (15<<9)

Definition at line 209 of file UI_interface.h.

#define FLO   128

Definition at line 189 of file UI_interface.h.

#define FTPREVIEW   (35<<9)

Definition at line 229 of file UI_interface.h.

Referenced by ui_def_but().

#define HISTOGRAM   (48<<9)

Definition at line 243 of file UI_interface.h.

Referenced by ui_apply_button(), ui_do_button(), ui_draw_but(), and uiTemplateHistogram().

#define HOTKEYEVT   (46<<9)
#define HSVCIRCLE   (43<<9)
#define HSVCUBE   (26<<9)
#define HSVSLI   (17<<9)
#define ICONROW   (12<<9)
#define ICONTEXTROW   (25<<9)
#define ICONTOG   (13<<9)
#define ICONTOGN   (34<<9)
#define IDPOIN   (16<<9)
#define INLINK   (23<<9)
#define INT   96

Definition at line 188 of file UI_interface.h.

#define KEYEVT   (24<<9)
#define LABEL   (10<<9)

Definition at line 204 of file UI_interface.h.

#define LINK   (22<<9)
#define LISTBOX   (44<<9)
#define LISTROW   (45<<9)
#define MENU   (11<<9)
#define NUM   (5<<9)

Definition at line 199 of file UI_interface.h.

#define NUMABS   (36<<9)
#define NUMSLI   (14<<9)

Definition at line 208 of file UI_interface.h.

#define OPTION   (38<<9)
#define OPTIONN   (39<<9)
#define PROGRESSBAR   (51<<9)
#define PULLDOWN   (27<<9)
#define ROUNDBOX   (28<<9)
#define ROW   (2<<9)

Definition at line 196 of file UI_interface.h.

#define SCROLL   (18<<9)
#define SEARCH_MENU   (41<<9)
#define SEPR   (21<<9)
#define SHO   64
#define SLI   (4<<9)
#define TEX   (6<<9)

Definition at line 200 of file UI_interface.h.

#define TOG   (3<<9)

Definition at line 197 of file UI_interface.h.

#define TOG3   (7<<9)

Definition at line 201 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)
#define TOGN   (9<<9)
#define TOGR   (8<<9)
#define TRACKPREVIEW   (40<<9)
#define UI_BLOCK_CLIP_EVENTS   8192

Definition at line 118 of file UI_interface.h.

Referenced by node_uiblocks_init(), and ui_but_find_mouse_over().

#define UI_BLOCK_CLIPBOTTOM   32
#define UI_BLOCK_CLIPTOP   64
#define UI_BLOCK_KEEP_OPEN   256
#define UI_BLOCK_LOOP   1
#define UI_BLOCK_MOVEMOUSE_QUIT   128
#define UI_BLOCK_NO_FLIP   2048
#define UI_BLOCK_NUMSELECT   8
#define UI_BLOCK_OUT_1   1024

Definition at line 115 of file UI_interface.h.

Referenced by ui_block_func_COL(), and ui_handle_menu_event().

#define UI_BLOCK_POPUP   512

Definition at line 114 of file UI_interface.h.

Referenced by ui_popup_block_create(), and widget_menu_back().

#define UI_BLOCK_POPUP_MEMORY   4096

Definition at line 117 of file UI_interface.h.

Referenced by button_activate_exit(), ui_block_func_POPUP(), and uiPupMenuBegin().

#define UI_BLOCK_REDRAW   2
#define UI_BLOCK_RET_1   4
#define UI_BUT_ALIGN   (UI_BUT_ALIGN_TOP|UI_BUT_ALIGN_LEFT|UI_BUT_ALIGN_RIGHT|UI_BUT_ALIGN_DOWN)
#define UI_BUT_ALIGN_DOWN   (1<<17)

Definition at line 151 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 149 of file UI_interface.h.

Referenced by ui_block_do_align_but(), and widget_roundbox_set().

#define UI_BUT_ALIGN_RIGHT   (1<<16)
#define UI_BUT_ALIGN_TOP   (1<<14)

Definition at line 148 of file UI_interface.h.

Referenced by ui_block_do_align_but(), and widget_roundbox_set().

#define UI_BUT_ANIMATED   (1<<20)
#define UI_BUT_ANIMATED_KEY   (1<<21)
#define UI_BUT_COLOR_CUBIC   (1<<31)
#define UI_BUT_COLOR_LOCK   (1<<19)
#define UI_BUT_DISABLED   (1<<18)
#define UI_BUT_DRIVEN   (1<<22)
#define UI_BUT_IMMEDIATE   (1<<27)

Definition at line 162 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 159 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)
#define UI_BUT_NO_TOOLTIP   (1<<28)

Definition at line 163 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 164 of file UI_interface.h.

Referenced by file_draw_buttons(), file_draw_list(), and ui_is_but_utf8().

#define UI_BUT_NODE_ACTIVE   4096

Definition at line 143 of file UI_interface.h.

Referenced by uiTemplateNodeLink(), and widget_state().

#define UI_BUT_NODE_LINK   2048

Definition at line 142 of file UI_interface.h.

Referenced by ui_draw_but(), uiTemplateNodeLink(), and widget_draw_text_icon().

#define UI_BUT_REDALERT   (1<<23)
#define UI_BUT_UNDO   (1<<26)
#define UI_BUT_VEC_SIZE_LOCK   (1<<30)
#define UI_CENTER   16

Definition at line 97 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 170 of file UI_interface.h.

Referenced by ED_spacetype_clip(), and ED_spacetype_text().

#define UI_DIRECTION   (UI_TOP|UI_DOWN|UI_LEFT|UI_RIGHT)

Definition at line 91 of file UI_interface.h.

Referenced by ui_block_position().

#define UI_DOWN   2
#define UI_DPI_FAC   (sqrtf((float)U.dpi) / 8.48528137423857f)
#define UI_DPI_ICON_FAC   (((float)U.dpi) / 72.0f)

Definition at line 175 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)
#define UI_EMBOSS   0
#define UI_EMBOSSN   1
#define UI_EMBOSSP   2
#define UI_EMBOSST   3

Definition at line 88 of file UI_interface.h.

Referenced by outliner_draw_keymapbuts(), and outliner_draw_rnabuts().

#define UI_FLAG_UNUSED   8192

Definition at line 144 of file UI_interface.h.

#define UI_GRAD_H   3
#define UI_GRAD_HS   2
#define UI_GRAD_HV   1
#define UI_GRAD_S   4
#define UI_GRAD_SV   0
#define UI_GRAD_V   5
#define UI_GRAD_V_ALT   9
#define UI_ICON_LEFT   128
#define UI_ICON_PREVIEW   512

Definition at line 139 of file UI_interface.h.

Referenced by template_ID(), and widget_draw_icon().

#define UI_ICON_SUBMENU   256
#define UI_ID_ADD_NEW   4

Definition at line 508 of file UI_interface.h.

Referenced by template_ID(), template_id_cb(), and ui_template_id().

#define UI_ID_ALONE   16

Definition at line 510 of file UI_interface.h.

Referenced by template_ID(), and template_id_cb().

#define UI_ID_AUTO_NAME   128

Definition at line 513 of file UI_interface.h.

Referenced by template_id_cb().

#define UI_ID_BROWSE   2
#define UI_ID_BROWSE_RENDER   1024

Definition at line 516 of file UI_interface.h.

#define UI_ID_DELETE   32

Definition at line 511 of file UI_interface.h.

Referenced by template_ID(), template_id_cb(), uiTemplateID(), and uiTemplateIDPreview().

#define UI_ID_FAKE_USER   256

Definition at line 514 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 518 of file UI_interface.h.

#define UI_ID_LOCAL   64

Definition at line 512 of file UI_interface.h.

Referenced by template_ID(), and template_id_cb().

#define UI_ID_OPEN   8

Definition at line 509 of file UI_interface.h.

Referenced by template_ID(), template_id_cb(), and ui_template_id().

#define UI_ID_PIN   512

Definition at line 515 of file UI_interface.h.

Referenced by template_id_cb().

#define UI_ID_PREVIEWS   2048

Definition at line 517 of file UI_interface.h.

Referenced by template_ID(), and uiTemplateIDPreview().

#define UI_ID_RENAME   1

Definition at line 506 of file UI_interface.h.

Referenced by template_ID(), uiTemplateID(), uiTemplateIDBrowse(), and uiTemplateIDPreview().

#define UI_ITEM_O_RETURN_PROPS   1
#define UI_ITEM_R_EVENT   32

Definition at line 657 of file UI_interface.h.

Referenced by draw_sensor_keyboard(), and ui_item_with_label().

#define UI_ITEM_R_EXPAND   2
#define UI_ITEM_R_FULL_EVENT   64

Definition at line 658 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
#define UI_ITEM_R_IMMEDIATE   256

Definition at line 660 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
#define UI_ITEM_R_SLIDER   4
#define UI_ITEM_R_TOGGLE   8
#define UI_LAYOUT_ALIGN_CENTER   2

Definition at line 649 of file UI_interface.h.

Referenced by rna_def_ui_layout().

#define UI_LAYOUT_ALIGN_EXPAND   0
#define UI_LAYOUT_ALIGN_LEFT   1
#define UI_LAYOUT_ALIGN_RIGHT   3
#define UI_LAYOUT_HEADER   1
#define UI_LAYOUT_HORIZONTAL   0
#define UI_LAYOUT_MENU   2
#define UI_LAYOUT_OP_SHOW_EMPTY   2

Definition at line 664 of file UI_interface.h.

Referenced by file_panel_operator(), and uiLayoutOperatorButs().

#define UI_LAYOUT_OP_SHOW_TITLE   1
#define UI_LAYOUT_PANEL   0
#define UI_LAYOUT_TOOLBAR   3

Definition at line 642 of file UI_interface.h.

Referenced by ED_region_panels(), ui_item_menu(), and uiItemFullO().

#define UI_LAYOUT_VERTICAL   1
#define UI_LEFT   4

Definition at line 94 of file UI_interface.h.

Referenced by ui_block_position().

#define UI_MAX_DRAW_STR   400
#define UI_MAX_NAME_STR   128
#define UI_PANEL_WIDTH   340

Definition at line 169 of file UI_interface.h.

Referenced by ED_region_panels(), and ui_panels_size().

#define UI_PNL_CLOSE   32
#define UI_PNL_SCALE   512

Definition at line 132 of file UI_interface.h.

Referenced by ui_draw_aligned_panel(), and ui_handler_panel_region().

#define UI_PNL_SOLID   2

Definition at line 130 of file UI_interface.h.

Referenced by ui_draw_aligned_panel().

#define UI_RB_ALPHA   (UI_CNR_ALL + 1)
#define UI_RETURN_CANCEL   1
#define UI_RETURN_OK   2
#define UI_RETURN_OUT   4

Definition at line 123 of file UI_interface.h.

Referenced by ui_handle_button_return_submenu(), and ui_handle_menu_event().

#define UI_RETURN_POPUP_OK   16

Definition at line 125 of file UI_interface.h.

Referenced by ui_handle_menu_event(), and ui_handler_popup().

#define UI_RETURN_UPDATE   8
#define UI_RIGHT   8
#define UI_SCROLL_ARROWS   2

Definition at line 278 of file UI_interface.h.

Referenced by UI_view2d_scrollers_draw(), and uiWidgetScrollDraw().

#define UI_SCROLL_NO_OUTLINE   4

Definition at line 279 of file UI_interface.h.

Referenced by uiWidgetScrollDraw(), and widget_progressbar().

#define UI_SCROLL_PRESSED   1
#define UI_SHIFT_FLIPPED   32

Definition at line 98 of file UI_interface.h.

Referenced by ui_block_position().

#define UI_TEXT_LEFT   64
#define UI_TEXT_RIGHT   1024

Definition at line 141 of file UI_interface.h.

#define UI_TOP   1
#define UI_UNIT_X   U.widget_unit

Definition at line 644 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_group_socket(), 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(), graph_panel_key_properties(), list_item_row(), logic_buttons(), logic_buttons_new(), node_draw_basis(), node_draw_hidden(), 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_get_maxsize(), region_scale_modal(), template_ID(), template_texture_user_menu(), 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_node_draw_input(), ui_node_menu_column(), ui_template_node_link_menu(), ui_text_icon_width(), uiBlockLayout(), uiBlockPicker(), uiTemplateEditModeSelection(), uiTemplateHeader3D(), uiTemplateImage(), uiTemplateLayers(), uiTemplateList(), uiTemplateNodeLink(), uiTemplateOperatorSearch(), uiTemplatePreview(), uiTemplateReportsBanner(), uiTemplateRunningJobs(), uiTemplateTextureShow(), uiTemplateTextureUser(), 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 645 of file UI_interface.h.

Referenced by ANIM_uiTemplate_fmodifier_draw(), buttons_context_draw(), 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(), graph_panel_key_properties(), 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_rect_recursive(), region_scale_get_maxsize(), region_scale_modal(), template_ID(), template_texture_user_menu(), 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(), ui_node_menu_column(), ui_template_node_link_menu(), uiblock_layer_pass_buttons(), uiBlockLayout(), uiBlockPicker(), uiItemFullO(), uiItemL_(), uiItemV(), uiPupMenuBegin(), uiSearchBoxhHeight(), uiTemplateEditModeSelection(), uiTemplateHeader3D(), uiTemplateHistogram(), uiTemplateImage(), uiTemplateLayers(), uiTemplateList(), uiTemplateNodeLink(), uiTemplateOperatorSearch(), uiTemplatePreview(), uiTemplateReportsBanner(), uiTemplateRunningJobs(), uiTemplateTextureShow(), uiTemplateTextureUser(), uiTemplateTrack(), 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   (50<<9)

Definition at line 245 of file UI_interface.h.

Referenced by ui_do_button(), ui_draw_but(), and uiTemplateVectorscope().

#define WAVEFORM   (49<<9)

Definition at line 244 of file UI_interface.h.

Referenced by ui_apply_button(), ui_do_button(), ui_draw_but(), and uiTemplateWaveform().


Typedef Documentation

typedef struct AutoComplete AutoComplete

Definition at line 585 of file UI_interface.h.

typedef struct uiBlock uiBlock

Definition at line 74 of file UI_interface.h.

typedef void(* uiBlockCancelFunc)(void *arg1)

Definition at line 337 of file UI_interface.h.

typedef uiBlock*(* uiBlockCreateFunc)(struct bContext *C, struct ARegion *ar, void *arg1)

Definition at line 336 of file UI_interface.h.

typedef void(* uiBlockHandleFunc)(struct bContext *C, void *arg, int event)

Definition at line 304 of file UI_interface.h.

typedef struct uiBut uiBut

Definition at line 73 of file UI_interface.h.

typedef void(* uiButCompleteFunc)(struct bContext *C, char *str, void *arg)

Definition at line 302 of file UI_interface.h.

typedef void(* uiButHandleFunc)(struct bContext *C, void *arg1, void *arg2)

Definition at line 299 of file UI_interface.h.

typedef void(* uiButHandleNFunc)(struct bContext *C, void *argN, void *arg2)

Definition at line 301 of file UI_interface.h.

typedef void(* uiButHandleRenameFunc)(struct bContext *C, void *arg, char *origstr)

Definition at line 300 of file UI_interface.h.

typedef void(* uiButSearchFunc)(const struct bContext *C, void *arg, const char *str, uiSearchItems *items)

Definition at line 303 of file UI_interface.h.

typedef void(* uiIDPoinFunc)(struct bContext *C, struct ID *id, int event)

Definition at line 521 of file UI_interface.h.

typedef void(* uiIDPoinFuncFP)(struct bContext *C, const char *str, struct ID **idpp)

Definition at line 520 of file UI_interface.h.

typedef struct uiLayout uiLayout

Definition at line 76 of file UI_interface.h.

typedef void(* uiMenuCreateFunc)(struct bContext *C, struct uiLayout *layout, void *arg1)

Definition at line 308 of file UI_interface.h.

typedef void(* uiMenuHandleFunc)(struct bContext *C, void *arg, int event)

Definition at line 309 of file UI_interface.h.

Definition at line 75 of file UI_interface.h.

typedef struct uiPopupMenu uiPopupMenu

Definition at line 318 of file UI_interface.h.

typedef struct uiSearchItems uiSearchItems

Definition at line 297 of file UI_interface.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
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 380 of file UI_interface.h.

anonymous enum
Enumerator:
UI_CNR_TOP_LEFT 
UI_CNR_TOP_RIGHT 
UI_CNR_BOTTOM_RIGHT 
UI_CNR_BOTTOM_LEFT 
UI_CNR_NONE 
UI_CNR_ALL 

Definition at line 672 of file UI_interface.h.


Function Documentation

AutoComplete* autocomplete_begin ( const char *  startname,
size_t  maxlen 
)
void autocomplete_do_name ( AutoComplete autocpl,
const char *  name 
)
void autocomplete_end ( AutoComplete autocpl,
char *  autoname 
)
void UI_add_area_handlers ( struct ListBase handlers)
void UI_add_popup_handlers ( struct bContext C,
struct ListBase handlers,
uiPopupBlockHandle popup 
)
void UI_add_region_handlers ( struct ListBase handlers)
int UI_but_active_drop_name ( struct bContext C)
void UI_buttons_operatortypes ( void  )
void UI_DrawString ( float  x,
float  y,
const char *  str 
)
void UI_DrawTriIcon ( float  x,
float  y,
char  dir 
)

Definition at line 333 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_editsource_active_but_test ( uiBut but)

Referenced by ui_def_but().

int UI_editsource_enable_check ( void  )

Referenced by ui_def_but().

void UI_exit ( void  )

Definition at line 3602 of file interface.c.

References ui_resources_free().

Referenced by WM_exit_ext().

int UI_GetStringWidth ( const char *  str)
uiStyle* UI_GetStyle ( void  )
void UI_init ( void  )

Definition at line 3584 of file interface.c.

References ui_resources_init().

Referenced by WM_init().

void UI_init_userdef ( void  )

Definition at line 3590 of file interface.c.

References init_userdef_do_versions(), and uiStyleInit().

Referenced by wm_init_userdef().

void UI_reinit_font ( void  )

Definition at line 3597 of file interface.c.

References uiStyleInit().

void UI_remove_popup_handlers ( struct ListBase handlers,
uiPopupBlockHandle popup 
)
void UI_template_fix_linking ( void  )

Definition at line 76 of file interface_templates.c.

Referenced by uiBlockLayoutResolve().

uiBlock* uiBeginBlock ( const struct bContext C,
struct ARegion region,
const char *  name,
short  dt 
)
struct Panel* uiBeginPanel ( struct ScrArea sa,
struct ARegion ar,
uiBlock block,
struct PanelType pt,
int *  open 
) [read]
void uiBeginPanels ( const struct bContext C,
struct ARegion ar 
)

Referenced by ED_region_panels().

void uiBlockBeginAlign ( uiBlock block)
void uiBlockClearButLock ( uiBlock block)

Definition at line 1182 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 3240 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)
void uiBlockFlipOrder ( uiBlock block)
uiLayout* uiBlockLayout ( uiBlock block,
int  dir,
int  type,
int  x,
int  y,
int  size,
int  em,
struct uiStyle style 
)
void uiBlockLayoutResolve ( uiBlock block,
int *  x,
int *  y 
)
void uiBlockSetButLock ( uiBlock block,
int  val,
const char *  lockstr 
)
void uiBlockSetButmFunc ( uiBlock block,
uiMenuHandleFunc  func,
void *  arg 
)
void uiBlockSetCurLayout ( uiBlock block,
uiLayout layout 
)
void uiBlockSetDirection ( uiBlock block,
int  direction 
)
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 
)
void uiBlockSetFlag ( uiBlock block,
int  flag 
)
void uiBlockSetFunc ( uiBlock block,
uiButHandleFunc  func,
void *  arg1,
void *  arg2 
)
void uiBlockSetHandleFunc ( uiBlock block,
uiBlockHandleFunc  func,
void *  arg 
)
void uiBlockSetNFunc ( uiBlock block,
uiButHandleFunc  func,
void *  argN,
void *  arg2 
)
void uiBlockSetRegion ( uiBlock block,
struct ARegion region 
)
void uiBlockSetXOfs ( uiBlock block,
int  xofs 
)

Definition at line 3245 of file interface.c.

References uiBlock::xofs.

int uiBlocksGetYMin ( struct ListBase lb)

Definition at line 3180 of file interface.c.

References ListBase::first, min, uiBlock::miny, and uiBlock::next.

void uiBoundsBlock ( struct uiBlock block,
int  addval 
)
int uiButActiveOnly ( const struct bContext C,
uiBlock block,
uiBut but 
)
void uiButClearFlag ( uiBut but,
int  flag 
)
struct MenuType* uiButGetMenuType ( uiBut but) [read]
struct PointerRNA* uiButGetOperatorPtrRNA ( uiBut but) [read]
int uiButGetRetVal ( uiBut but)

Definition at line 3260 of file interface.c.

References uiBut::retval.

int uiButGetUnitType ( uiBut but)
void uiButSetCompleteFunc ( uiBut but,
uiButCompleteFunc  func,
void *  arg 
)

Definition at line 3394 of file interface.c.

References uiBut::autocomplete_func, and uiBut::autofunc_arg.

Referenced by file_draw_buttons(), and uiDefIDPoinBut().

void uiButSetDragID ( uiBut but,
struct ID id 
)

Definition at line 3265 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 
)
void uiButSetDragName ( uiBut but,
const char *  name 
)

Definition at line 3283 of file interface.c.

References uiBut::dragpoin, uiBut::dragtype, and WM_DRAG_NAME.

void uiButSetDragPath ( uiBut but,
const char *  path 
)

Definition at line 3277 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 3271 of file interface.c.

References uiBut::dragpoin, uiBut::dragtype, and WM_DRAG_RNA.

void uiButSetDragValue ( uiBut but)

Definition at line 3290 of file interface.c.

References uiBut::dragtype, and WM_DRAG_VALUE.

void uiButSetFlag ( uiBut but,
int  flag 
)
void uiButSetFocusOnEnter ( struct wmWindow win,
uiBut but 
)
void uiButSetFunc ( uiBut but,
uiButHandleFunc  func,
void *  arg1,
void *  arg2 
)
void uiButSetNFunc ( uiBut but,
uiButHandleNFunc  func,
void *  argN,
void *  arg2 
)
void uiButSetRenameFunc ( uiBut but,
uiButHandleRenameFunc  func,
void *  arg1 
)

Definition at line 3364 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 
)
void uiButSetUnitType ( uiBut but,
const int  unit_type 
)
void uiCenteredBoundsBlock ( uiBlock block,
int  addval 
)

Definition at line 431 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)
uiBut* uiContextActiveButton ( const struct bContext C)

Definition at line 5482 of file interface_handlers.c.

References NULL, and ui_context_button_active().

struct wmOperator* uiContextActiveOperator ( const struct bContext C) [read]
void uiContextActiveProperty ( const struct bContext C,
struct PointerRNA ptr,
struct PropertyRNA **  prop,
int *  index 
)
void uiContextActivePropertyHandle ( struct bContext C)
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 
)
int uiDefAutoButsRNA ( uiLayout layout,
struct PointerRNA ptr,
int(*)(struct PointerRNA *, struct PropertyRNA *)  check_prop,
const char  label_align 
)
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* 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 2827 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_group_socket_name(), 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_hidden(), node_shader_buts_dynamic(), node_socket_button_color(), node_socket_button_label(), 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(), ui_node_menu_column(), ui_template_node_link_menu(), uiBlockPicker(), uiDefAutoButR(), uiDefButBit(), uiDefButC(), uiDefButF(), uiDefButI(), uiDefButS(), uiItemL_(), uiItemS(), uiPupMenuBegin(), uiTemplateHistogram(), uiTemplateImage(), uiTemplateMarker(), uiTemplateMovieClip(), uiTemplatePreview(), uiTemplateReportsBanner(), uiTemplateRunningJobs(), uiTemplateTrack(), 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 2984 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 2960 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 
)
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 
)

Definition at line 2980 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 
)
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* 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* 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* 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* 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 3010 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 3523 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 
)
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* 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 3062 of file interface.c.

References CHA, and uiDefIconButBit().

Referenced by buttons_context_draw(), draw_setting_widget(), list_item_row(), 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 3038 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 
)
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 
)

Definition at line 3058 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 3034 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 3042 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 
)
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* 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 3050 of file interface.c.

References SHO, and uiDefIconBut().

uiBut* uiDefIconMenuBut ( uiBlock block,
uiMenuCreateFunc  func,
void *  arg,
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* 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* 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 3134 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 3110 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 3118 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 3126 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 3130 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 3106 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 3114 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 3154 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 
)
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* 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 3122 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 
)
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 
)
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 3514 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 
)
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 3433 of file interface.c.

References uiBut::block_create_func, PULLDOWN, ui_check_but(), and ui_def_but().

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 uiDrawBlock ( const struct bContext C,
struct uiBlock block 
)
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 uiDrawBoxShadow ( unsigned char  alpha,
float  minx,
float  miny,
float  maxx,
float  maxy 
)

Definition at line 1622 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 
)
void uiDrawMenuBox ( float  minx,
float  miny,
float  maxx,
float  maxy,
short  flag,
short  direction 
)
void uiDrawPanels ( const struct bContext C,
struct ARegion ar 
)

Referenced by ED_region_panels().

void uiEmboss ( float  x1,
float  y1,
float  x2,
float  y2,
int  sel 
)

Definition at line 400 of file interface_draw.c.

References fdrawline().

Referenced by draw_actuatorbuttons(), draw_controllerbuttons(), and draw_sensorbuttons().

void uiEndBlock ( const struct bContext C,
uiBlock block 
)
void uiEndPanel ( uiBlock block,
int  width,
int  height 
)
void uiEndPanels ( const struct bContext C,
struct ARegion ar,
int *  x,
int *  y 
)

Referenced by ED_region_panels().

void uiExplicitBoundsBlock ( uiBlock block,
int  minx,
int  miny,
int  maxx,
int  maxy 
)
void uiFileBrowseContextProperty ( const struct bContext C,
struct PointerRNA ptr,
struct PropertyRNA **  prop 
)

Referenced by file_browse_invoke().

uiBut* uiFindInlink ( uiBlock block,
void *  poin 
)

Definition at line 1131 of file interface.c.

References ui_find_inlink().

Referenced by is_sensor_linked().

void uiFreeActiveButtons ( const struct bContext C,
struct bScreen screen 
)

Referenced by ED_screen_do_listen().

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 
)

Referenced by ED_region_do_draw().

uiBlock* uiGetBlock ( const char *  name,
struct ARegion ar 
)

Definition at line 2087 of file interface.c.

References BLI_findstring(), and ARegion::uiblocks.

int uiGetRoundBox ( void  )

Definition at line 74 of file interface_draw.c.

References roundboxtype.

int uiIconFromID ( struct ID id)
void uiIDContextProperty ( struct bContext C,
struct PointerRNA ptr,
struct PropertyRNA **  prop 
)
void uiItemBooleanO ( uiLayout layout,
const char *  name,
int  icon,
const char *  opname,
const char *  propname,
int  value 
)
void uiItemEnumO ( uiLayout layout,
const char *  opname,
const char *  name,
int  icon,
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 uiItemEnumO_value ( uiLayout layout,
const char *  name,
int  icon,
const char *  opname,
const char *  propname,
int  value 
)
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 uiItemFloatO ( uiLayout layout,
const char *  name,
int  icon,
const char *  opname,
const char *  propname,
float  value 
)
PointerRNA uiItemFullO ( uiLayout layout,
const char *  idname,
const char *  name,
int  icon,
struct IDProperty properties,
int  context,
int  flag 
)
void uiItemFullR ( uiLayout layout,
struct PointerRNA ptr,
struct PropertyRNA prop,
int  index,
int  value,
int  flag,
const char *  name,
int  icon 
)
void uiItemIntO ( uiLayout layout,
const char *  name,
int  icon,
const char *  opname,
const char *  propname,
int  value 
)
void uiItemL ( uiLayout layout,
const char *  name,
int  icon 
)

Definition at line 1462 of file interface_layout.c.

References uiItemL_().

Referenced by ANIM_uiTemplate_fmodifier_draw(), buttons_context_draw(), clip_panel_operator_redo_operator(), 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_double_edge_mask(), node_composit_buts_image(), node_composit_buts_vecblur(), node_shader_buts_mapping(), node_sockets_panel(), recent_files_menu_draw(), template_keymap_item_properties(), template_texture_user_menu(), ui_block_func_MENUSTR(), ui_node_draw_input(), ui_node_menu_column(), ui_template_node_link_menu(), uiblock_layer_pass_arrow_buttons(), uiDefAutoButsRNA(), uiItemsEnumR(), uiItemsFullEnumO(), uiLayoutOperatorButs(), uiTemplateAnyID(), uiTemplateImage(), uiTemplateImageSettings(), uiTemplateList(), uiTemplateTextureUser(), 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 
)
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 
)
void uiItemMenuEnumR ( uiLayout layout,
struct PointerRNA ptr,
const char *  propname,
const char *  name,
int  icon 
)
void uiItemMenuF ( uiLayout layout,
const char *  name,
int  icon,
uiMenuCreateFunc  func,
void *  arg 
)

Definition at line 1512 of file interface_layout.c.

References NULL, and ui_item_menu().

Referenced by node_menu_add_foreach_cb(), and poselib_add_menu_invoke().

void uiItemO ( uiLayout layout,
const char *  name,
int  icon,
const char *  opname 
)
void uiItemPointerR ( uiLayout layout,
struct PointerRNA ptr,
const char *  propname,
struct PointerRNA searchptr,
const char *  searchpropname,
const char *  name,
int  icon 
)
void uiItemR ( uiLayout layout,
struct PointerRNA ptr,
const char *  propname,
int  flag,
const char *  name,
int  icon 
)

Definition at line 1058 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_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_steering(), 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_common_buts_whileloop(), 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_double_edge_mask(), 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_moviedistortion(), node_composit_buts_premulkey(), node_composit_buts_renderlayers(), node_composit_buts_rotate(), node_composit_buts_scale(), node_composit_buts_splitviewer(), node_composit_buts_stabilize2d(), node_composit_buts_tonemap(), node_composit_buts_transform(), node_composit_buts_vecblur(), node_composit_buts_view_levels(), node_composit_buts_ycc(), node_composit_buts_zcombine(), node_shader_buts_attribute(), node_shader_buts_geometry(), node_shader_buts_glossy(), node_shader_buts_mapping(), node_shader_buts_material(), node_shader_buts_tex_gradient(), node_shader_buts_tex_image(), node_shader_buts_tex_magic(), node_shader_buts_tex_musgrave(), node_shader_buts_tex_sky(), node_shader_buts_tex_voronoi(), node_shader_buts_tex_wave(), node_shader_buts_vect_math(), node_texture_buts_bricks(), node_texture_buts_output(), node_texture_buts_proc(), socket_component_menu(), template_keymap_item_properties(), ui_node_draw_input(), uiTemplateHeader3D(), uiTemplateImage(), uiTemplateImageSettings(), uiTemplateMovieClip(), uiTemplatePathBuilder(), uiTemplatePreview(), v3d_editarmature_buts(), v3d_editmetaball_buts(), and v3d_transform_butsR().

void uiItemS ( uiLayout layout)
void uiItemsEnumO ( uiLayout layout,
const char *  opname,
const char *  propname 
)
void uiItemsEnumR ( uiLayout layout,
struct PointerRNA ptr,
const char *  propname 
)
void uiItemsFullEnumO ( uiLayout layout,
const char *  opname,
const char *  propname,
struct IDProperty properties,
int  context,
int  flag 
)
void uiItemStringO ( uiLayout layout,
const char *  name,
int  icon,
const char *  opname,
const char *  propname,
const char *  value 
)
void uiItemV ( uiLayout layout,
const char *  name,
int  icon,
int  argval 
)
uiLayout* uiLayoutAbsolute ( uiLayout layout,
int  align 
)
uiBlock* uiLayoutAbsoluteBlock ( uiLayout layout)
uiLayout* uiLayoutBox ( uiLayout layout)
uiLayout* uiLayoutColumn ( uiLayout layout,
int  align 
)

Definition at line 2132 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 ANIM_uiTemplate_fmodifier_draw(), curvemap_buttons_layout(), draw_actuator_action(), draw_actuator_constraint(), draw_actuator_motion(), draw_actuator_sound(), draw_actuator_steering(), draw_constraint(), 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_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(), 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_double_edge_mask(), 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_component_menu(), ui_block_func_MENUSTR(), ui_item_local_sublayout(), ui_node_draw_input(), ui_node_draw_node(), ui_node_menu_column(), ui_template_node_link_menu(), uiDefAutoButsRNA(), uiItemsEnumR(), uiItemsFullEnumO(), uiLayoutOperatorButs(), uiTemplateColorWheel(), uiTemplateImage(), uiTemplateImageSettings(), uiTemplateLayers(), uiTemplateList(), uiTemplateMarker(), 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().

uiLayout* uiLayoutColumnFlow ( uiLayout layout,
int  number,
int  align 
)
int uiLayoutGetActive ( uiLayout layout)

Definition at line 2313 of file interface_layout.c.

References uiLayout::active.

int uiLayoutGetAlignment ( uiLayout layout)

Definition at line 2333 of file interface_layout.c.

References uiLayout::alignment.

uiBlock* uiLayoutGetBlock ( uiLayout layout)

Definition at line 2586 of file interface_layout.c.

References uiLayoutRoot::block, and uiLayout::root.

Referenced by active_node_panel(), ANIM_uiTemplate_fmodifier_draw(), buttons_context_draw(), clip_panel_operator_redo(), 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(), template_texture_user_menu(), ui_block_func_ICONROW(), ui_block_func_ICONTEXTROW(), ui_block_func_MENUSTR(), ui_but_menu(), ui_node_draw_input(), ui_node_menu_column(), ui_template_node_link_menu(), uiblock_layer_pass_arrow_buttons(), uiblock_layer_pass_buttons(), uiItemPointerR(), uiLayoutAbsoluteBlock(), uiLayoutOperatorButs(), uiTemplateColorWheel(), uiTemplateConstraint(), uiTemplateEditModeSelection(), uiTemplateHeader3D(), uiTemplateImage(), uiTemplateKeymapItemProperties(), uiTemplateLayers(), uiTemplateList(), uiTemplateMarker(), uiTemplateModifier(), uiTemplateMovieClip(), uiTemplateNodeLink(), uiTemplateOperatorSearch(), uiTemplatePreview(), uiTemplateReportsBanner(), uiTemplateRunningJobs(), uiTemplateTextureShow(), uiTemplateTextureUser(), view3d_panel_object(), view3d_panel_operator_redo(), view3d_panel_tool_shelf(), and wm_block_dialog_create().

int uiLayoutGetEnabled ( uiLayout layout)

Definition at line 2318 of file interface_layout.c.

References uiLayout::enabled.

int uiLayoutGetKeepAspect ( uiLayout layout)

Definition at line 2328 of file interface_layout.c.

References uiLayout::keepaspect.

int uiLayoutGetOperatorContext ( uiLayout layout)

Definition at line 2591 of file interface_layout.c.

References uiLayoutRoot::opcontext, and uiLayout::root.

int uiLayoutGetRedAlert ( uiLayout layout)

Definition at line 2323 of file interface_layout.c.

References uiLayout::redalert.

float uiLayoutGetScaleX ( uiLayout layout)

Definition at line 2343 of file interface_layout.c.

References uiLayout::scale.

float uiLayoutGetScaleY ( uiLayout layout)

Definition at line 2348 of file interface_layout.c.

References uiLayout::scale.

int uiLayoutGetWidth ( uiLayout layout)

Definition at line 2338 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)
uiLayout* uiLayoutListBox ( uiLayout layout,
struct PointerRNA ptr,
struct PropertyRNA prop,
struct PointerRNA actptr,
struct PropertyRNA actprop 
)
void uiLayoutOperatorButs ( const struct bContext C,
struct uiLayout layout,
struct wmOperator op,
int(*)(struct PointerRNA *, struct PropertyRNA *)  check_prop,
const char  label_align,
const short  flag 
)
uiLayout* uiLayoutOverlap ( uiLayout layout)
uiLayout* uiLayoutRow ( uiLayout layout,
int  align 
)

Definition at line 2112 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_message(), draw_actuator_motion(), draw_actuator_parent(), draw_actuator_property(), draw_actuator_random(), draw_actuator_shape_action(), draw_actuator_sound(), draw_actuator_steering(), draw_actuator_visibility(), draw_constraint(), draw_controller_header(), draw_gpencil_panel(), draw_modifier(), draw_modifier__envelope(), draw_modifier__generator(), 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_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_node_draw_input(), ui_template_id(), uiblock_layer_pass_arrow_buttons(), uiblock_layer_pass_buttons(), uiLayoutOperatorButs(), uiTemplateAnyID(), uiTemplateColorWheel(), uiTemplateEditModeSelection(), uiTemplateHeader3D(), uiTemplateImage(), uiTemplateImageSettings(), uiTemplateLayers(), uiTemplateList(), uiTemplateMovieClip(), uiTemplatePathBuilder(), uiTemplatePreview(), and uiTemplateRunningJobs().

void uiLayoutSetActive ( uiLayout layout,
int  active 
)
void uiLayoutSetAlignment ( uiLayout layout,
int  alignment 
)
void uiLayoutSetContextPointer ( uiLayout layout,
const char *  name,
struct PointerRNA ptr 
)
void uiLayoutSetEnabled ( uiLayout layout,
int  enabled 
)
void uiLayoutSetFunc ( uiLayout layout,
uiMenuHandleFunc  handlefunc,
void *  argv 
)

Definition at line 2622 of file interface_layout.c.

References uiLayoutRoot::argv, uiLayoutRoot::handlefunc, and uiLayout::root.

Referenced by node_add_menu().

void uiLayoutSetKeepAspect ( uiLayout layout,
int  keepaspect 
)

Definition at line 2293 of file interface_layout.c.

References uiLayout::keepaspect.

Referenced by uiTemplatePreview().

void uiLayoutSetOperatorContext ( uiLayout layout,
int  opcontext 
)
void uiLayoutSetRedAlert ( uiLayout layout,
int  redalert 
)

Definition at line 2288 of file interface_layout.c.

References uiLayout::redalert.

Referenced by draw_constraint().

void uiLayoutSetScaleX ( uiLayout layout,
float  scale 
)

Definition at line 2303 of file interface_layout.c.

References uiLayout::scale.

Referenced by uiTemplatePreview().

void uiLayoutSetScaleY ( uiLayout layout,
float  scale 
)

Definition at line 2308 of file interface_layout.c.

References uiLayout::scale.

uiLayout* uiLayoutSplit ( uiLayout layout,
float  percentage,
int  align 
)
void uiMenuPopupBoundsBlock ( uiBlock block,
int  addvall,
int  mx,
int  my 
)
void uiPopupBoundsBlock ( uiBlock block,
int  addval,
int  mx,
int  my 
)
void uiPupBlock ( struct bContext C,
uiBlockCreateFunc  func,
void *  arg 
)
void uiPupBlockClose ( struct bContext C,
uiBlock block 
)
void uiPupBlockEx ( struct bContext C,
uiBlockCreateFunc  func,
uiBlockHandleFunc  popup_func,
uiBlockCancelFunc  cancel_func,
void *  arg 
)
void uiPupBlockO ( struct bContext C,
uiBlockCreateFunc  func,
void *  arg,
const char *  opname,
int  opcontext 
)
uiPopupMenu* uiPupMenuBegin ( struct bContext C,
const char *  title,
int  icon 
)
void uiPupMenuEnd ( struct bContext C,
struct uiPopupMenu head 
)
void uiPupMenuError ( struct bContext C,
const char *  str,
  ... 
)

Definition at line 2504 of file interface_regions.c.

References BLI_snprintf(), BLI_strncpy(), NULL, and vconfirm_opname().

void uiPupMenuInvoke ( struct bContext C,
const char *  idname 
)
struct uiLayout* uiPupMenuLayout ( uiPopupMenu head) [read]
void uiPupMenuNotice ( struct bContext C,
const char *  str,
  ... 
)

Definition at line 2495 of file interface_regions.c.

References NULL, and vconfirm_opname().

void uiPupMenuOkee ( struct bContext C,
const char *  opname,
const char *  str,
  ... 
)

Definition at line 2473 of file interface_regions.c.

References BLI_snprintf(), and vconfirm_opname().

Referenced by node_group_edit_invoke(), and pack_all_invoke().

void uiPupMenuReports ( struct bContext C,
struct ReportList reports 
)
void uiPupMenuSaveOver ( struct bContext C,
struct wmOperator op,
const char *  filename 
)

Definition at line 2490 of file interface_regions.c.

References confirm_operator().

Referenced by wm_handler_fileselect_call(), and wm_save_mainfile_invoke().

void uiRoundBox ( float  minx,
float  miny,
float  maxx,
float  maxy,
float  rad 
)
void uiRoundRect ( float  minx,
float  miny,
float  maxx,
float  maxy,
float  rad 
)
int uiSearchBoxhHeight ( void  )
int uiSearchItemAdd ( uiSearchItems items,
const char *  name,
void *  poin,
int  iconid 
)
void uiSetButLink ( struct uiBut but,
void **  poin,
void ***  ppoin,
short *  tot,
int  from,
int  to 
)
void uiSetRoundBox ( int  type)
void uiStyleFontDraw ( struct uiFontStyle fs,
struct rcti rect,
const char *  str 
)
void uiStyleFontDrawExt ( struct uiFontStyle fs,
struct rcti rect,
const char *  str,
float *  r_xofs,
float *  r_yofs 
)
void uiStyleFontDrawRotated ( struct uiFontStyle fs,
struct rcti rect,
const char *  str 
)
void uiStyleFontSet ( struct uiFontStyle fs)
void uiTemplateAnyID ( uiLayout layout,
struct PointerRNA ptr,
const char *  propname,
const char *  proptypename,
const char *  text 
)
void uiTemplateColorRamp ( uiLayout layout,
struct PointerRNA ptr,
const char *  propname,
int  expand 
)
void uiTemplateColorWheel ( uiLayout layout,
struct PointerRNA ptr,
const char *  propname,
int  value_slider,
int  lock,
int  lock_luminosity,
int  cubic 
)
uiLayout* uiTemplateConstraint ( uiLayout layout,
struct PointerRNA ptr 
)
void uiTemplateCurveMapping ( uiLayout layout,
struct PointerRNA ptr,
const char *  propname,
int  type,
int  levels,
int  brush 
)
void uiTemplateDopeSheetFilter ( uiLayout layout,
struct bContext C,
struct PointerRNA ptr 
)
void uiTemplateEditModeSelection ( uiLayout layout,
struct bContext C 
)
void uiTemplateHeader ( uiLayout layout,
struct bContext C,
int  menus 
)
void uiTemplateHeader3D ( uiLayout layout,
struct bContext C 
)
void uiTemplateHistogram ( uiLayout layout,
struct PointerRNA ptr,
const char *  propname 
)
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 
)

Definition at line 538 of file interface_templates.c.

References UI_ID_BROWSE, UI_ID_RENAME, and ui_template_id().

Referenced by node_draw_group(), and node_uifunc_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 
)
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 uiTemplateImageSettings ( uiLayout layout,
struct PointerRNA imfptr 
)
void uiTemplateKeymapItemProperties ( uiLayout layout,
struct PointerRNA ptr 
)
void uiTemplateLayers ( uiLayout layout,
struct PointerRNA ptr,
const char *  propname,
PointerRNA used_ptr,
const char *  used_propname,
int  active_layer 
)
void uiTemplateList ( uiLayout layout,
struct bContext C,
struct PointerRNA ptr,
const char *  propname,
struct PointerRNA activeptr,
const char *  activeprop,
const char *  prop_list,
int  rows,
int  maxrows,
int  type 
)
void uiTemplateMarker ( struct uiLayout layout,
struct PointerRNA ptr,
const char *  propname,
PointerRNA userptr,
PointerRNA trackptr,
int  cmpact 
)
uiLayout* uiTemplateModifier ( uiLayout layout,
struct bContext C,
struct PointerRNA ptr 
)
void uiTemplateMovieClip ( struct uiLayout layout,
struct bContext C,
struct PointerRNA ptr,
const char *  propname,
int  compact 
)
void uiTemplateNodeLink ( uiLayout layout,
struct bNodeTree ntree,
struct bNode node,
struct bNodeSocket input 
)
void uiTemplateNodeView ( uiLayout layout,
struct bContext C,
struct bNodeTree ntree,
struct bNode node,
struct bNodeSocket input 
)
void uiTemplateOperatorSearch ( uiLayout layout)
void uiTemplatePathBuilder ( uiLayout layout,
struct PointerRNA ptr,
const char *  propname,
struct PointerRNA root_ptr,
const char *  text 
)
void uiTemplatePreview ( uiLayout layout,
struct ID id,
int  show_buttons,
struct ID parent,
struct MTex slot 
)
void uiTemplateReportsBanner ( uiLayout layout,
struct bContext C 
)
void uiTemplateRunningJobs ( uiLayout layout,
struct bContext C 
)
void uiTemplateTextureImage ( uiLayout layout,
struct bContext C,
struct Tex tex 
)
void uiTemplateTextureShow ( uiLayout layout,
struct bContext C,
struct PointerRNA ptr,
struct PropertyRNA prop 
)
void uiTemplateTextureUser ( uiLayout layout,
struct bContext C 
)
void uiTemplateTrack ( struct uiLayout layout,
struct PointerRNA ptr,
const char *  propname 
)
void uiTemplateVectorscope ( uiLayout layout,
struct PointerRNA ptr,
const char *  propname 
)
void uiTemplateWaveform ( uiLayout layout,
struct PointerRNA ptr,
const char *  propname 
)
void uiTextBoundsBlock ( uiBlock block,
int  addval 
)
void uiWidgetScrollDraw ( struct uiWidgetColors wcol,
struct rcti rect,
struct rcti slider,
int  state 
)

Variable Documentation

enum { ... } eBlockBoundsCalc