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:
authorIan Thompson <quornian@googlemail.com>2008-07-19 03:12:19 +0400
committerIan Thompson <quornian@googlemail.com>2008-07-19 03:12:19 +0400
commit123407e0b4ec616aef40216ab76e559e0dee5711 (patch)
tree90e3ad4fc0084c6f2f3ba017a85e9770fd1bcf67 /source/blender/blenkernel/BKE_suggestions.h
parentb205cf34b4586cd2ebd51a655ce30be4dcccc48c (diff)
Added a documentation panel with primitive word-wrap functionality. It can be displayed by Text.showDoc(string) in python and has a text-plugin script for function docs which may be invoked with Ctrl+I inside its params list. Eg. type "dir(" <Ctrl+I>
Diffstat (limited to 'source/blender/blenkernel/BKE_suggestions.h')
-rw-r--r--source/blender/blenkernel/BKE_suggestions.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/source/blender/blenkernel/BKE_suggestions.h b/source/blender/blenkernel/BKE_suggestions.h
index d0f982263c0..cbddbcfc8ad 100644
--- a/source/blender/blenkernel/BKE_suggestions.h
+++ b/source/blender/blenkernel/BKE_suggestions.h
@@ -60,20 +60,26 @@ typedef struct SuggList {
SuggItem *selected;
} SuggList;
+/* Free all suggestion related memory */
void free_suggestions();
+/* Used to identify which Text object the current tools should appear against */
+void suggest_set_active(Text *text);
+void suggest_clear_active();
+short suggest_is_active(Text *text);
+
void suggest_add(const char *name, char type);
void suggest_prefix(const char *prefix);
SuggItem *suggest_first();
SuggItem *suggest_last();
-void suggest_set_text(Text *text);
-void suggest_clear_text();
-short suggest_is_active(Text *text);
-
void suggest_set_selected(SuggItem *sel);
SuggItem *suggest_get_selected();
+void suggest_documentation(const char *docs);
+char *suggest_get_docs();
+void suggest_clear_docs();
+
#ifdef __cplusplus
}
#endif