Cleanup: Remove unused UI button creation function

This commit is contained in:
Hans Goudey
2024-02-29 22:30:19 -05:00
parent 9018c8b99b
commit aabd5de1f9
2 changed files with 0 additions and 47 deletions

View File

@@ -1285,21 +1285,6 @@ uiBut *uiDefIconTextBut(uiBlock *block,
float a1,
float a2,
const char *tip);
uiBut *uiDefIconTextButF(uiBlock *block,
int type,
int retval,
int icon,
blender::StringRef str,
int x,
int y,
short width,
short height,
float *poin,
float min,
float max,
float a1,
float a2,
const char *tip);
uiBut *uiDefIconTextButI(uiBlock *block,
int type,
int retval,

View File

@@ -5544,38 +5544,6 @@ uiBut *uiDefIconTextBut(uiBlock *block,
but->drawflag |= UI_BUT_ICON_LEFT;
return but;
}
uiBut *uiDefIconTextButF(uiBlock *block,
int type,
int retval,
int icon,
const StringRef str,
int x,
int y,
short width,
short height,
float *poin,
float min,
float max,
float a1,
float a2,
const char *tip)
{
return uiDefIconTextBut(block,
type | UI_BUT_POIN_FLOAT,
retval,
icon,
str,
x,
y,
width,
height,
(void *)poin,
min,
max,
a1,
a2,
tip);
}
uiBut *uiDefIconTextButI(uiBlock *block,
int type,
int retval,