Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2022-05-12 17:49:07 +0300
committerJulian Eisel <julian@blender.org>2022-05-12 17:56:14 +0300
commitf2c7b56f0f0eb9998e47b2725082937416f43d85 (patch)
treef92051b9844f738f3d3bf4650e6bad86628a51d1 /source/blender/editors/interface/interface.cc
parent3693e1d8e80501c6efcb8f732107742f80acf773 (diff)
Cleanup: Remove unused hotkey button definition function
This isn't used, and I also see any use for it short-term.
Diffstat (limited to 'source/blender/editors/interface/interface.cc')
-rw-r--r--source/blender/editors/interface/interface.cc30
1 files changed, 0 insertions, 30 deletions
diff --git a/source/blender/editors/interface/interface.cc b/source/blender/editors/interface/interface.cc
index b7098c26bcd..ee55643c444 100644
--- a/source/blender/editors/interface/interface.cc
+++ b/source/blender/editors/interface/interface.cc
@@ -6291,36 +6291,6 @@ uiBut *uiDefKeyevtButS(uiBlock *block,
return but;
}
-uiBut *uiDefHotKeyevtButS(uiBlock *block,
- int retval,
- const char *str,
- int x,
- int y,
- short width,
- short height,
- short *keypoin,
- const short *modkeypoin,
- const char *tip)
-{
- uiBut *but = ui_def_but(block,
- UI_BTYPE_HOTKEY_EVENT | UI_BUT_POIN_SHORT,
- retval,
- str,
- x,
- y,
- width,
- height,
- keypoin,
- 0.0,
- 0.0,
- 0.0,
- 0.0,
- tip);
- but->modifier_key = *modkeypoin;
- ui_but_update(but);
- return but;
-}
-
uiBut *uiDefSearchBut(uiBlock *block,
void *arg,
int retval,