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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2007-05-17 21:15:22 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2007-05-17 21:15:22 +0400
commit53b434919b769ff49c30642d5f93023c8a267e42 (patch)
tree5b1d1233400385cfe9c891bcfa6b925ad76fcd2e /source/blender/include/BIF_interface.h
parent33466557fcfab8e54447c5a5362f141dea90ee06 (diff)
Added highlighting of non-existant names and autocomplete for
specifying the uv layer name in a material. Also added generic autocomplete_begin/do_name/end functions, this code was copied five times.
Diffstat (limited to 'source/blender/include/BIF_interface.h')
-rw-r--r--source/blender/include/BIF_interface.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/include/BIF_interface.h b/source/blender/include/BIF_interface.h
index e8d25cfd14f..ad2c8988343 100644
--- a/source/blender/include/BIF_interface.h
+++ b/source/blender/include/BIF_interface.h
@@ -36,6 +36,7 @@
struct ID;
struct ListBase;
struct ScrArea;
+struct AutoComplete;
/* uiBlock->dt */
#define UI_EMBOSS 0 /* use one of the themes for drawing */
@@ -319,5 +320,11 @@ extern void *uiSetCurFont_ext(float aspect);
void shade_buttons_change_3d(void);
+typedef struct AutoComplete AutoComplete;
+
+AutoComplete *autocomplete_begin(char *startname, int maxlen);
+void autocomplete_do_name(AutoComplete *autocpl, const char *name);
+void autocomplete_end(AutoComplete *autocpl, char *autoname);
+
#endif /* BIF_INTERFACE_H */