Blender V2.61 - r43446
Classes | Typedefs | Functions

BKE_suggestions.h File Reference

Go to the source code of this file.

Classes

struct  SuggItem
struct  SuggList

Typedefs

typedef struct SuggItem SuggItem
typedef struct SuggList SuggList

Functions

void free_texttools (void)
void texttool_text_set_active (Text *text)
void texttool_text_clear (void)
short texttool_text_is_active (Text *text)
void texttool_suggest_add (const char *name, char type)
void texttool_suggest_prefix (const char *prefix)
void texttool_suggest_clear (void)
SuggItemtexttool_suggest_first (void)
SuggItemtexttool_suggest_last (void)
void texttool_suggest_select (SuggItem *sel)
SuggItemtexttool_suggest_selected (void)
int * texttool_suggest_top (void)
void texttool_docs_show (const char *docs)
char * texttool_docs_get (void)
void texttool_docs_clear (void)

Detailed Description

Definition in file BKE_suggestions.h.


Typedef Documentation

typedef struct SuggItem SuggItem
typedef struct SuggList SuggList

Function Documentation

void free_texttools ( void  )

Definition at line 86 of file suggestions.c.

References txttl_free_docs(), and txttl_free_suggest().

Referenced by texttool_text_clear().

void texttool_docs_clear ( void  )

Definition at line 270 of file suggestions.c.

References txttl_free_docs().

Referenced by do_texttools().

char* texttool_docs_get ( void  )

Definition at line 265 of file suggestions.c.

References documentation.

Referenced by do_texttools(), and draw_documentation().

void texttool_docs_show ( const char *  docs)

Definition at line 240 of file suggestions.c.

References documentation, len(), MEM_freeN(), MEM_mallocN(), NULL, and strlen().

void texttool_suggest_add ( const char *  name,
char  type 
)
void texttool_suggest_clear ( void  )

Definition at line 206 of file suggestions.c.

References txttl_free_suggest().

Referenced by do_texttools().

SuggItem* texttool_suggest_first ( void  )
SuggItem* texttool_suggest_last ( void  )

Definition at line 216 of file suggestions.c.

References SuggList::lastmatch.

Referenced by do_texttools(), draw_suggestion_list(), and text_do_suggest_select().

void texttool_suggest_prefix ( const char *  prefix)
void texttool_suggest_select ( SuggItem sel)

Definition at line 221 of file suggestions.c.

References SuggList::selected.

Referenced by do_texttools(), and text_do_suggest_select().

SuggItem* texttool_suggest_selected ( void  )
int* texttool_suggest_top ( void  )

Definition at line 231 of file suggestions.c.

References SuggList::top.

Referenced by draw_suggestion_list(), text_do_suggest_select(), and text_pop_suggest_list().

void texttool_text_clear ( void  )

Definition at line 99 of file suggestions.c.

References free_texttools(), and NULL.

Referenced by confirm_suggestion(), and texttool_text_set_active().

short texttool_text_is_active ( Text text)
void texttool_text_set_active ( Text text)

Definition at line 92 of file suggestions.c.

References texttool_text_clear().