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:
authorTon Roosendaal <ton@blender.org>2005-10-28 20:49:48 +0400
committerTon Roosendaal <ton@blender.org>2005-10-28 20:49:48 +0400
commitb8d81d093a1de39fd21df94bd7b4a4fd81d2491a (patch)
tree3e028e0ccf586ee9cdb0e18351840ad8169d1254 /source/blender/include/interface.h
parent3957b3428eebe55ae9d18ffbaa44e708ae680f76 (diff)
Autocomplete for buttons that need Blender data names (ID's and Bones).
Just press TAB and it completes up to the level a match is found. If more matches exist a menu could pop up, thats for later. Now an evening off! :)
Diffstat (limited to 'source/blender/include/interface.h')
-rw-r--r--source/blender/include/interface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/include/interface.h b/source/blender/include/interface.h
index ce4a56de5a5..ed6eed109e9 100644
--- a/source/blender/include/interface.h
+++ b/source/blender/include/interface.h
@@ -124,6 +124,9 @@ struct uiBut {
void (*embossfunc)(int , int , float, float, float, float, float, int);
void (*sliderfunc)(int , float, float, float, float, float, float, int);
+ void (*autocomplete_func)(char *, void *);
+ void *autofunc_arg;
+
uiLink *link;
char *tip, *lockstr;