Blender  V3.3
Classes | Macros | Typedefs | Enumerations
#include "DNA_ID.h"
#include "DNA_listBase.h"

Go to the source code of this file.

Classes

struct  TextLine
 
struct  Text
 

Macros

#define TXT_TABSIZE   4
 

Typedefs

typedef struct TextLine TextLine
 
typedef struct Text Text
 

Enumerations

enum  {
  TXT_ISDIRTY = 1 << 0 , TXT_ISMEM = 1 << 2 , TXT_ISEXT = 1 << 3 , TXT_ISSCRIPT = 1 << 4 ,
  TXT_FLAG_UNUSED_8 = 1 << 8 , TXT_FLAG_UNUSED_9 = 1 << 9 , TXT_TABSTOSPACES = 1 << 10
}
 

Detailed Description

Text blocks used for Python-Scripts, OpenShadingLanguage and arbitrary text data to store in blend files.

Definition in file DNA_text_types.h.

Macro Definition Documentation

◆ TXT_TABSIZE

#define TXT_TABSIZE   4

Definition at line 55 of file DNA_text_types.h.

Typedef Documentation

◆ Text

typedef struct Text Text

◆ TextLine

typedef struct TextLine TextLine

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Text.flags

Enumerator
TXT_ISDIRTY 

Set if the file in run-time differs from the file on disk, or if there is no file on disk.

TXT_ISMEM 

When the text hasn't been written to a file. Text.filepath may be NULL or invalid.

TXT_ISEXT 

Should always be set if the Text is not to be written into the .blend.

TXT_ISSCRIPT 

Load the script as a Python module when loading the .blend file.

TXT_FLAG_UNUSED_8 
TXT_FLAG_UNUSED_9 
TXT_TABSTOSPACES 

Use space instead of tabs.

Definition at line 58 of file DNA_text_types.h.