~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to source/blender/blenkernel/BKE_suggestions.h

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2012-07-23 08:54:18 UTC
  • mfrom: (14.2.16 sid)
  • mto: (14.2.19 sid)
  • mto: This revision was merged to the branch mainline in revision 42.
  • Revision ID: package-import@ubuntu.com-20120723085418-9foz30v6afaf5ffs
Tags: 2.63a-2
* debian/: Cycles support added (Closes: #658075)
  For now, this top feature has been enabled only
  on [any-amd64 any-i386] architectures because
  of OpenImageIO failing on all others
* debian/: scripts installation path changed
  from /usr/lib to /usr/share:
  + debian/patches/: patchset re-worked for path changing
  + debian/control: "Breaks" field added on yafaray-exporter

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**     
2
 
 * $Id: BKE_suggestions.h 26841 2010-02-12 13:34:04Z campbellbarton $ 
3
 
 *
 
1
/*
4
2
 * ***** BEGIN GPL LICENSE BLOCK *****
5
3
 *
6
4
 * This program is free software; you can redistribute it and/or
26
24
 *
27
25
 * ***** END GPL LICENSE BLOCK *****
28
26
 */
29
 
#ifndef BKE_SUGGESTIONS_H
30
 
#define BKE_SUGGESTIONS_H
 
27
#ifndef __BKE_SUGGESTIONS_H__
 
28
#define __BKE_SUGGESTIONS_H__
 
29
 
 
30
/** \file BKE_suggestions.h
 
31
 *  \ingroup bke
 
32
 */
31
33
 
32
34
#ifdef __cplusplus
33
35
extern "C" {
34
36
#endif
35
37
 
36
38
/* ****************************************************************************
37
 
Suggestions should be added in sorted order although a linear sorting method is
38
 
implemented. The list is then divided up based on the prefix provided by
39
 
update_suggestions:
40
 
 
41
 
Example:
42
 
  Prefix: ab
43
 
  aaa <-- first
44
 
  aab
45
 
  aba <-- firstmatch
46
 
  abb <-- lastmatch
47
 
  baa
48
 
  bab <-- last
49
 
**************************************************************************** */
 
39
 * Suggestions should be added in sorted order although a linear sorting method is
 
40
 * implemented. The list is then divided up based on the prefix provided by
 
41
 * update_suggestions:
 
42
 *
 
43
 * Example:
 
44
 *   Prefix: ab
 
45
 *   aaa <-- first
 
46
 *   aab
 
47
 *   aba <-- firstmatch
 
48
 *   abb <-- lastmatch
 
49
 *   baa
 
50
 *   bab <-- last
 
51
 **************************************************************************** */
50
52
 
51
53
struct Text;
52
54
 
64
66
} SuggList;
65
67
 
66
68
/* Free all text tool memory */
67
 
void free_texttools();
 
69
void free_texttools(void);
68
70
 
69
71
/* Used to identify which Text object the current tools should appear against */
70
72
void texttool_text_set_active(Text *text);
71
 
void texttool_text_clear();
 
73
void texttool_text_clear(void);
72
74
short texttool_text_is_active(Text *text);
73
75
 
74
76
/* Suggestions */
75
77
void texttool_suggest_add(const char *name, char type);
76
78
void texttool_suggest_prefix(const char *prefix);
77
 
void texttool_suggest_clear();
78
 
SuggItem *texttool_suggest_first();
79
 
SuggItem *texttool_suggest_last();
 
79
void texttool_suggest_clear(void);
 
80
SuggItem *texttool_suggest_first(void);
 
81
SuggItem *texttool_suggest_last(void);
80
82
void texttool_suggest_select(SuggItem *sel);
81
 
SuggItem *texttool_suggest_selected();
82
 
int *texttool_suggest_top();
 
83
SuggItem *texttool_suggest_selected(void);
 
84
int *texttool_suggest_top(void);
83
85
 
84
86
/* Documentation */
85
87
void texttool_docs_show(const char *docs);
86
 
char *texttool_docs_get();
87
 
void texttool_docs_clear();
 
88
char *texttool_docs_get(void);
 
89
void texttool_docs_clear(void);
88
90
 
89
91
#ifdef __cplusplus
90
92
}