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:
Diffstat (limited to 'source/blender/makesdna/DNA_text_types.h')
-rw-r--r--source/blender/makesdna/DNA_text_types.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/source/blender/makesdna/DNA_text_types.h b/source/blender/makesdna/DNA_text_types.h
index 856e17214a2..8dfaf95a10a 100644
--- a/source/blender/makesdna/DNA_text_types.h
+++ b/source/blender/makesdna/DNA_text_types.h
@@ -30,47 +30,47 @@
#include "DNA_ID.h"
typedef struct TextLine {
- struct TextLine *next, *prev;
+ struct TextLine *next, *prev;
- char *line;
- /** May be NULL if syntax is off or not yet formatted. */
- char *format;
- /** Blen unused. */
- int len, blen;
+ char *line;
+ /** May be NULL if syntax is off or not yet formatted. */
+ char *format;
+ /** Blen unused. */
+ int len, blen;
} TextLine;
typedef struct Text {
- ID id;
+ ID id;
- char *name;
- void *compiled;
+ char *name;
+ void *compiled;
- int flags, nlines;
+ int flags, nlines;
- ListBase lines;
- TextLine *curl, *sell;
- int curc, selc;
+ ListBase lines;
+ TextLine *curl, *sell;
+ int curc, selc;
- double mtime;
+ double mtime;
} Text;
-#define TXT_TABSIZE 4
+#define TXT_TABSIZE 4
#define TXT_INIT_UNDO 1024
-#define TXT_MAX_UNDO (TXT_INIT_UNDO*TXT_INIT_UNDO)
+#define TXT_MAX_UNDO (TXT_INIT_UNDO * TXT_INIT_UNDO)
/* text flags */
enum {
- TXT_ISDIRTY = 1 << 0,
- TXT_ISMEM = 1 << 2,
- TXT_ISEXT = 1 << 3,
- /** Used by space handler scriptlinks. */
- TXT_ISSCRIPT = 1 << 4,
+ TXT_ISDIRTY = 1 << 0,
+ TXT_ISMEM = 1 << 2,
+ TXT_ISEXT = 1 << 3,
+ /** Used by space handler scriptlinks. */
+ TXT_ISSCRIPT = 1 << 4,
- TXT_FLAG_UNUSED_8 = 1 << 8, /* cleared */
- TXT_FLAG_UNUSED_9 = 1 << 9, /* cleared */
+ TXT_FLAG_UNUSED_8 = 1 << 8, /* cleared */
+ TXT_FLAG_UNUSED_9 = 1 << 9, /* cleared */
- /** Use space instead of tabs. */
- TXT_TABSTOSPACES = 1 << 10,
+ /** Use space instead of tabs. */
+ TXT_TABSTOSPACES = 1 << 10,
};
-#endif /* __DNA_TEXT_TYPES_H__ */
+#endif /* __DNA_TEXT_TYPES_H__ */