Cleanup: Remove another unused hotkey button definition function

See f2c7b56f0f.
This commit is contained in:
Julian Eisel 2022-05-12 17:05:37 +02:00
parent f2c7b56f0f
commit ccd18691fc
2 changed files with 0 additions and 38 deletions

View File

@ -1539,16 +1539,6 @@ uiBut *uiDefIconTextBlockBut(uiBlock *block,
short height,
const char *tip);
uiBut *uiDefKeyevtButS(uiBlock *block,
int retval,
const char *str,
int x,
int y,
short width,
short height,
short *spoin,
const char *tip);
/**
* \param arg: A pointer to string/name, use #UI_but_func_search_set() below to make this work.
* here `a1` and `a2`, if set, control thumbnail preview rows/cols.

View File

@ -6263,34 +6263,6 @@ uiBut *uiDefIconBlockBut(uiBlock *block,
return but;
}
uiBut *uiDefKeyevtButS(uiBlock *block,
int retval,
const char *str,
int x,
int y,
short width,
short height,
short *spoin,
const char *tip)
{
uiBut *but = ui_def_but(block,
UI_BTYPE_KEY_EVENT | UI_BUT_POIN_SHORT,
retval,
str,
x,
y,
width,
height,
spoin,
0.0,
0.0,
0.0,
0.0,
tip);
ui_but_update(but);
return but;
}
uiBut *uiDefSearchBut(uiBlock *block,
void *arg,
int retval,