[Bf-blender-cvs] [ccd18691fcc] master: Cleanup: Remove another unused hotkey button definition function
Julian Eisel
noreply at git.blender.org
Thu May 12 17:06:18 CEST 2022
Commit: ccd18691fcc6441bf1c53956c931b1148b37d3f3
Author: Julian Eisel
Date: Thu May 12 17:05:37 2022 +0200
Branches: master
https://developer.blender.org/rBccd18691fcc6441bf1c53956c931b1148b37d3f3
Cleanup: Remove another unused hotkey button definition function
See f2c7b56f0f0eb9.
===================================================================
M source/blender/editors/include/UI_interface.h
M source/blender/editors/interface/interface.cc
===================================================================
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,
More information about the Bf-blender-cvs
mailing list