Code cleanup: removed some unused UI button types
* CHARTAB: not needed anymore with improved copy/paste support and text input. * IDPOIN: replaced by SEARCH_MENU. * ICONROW/ICONTEXTROW: replaced by RNA enums. * NUMABS: can use min/max limits instead. * BUT_TOGDUAL, TOG3, TOGR, SLI: not used in 2.5 interface.
This commit is contained in:
@@ -230,10 +230,6 @@ struct uiBut {
|
||||
short modifier_key;
|
||||
short iconadd;
|
||||
|
||||
/* IDPOIN data */
|
||||
uiIDPoinFuncFP idpoin_func;
|
||||
ID **idpoin_idpp;
|
||||
|
||||
/* BLOCK data */
|
||||
uiBlockCreateFunc block_create_func;
|
||||
|
||||
@@ -460,8 +456,6 @@ struct uiPopupBlockHandle {
|
||||
};
|
||||
|
||||
uiBlock *ui_block_func_COLOR(struct bContext *C, uiPopupBlockHandle *handle, void *arg_but);
|
||||
void ui_block_func_ICONROW(struct bContext *C, uiLayout *layout, void *arg_but);
|
||||
void ui_block_func_ICONTEXTROW(struct bContext *C, uiLayout *layout, void *arg_but);
|
||||
|
||||
struct ARegion *ui_tooltip_create(struct bContext *C, struct ARegion *butregion, uiBut *but);
|
||||
void ui_tooltip_free(struct bContext *C, struct ARegion *ar);
|
||||
|
||||
Reference in New Issue
Block a user