diff options
Diffstat (limited to 'source/blender/makesdna/DNA_text_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_text_types.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/makesdna/DNA_text_types.h b/source/blender/makesdna/DNA_text_types.h index 6ea5603ca4c..48ecccd517a 100644 --- a/source/blender/makesdna/DNA_text_types.h +++ b/source/blender/makesdna/DNA_text_types.h @@ -38,15 +38,17 @@ typedef struct TextLine { struct TextLine *next, *prev; char *line; - char *format; - int len, blen; + char *format; /* may be NULL if syntax is off or not yet formatted */ + int len, blen; /* blen unused */ } TextLine; typedef struct TextMarker { struct TextMarker *next, *prev; - int lineno, start, end, pad1; - int group, flags; - char clr[4], pad[4]; + + int lineno, start, end, pad1; /* line number and start/end character indices */ + + int group, flags; /* see BKE_text.h for flag defines */ + char color[4], pad[4]; /* draw color of the marker */ } TextMarker; typedef struct Text { |