diff options
author | Julian Eisel <julian@blender.org> | 2022-05-12 18:05:37 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2022-05-12 18:05:37 +0300 |
commit | ccd18691fcc6441bf1c53956c931b1148b37d3f3 (patch) | |
tree | 807640bec754306f2e5e7aa72d6ceb38528f9592 /source/blender/editors | |
parent | f2c7b56f0f0eb9998e47b2725082937416f43d85 (diff) |
Cleanup: Remove another unused hotkey button definition function
See f2c7b56f0f0eb9.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 10 | ||||
-rw-r--r-- | source/blender/editors/interface/interface.cc | 28 |
2 files changed, 0 insertions, 38 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 2f4b574150a..082335ae2cd 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -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. diff --git a/source/blender/editors/interface/interface.cc b/source/blender/editors/interface/interface.cc index ee55643c444..f316198a160 100644 --- a/source/blender/editors/interface/interface.cc +++ b/source/blender/editors/interface/interface.cc @@ -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, |