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_space_types.h')
-rw-r--r--source/blender/makesdna/DNA_space_types.h418
1 files changed, 281 insertions, 137 deletions
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h
index ca89cf11441..012162225fd 100644
--- a/source/blender/makesdna/DNA_space_types.h
+++ b/source/blender/makesdna/DNA_space_types.h
@@ -83,7 +83,8 @@ struct BLI_mempool;
*/
typedef struct SpaceLink {
struct SpaceLink *next, *prev;
- ListBase regionbase; /* storage of regions for inactive spaces */
+ /** Storage of regions for inactive spaces. */
+ ListBase regionbase;
char spacetype;
char link_flag;
char _pad0[6];
@@ -98,7 +99,8 @@ typedef struct SpaceLink {
/* Info Header */
typedef struct SpaceInfo {
SpaceLink *next, *prev;
- ListBase regionbase; /* storage of regions for inactive spaces */
+ /** Storage of regions for inactive spaces. */
+ ListBase regionbase;
char spacetype;
char link_flag;
char _pad0[6];
@@ -126,25 +128,31 @@ typedef enum eSpaceInfo_RptMask {
/* Properties Editor */
typedef struct SpaceButs {
SpaceLink *next, *prev;
- ListBase regionbase; /* storage of regions for inactive spaces */
+ /** Storage of regions for inactive spaces. */
+ ListBase regionbase;
char spacetype;
char link_flag;
char _pad0[6];
/* End 'SpaceLink' header. */
- View2D v2d DNA_DEPRECATED; /* deprecated, copied to region */
+ /** Deprecated, copied to region. */
+ View2D v2d DNA_DEPRECATED;
/* For different kinds of property editors (exposed in the space type selector). */
short space_subtype;
- short mainb, mainbo, mainbuser; /* context tabs */
- short preview; /* preview is signal to refresh */
+ /** Context tabs. */
+ short mainb, mainbo, mainbuser;
+ /** Preview is signal to refresh. */
+ short preview;
short pad[2];
char flag;
char collection_context;
- void *path; /* runtime */
- int pathflag, dataicon; /* runtime */
+ /** Runtime. */
+ void *path;
+ /** Runtime. */
+ int pathflag, dataicon;
ID *pinid;
void *texuser;
@@ -223,13 +231,15 @@ typedef enum eSpaceButtons_Flag {
/* Outliner */
typedef struct SpaceOops {
SpaceLink *next, *prev;
- ListBase regionbase; /* storage of regions for inactive spaces */
+ /** Storage of regions for inactive spaces. */
+ ListBase regionbase;
char spacetype;
char link_flag;
char _pad0[6];
/* End 'SpaceLink' header. */
- View2D v2d DNA_DEPRECATED; /* deprecated, copied to region */
+ /** Deprecated, copied to region. */
+ View2D v2d DNA_DEPRECATED;
ListBase tree;
@@ -369,23 +379,35 @@ typedef struct SpaceIpo_Runtime {
/* 'Graph' Editor (formerly known as the IPO Editor) */
typedef struct SpaceIpo {
SpaceLink *next, *prev;
- ListBase regionbase; /* storage of regions for inactive spaces */
+ /** Storage of regions for inactive spaces. */
+ ListBase regionbase;
char spacetype;
char link_flag;
char _pad0[6];
/* End 'SpaceLink' header. */
- View2D v2d DNA_DEPRECATED; /* deprecated, copied to region */
+ /** Deprecated, copied to region. */
+ View2D v2d DNA_DEPRECATED;
- struct bDopeSheet *ads; /* settings for filtering animation data (NOTE: we use a pointer due to code-linking issues) */
+ /** Settings for filtering animation data (NOTE: we use a pointer due to code-linking issues). */
+ struct bDopeSheet *ads;
- short mode; /* mode for the Graph editor (eGraphEdit_Mode) */
- short autosnap; /* time-transform autosnapping settings for Graph editor (eAnimEdit_AutoSnap in DNA_action_types.h) */
- int flag; /* settings for Graph editor (eGraphEdit_Flag) */
+ /** Mode for the Graph editor (eGraphEdit_Mode). */
+ short mode;
+ /**
+ * Time-transform autosnapping settings for Graph editor
+ * (eAnimEdit_AutoSnap in DNA_action_types.h).
+ */
+ short autosnap;
+ /** Settings for Graph editor (eGraphEdit_Flag). */
+ int flag;
- float cursorTime; /* time value for cursor (when in drivers mode; animation uses current frame) */
- float cursorVal; /* cursor value (y-value, x-value is current frame) */
- int around; /* pivot point for transforms */
+ /** Time value for cursor (when in drivers mode; animation uses current frame). */
+ float cursorTime;
+ /** Cursor value (y-value, x-value is current frame). */
+ float cursorVal;
+ /** Pivot point for transforms. */
+ int around;
int pad;
SpaceIpo_Runtime runtime;
@@ -451,18 +473,21 @@ typedef enum eGraphEdit_Runtime_Flag {
/* NLA Editor */
typedef struct SpaceNla {
struct SpaceLink *next, *prev;
- ListBase regionbase; /* storage of regions for inactive spaces */
+ /** Storage of regions for inactive spaces. */
+ ListBase regionbase;
char spacetype;
char link_flag;
char _pad0[6];
/* End 'SpaceLink' header. */
- short autosnap; /* this uses the same settings as autosnap for Action Editor */
+ /** This uses the same settings as autosnap for Action Editor. */
+ short autosnap;
short flag;
int pad;
struct bDopeSheet *ads;
- View2D v2d DNA_DEPRECATED; /* deprecated, copied to region */
+ /** Deprecated, copied to region. */
+ View2D v2d DNA_DEPRECATED;
} SpaceNla;
/* SpaceNla.flag */
@@ -513,31 +538,42 @@ typedef enum eScreen_Redraws_Flag {
/* Sequencer */
typedef struct SpaceSeq {
SpaceLink *next, *prev;
- ListBase regionbase; /* storage of regions for inactive spaces */
+ /** Storage of regions for inactive spaces. */
+ ListBase regionbase;
char spacetype;
char link_flag;
char _pad0[6];
/* End 'SpaceLink' header. */
- View2D v2d DNA_DEPRECATED; /* deprecated, copied to region */
+ /** Deprecated, copied to region. */
+ View2D v2d DNA_DEPRECATED;
- float xof DNA_DEPRECATED, yof DNA_DEPRECATED; /* deprecated: offset for drawing the image preview */
- short mainb; /* weird name for the sequencer subtype (seq, image, luma... etc) */
- short render_size; /* eSpaceSeq_Proxy_RenderSize */
+ /** Deprecated: offset for drawing the image preview. */
+ float xof DNA_DEPRECATED, yof DNA_DEPRECATED;
+ /** Weird name for the sequencer subtype (seq, image, luma... etc). */
+ short mainb;
+ /** ESpaceSeq_Proxy_RenderSize. */
+ short render_size;
short chanshown;
short zebra;
int flag;
- float zoom DNA_DEPRECATED; /* deprecated, handled by View2D now */
- int view; /* see SEQ_VIEW_* below */
+ /** Deprecated, handled by View2D now. */
+ float zoom DNA_DEPRECATED;
+ /** See SEQ_VIEW_* below. */
+ int view;
int overlay_type;
- int draw_flag; /* overlay an image of the editing on below the strips */
+ /** Overlay an image of the editing on below the strips. */
+ int draw_flag;
int pad;
- struct bGPdata *gpd; /* grease-pencil data */
+ /** Grease-pencil data. */
+ struct bGPdata *gpd;
- struct SequencerScopes scopes; /* different scoped displayed in space */
+ /** Different scoped displayed in space. */
+ struct SequencerScopes scopes;
- char multiview_eye; /* multiview current eye - for internal use */
+ /** Multiview current eye - for internal use. */
+ char multiview_eye;
char pad2[7];
struct GPUFX *compositor;
@@ -619,38 +655,56 @@ typedef enum eSpaceSeq_OverlayType {
/* Config and Input for File Selector */
typedef struct FileSelectParams {
- char title[96]; /* title, also used for the text of the execute button */
- char dir[1090]; /* directory, FILE_MAX_LIBEXTRA, 1024 + 66, this is for extreme case when 1023 length path
- * needs to be linked in, where foo.blend/Armature need adding */
+ /** Title, also used for the text of the execute button. */
+ char title[96];
+ /**
+ * Directory, FILE_MAX_LIBEXTRA, 1024 + 66, this is for extreme case when 1023 length path
+ * needs to be linked in, where foo.blend/Armature need adding
+ */
+ char dir[1090];
char pad_c1[2];
- char file[256]; /* file */
+ char file[256];
char renamefile[256];
- char renameedit[256]; /* annoying but the first is only used for initialization */
+ /** Annoying but the first is only used for initialization. */
+ char renameedit[256];
- char filter_glob[256]; /* FILE_MAXFILE */ /* list of filetypes to filter */
+ /** List of filetypes to filter (FILE_MAXFILE). */
+ char filter_glob[256];
- char filter_search[64]; /* text items' name must match to be shown. */
- int filter_id; /* same as filter, but for ID types (aka library groups). */
+ /** Text items name must match to be shown. */
+ char filter_search[64];
+ /** Same as filter, but for ID types (aka library groups). */
+ int filter_id;
- int active_file; /* active file used for keyboard navigation */
- int highlight_file; /* file under cursor */
+ /** Active file used for keyboard navigation. */
+ int active_file;
+ /** File under cursor. */
+ int highlight_file;
int sel_first;
int sel_last;
unsigned short thumbnail_size;
short pad;
/* short */
- short type; /* XXXXX for now store type here, should be moved to the operator */
- short flag; /* settings for filter, hiding dots files,... */
- short sort; /* sort order */
- short display; /* display mode flag */
- int filter; /* filter when (flags & FILE_FILTER) is true */
+ /** XXXXX for now store type here, should be moved to the operator. */
+ short type;
+ /** Settings for filter, hiding dots files. */
+ short flag;
+ /** Sort order. */
+ short sort;
+ /** Display mode flag. */
+ short display;
+ /** Filter when (flags & FILE_FILTER) is true. */
+ int filter;
- short recursion_level; /* max number of levels in dirtree to show at once, 0 to disable recursion. */
+ /** Max number of levels in dirtree to show at once, 0 to disable recursion. */
+ short recursion_level;
/* XXX --- still unused -- */
- short f_fp; /* show font preview */
- char fp_str[8]; /* string to use for font preview */
+ /** Show font preview. */
+ short f_fp;
+ /** String to use for font preview. */
+ char fp_str[8];
/* XXX --- end unused -- */
} FileSelectParams;
@@ -658,7 +712,8 @@ typedef struct FileSelectParams {
/* File Browser */
typedef struct SpaceFile {
SpaceLink *next, *prev;
- ListBase regionbase; /* storage of regions for inactive spaces */
+ /** Storage of regions for inactive spaces. */
+ ListBase regionbase;
char spacetype;
char link_flag;
char _pad0[6];
@@ -667,12 +722,16 @@ typedef struct SpaceFile {
char _pad1[4];
int scroll_offset;
- struct FileSelectParams *params; /* config and input for file select */
+ /** Config and input for file select. */
+ struct FileSelectParams *params;
- struct FileList *files; /* holds the list of files to show */
+ /** Holds the list of files to show. */
+ struct FileList *files;
- ListBase *folders_prev; /* holds the list of previous directories to show */
- ListBase *folders_next; /* holds the list of next directories (pushed from previous) to show */
+ /** Holds the list of previous directories to show. */
+ ListBase *folders_prev;
+ /** Holds the list of next directories (pushed from previous) to show. */
+ ListBase *folders_next;
/* operator that is invoking fileselect
* op->exec() will be called on the 'Load' button.
@@ -846,12 +905,15 @@ typedef struct FileDirEntry {
/* Either point to active variant/revision if available, or own entry (in mere filebrowser case). */
FileDirEntryRevision *entry;
- int typeflag; /* eFileSel_File_Types */
- int blentype; /* ID type, in case typeflag has FILE_TYPE_BLENDERLIB set. */
+ /** EFileSel_File_Types. */
+ int typeflag;
+ /** ID type, in case typeflag has FILE_TYPE_BLENDERLIB set. */
+ int blentype;
char *relpath;
- void *poin; /* TODO: make this a real ID pointer? */
+ /** TODO: make this a real ID pointer? */
+ void *poin;
struct ImBuf *image;
/* Tags are for info only, most of filtering is done in asset engine. */
@@ -879,7 +941,8 @@ typedef struct FileDirEntryArr {
int nbr_entries_filtered;
int entry_idx_start, entry_idx_end;
- char root[1024]; /* FILE_MAX */
+ /** FILE_MAX. */
+ char root[1024];
} FileDirEntryArr;
/* FileDirEntry.status */
@@ -902,7 +965,8 @@ enum {
/* Image/UV Editor */
typedef struct SpaceImage {
SpaceLink *next, *prev;
- ListBase regionbase; /* storage of regions for inactive spaces */
+ /** Storage of regions for inactive spaces. */
+ ListBase regionbase;
char spacetype;
char link_flag;
char _pad0[6];
@@ -911,26 +975,40 @@ typedef struct SpaceImage {
struct Image *image;
struct ImageUser iuser;
- struct Scopes scopes; /* histogram waveform and vectorscope */
- struct Histogram sample_line_hist; /* sample line histogram */
-
- struct bGPdata *gpd; /* grease pencil data */
-
- float cursor[2]; /* UV editor 2d cursor */
- float xof, yof; /* user defined offset, image is centered */
- float zoom; /* user defined zoom level */
- float centx, centy; /* storage for offset while render drawing */
-
- char mode; /* view/paint/mask */
+ /** Histogram waveform and vectorscope. */
+ struct Scopes scopes;
+ /** Sample line histogram. */
+ struct Histogram sample_line_hist;
+
+ /** Grease pencil data. */
+ struct bGPdata *gpd;
+
+ /** UV editor 2d cursor. */
+ float cursor[2];
+ /** User defined offset, image is centered. */
+ float xof, yof;
+ /** User defined zoom level. */
+ float zoom;
+ /** Storage for offset while render drawing. */
+ float centx, centy;
+
+ /** View/paint/mask. */
+ char mode;
/* Storage for sub-space types. */
char mode_prev;
char pin;
char _pad;
- short curtile; /* the currently active tile of the image when tile is enabled, is kept in sync with the active faces tile */
+ /**
+ * The currently active tile of the image when tile is enabled,
+ * is kept in sync with the active faces tile.
+ */
+ short curtile;
short lock;
- char dt_uv; /* UV draw type */
- char sticky; /* sticky selection type */
+ /** UV draw type. */
+ char dt_uv;
+ /** Sticky selection type. */
+ char sticky;
char dt_uvstretch;
char around;
@@ -1034,7 +1112,8 @@ typedef enum eSpaceImage_OtherUVFilter {
/* Text Editor */
typedef struct SpaceText {
SpaceLink *next, *prev;
- ListBase regionbase; /* storage of regions for inactive spaces */
+ /** Storage of regions for inactive spaces. */
+ ListBase regionbase;
char spacetype;
char link_flag;
char _pad0[6];
@@ -1045,8 +1124,13 @@ typedef struct SpaceText {
int top, viewlines;
short flags, menunr;
- short lheight; /* user preference, is font_size! */
- char cwidth, linenrs_tot; /* runtime computed, character width and the number of chars to use when showing line numbers */
+ /** User preference, is font_size! */
+ short lheight;
+ /**
+ * Runtime computed, character width
+ * and the number of chars to use when showing line numbers.
+ */
+ char cwidth, linenrs_tot;
int left;
int showlinenrs;
int tabnumber;
@@ -1054,23 +1138,30 @@ typedef struct SpaceText {
short showsyntax;
short line_hlight;
short overwrite;
- short live_edit; /* run python while editing, evil */
+ /** Run python while editing, evil. */
+ short live_edit;
float pix_per_line;
struct rcti txtscroll, txtbar;
int wordwrap, doplugins;
- char findstr[256]; /* ST_MAX_FIND_STR */
- char replacestr[256]; /* ST_MAX_FIND_STR */
+ /** ST_MAX_FIND_STR. */
+ char findstr[256];
+ /** ST_MAX_FIND_STR. */
+ char replacestr[256];
- short margin_column; /* column number to show right margin at */
- short lheight_dpi; /* actual lineheight, dpi controlled */
+ /** Column number to show right margin at. */
+ short margin_column;
+ /** Actual lineheight, dpi controlled. */
+ short lheight_dpi;
char pad[4];
- void *drawcache; /* cache for faster drawing */
+ /** Cache for faster drawing. */
+ void *drawcache;
- float scroll_accum[2]; /* runtime, for scroll increments smaller than a line */
+ /** Runtime, for scroll increments smaller than a line. */
+ float scroll_accum[2];
} SpaceText;
@@ -1109,16 +1200,22 @@ typedef struct Script {
void *py_globaldict;
int flags, lastspace;
- /* store the script file here so we can re-run it on loading blender, if "Enable Scripts" is on */
- char scriptname[1024]; /* 1024 = FILE_MAX */
- char scriptarg[256]; /* 1024 = FILE_MAX */
+ /**
+ * Store the script file here so we can re-run it on loading blender,
+ * if "Enable Scripts" is on
+ */
+ /** 1024 = FILE_MAX. */
+ char scriptname[1024];
+ /** 1024 = FILE_MAX. */
+ char scriptarg[256];
} Script;
#define SCRIPT_SET_NULL(_script) _script->py_draw = _script->py_event = _script->py_button = _script->py_browsercallback = _script->py_globaldict = NULL; _script->flags = 0
/* Script View - Obsolete (pre 2.5) */
typedef struct SpaceScript {
SpaceLink *next, *prev;
- ListBase regionbase; /* storage of regions for inactive spaces */
+ /** Storage of regions for inactive spaces. */
+ ListBase regionbase;
char spacetype;
char link_flag;
char _pad0[6];
@@ -1142,30 +1239,41 @@ typedef struct bNodeTreePath {
struct bNodeTreePath *next, *prev;
struct bNodeTree *nodetree;
- bNodeInstanceKey parent_key; /* base key for nodes in this tree instance */
+ /** Base key for nodes in this tree instance. */
+ bNodeInstanceKey parent_key;
int pad;
- float view_center[2]; /* v2d center point, so node trees can have different offsets in editors */
+ /** V2d center point, so node trees can have different offsets in editors. */
+ float view_center[2];
- char node_name[64]; /* MAX_NAME */
+ /** MAX_NAME. */
+ char node_name[64];
} bNodeTreePath;
typedef struct SpaceNode {
SpaceLink *next, *prev;
- ListBase regionbase; /* storage of regions for inactive spaces */
+ /** Storage of regions for inactive spaces. */
+ ListBase regionbase;
char spacetype;
char link_flag;
char _pad0[6];
/* End 'SpaceLink' header. */
- View2D v2d DNA_DEPRECATED; /* deprecated, copied to region */
+ /** Deprecated, copied to region. */
+ View2D v2d DNA_DEPRECATED;
- struct ID *id, *from; /* context, no need to save in file? well... pinning... */
- short flag, pad1; /* menunr: browse id block in header */
- float aspect, pad2; /* internal state variables */
+ /** Context, no need to save in file? well... pinning... */
+ struct ID *id, *from;
+ /** Menunr: browse id block in header. */
+ short flag, pad1;
+ /** Internal state variables. */
+ float aspect, pad2;
- float xof, yof; /* offset for drawing the backdrop */
- float zoom; /* zoom for backdrop */
- float cursor[2]; /* mouse pos for drawing socketless link and adding nodes */
+ /** Offset for drawing the backdrop. */
+ float xof, yof;
+ /** Zoom for backdrop. */
+ float zoom;
+ /** Mouse pos for drawing socketless link and adding nodes. */
+ float cursor[2];
/* XXX nodetree pointer info is all in the path stack now,
* remove later on and use bNodeTreePath instead. For now these variables are set when pushing/popping
@@ -1178,21 +1286,29 @@ typedef struct SpaceNode {
/* tree type for the current node tree */
char tree_idname[64];
- int treetype DNA_DEPRECATED; /* treetype: as same nodetree->type */
+ /** Treetype: as same nodetree->type. */
+ int treetype DNA_DEPRECATED;
int pad3;
- short texfrom; /* texfrom object, world or brush */
- short shaderfrom; /* shader from object or world */
- short recalc; /* currently on 0/1, for auto compo */
+ /** Texfrom object, world or brush. */
+ short texfrom;
+ /** Shader from object or world. */
+ short shaderfrom;
+ /** Currently on 0/1, for auto compo. */
+ short recalc;
- char insert_ofs_dir; /* direction for offsetting nodes on insertion */
+ /** Direction for offsetting nodes on insertion. */
+ char insert_ofs_dir;
char pad4;
- ListBase linkdrag; /* temporary data for modal linking operator */
+ /** Temporary data for modal linking operator. */
+ ListBase linkdrag;
/* XXX hack for translate_attach op-macros to pass data from transform op to insert_offset op */
- struct NodeInsertOfsData *iofsd; /* temporary data for node insert offset (in UI called Auto-offset) */
+ /** Temporary data for node insert offset (in UI called Auto-offset). */
+ struct NodeInsertOfsData *iofsd;
- struct bGPdata *gpd; /* grease-pencil data */
+ /** Grease-pencil data. */
+ struct bGPdata *gpd;
} SpaceNode;
/* SpaceNode.flag */
@@ -1244,12 +1360,15 @@ typedef struct ConsoleLine {
struct ConsoleLine *next, *prev;
/* keep these 3 vars so as to share free, realloc funcs */
- int len_alloc; /* allocated length */
- int len; /* real len - strlen() */
+ /** Allocated length. */
+ int len_alloc;
+ /** Real len - strlen(). */
+ int len;
char *line;
int cursor;
- int type; /* only for use when in the 'scrollback' listbase */
+ /** Only for use when in the 'scrollback' listbase. */
+ int type;
} ConsoleLine;
/* ConsoleLine.type */
@@ -1264,7 +1383,8 @@ typedef enum eConsoleLine_Type {
/* Console View */
typedef struct SpaceConsole {
SpaceLink *next, *prev;
- ListBase regionbase; /* storage of regions for inactive spaces */
+ /** Storage of regions for inactive spaces. */
+ ListBase regionbase;
char spacetype;
char link_flag;
char _pad0[6];
@@ -1273,10 +1393,13 @@ typedef struct SpaceConsole {
/* space vars */
int lheight, pad;
- ListBase scrollback; /* ConsoleLine; output */
- ListBase history; /* ConsoleLine; command history, current edited line is the first */
+ /** ConsoleLine; output. */
+ ListBase scrollback;
+ /** ConsoleLine; command history, current edited line is the first. */
+ ListBase history;
char prompt[256];
- char language[32]; /* multiple consoles are possible, not just python */
+ /** Multiple consoles are possible, not just python. */
+ char language[32];
int sel_start;
int sel_end;
@@ -1290,7 +1413,8 @@ typedef struct SpaceConsole {
typedef struct SpaceUserPref {
SpaceLink *next, *prev;
- ListBase regionbase; /* storage of regions for inactive spaces */
+ /** Storage of regions for inactive spaces. */
+ ListBase regionbase;
char spacetype;
char link_flag;
char _pad0[6];
@@ -1298,7 +1422,8 @@ typedef struct SpaceUserPref {
char _pad1[7];
char filter_type;
- char filter[64]; /* search term for filtering in the UI */
+ /** Search term for filtering in the UI. */
+ char filter[64];
} SpaceUserPref;
/** \} */
@@ -1310,7 +1435,8 @@ typedef struct SpaceUserPref {
/* Clip Editor */
typedef struct SpaceClip {
SpaceLink *next, *prev;
- ListBase regionbase; /* storage of regions for inactive spaces */
+ /** Storage of regions for inactive spaces. */
+ ListBase regionbase;
char spacetype;
char link_flag;
char _pad0[6];
@@ -1318,25 +1444,39 @@ typedef struct SpaceClip {
char _pad1[4];
- float xof, yof; /* user defined offset, image is centered */
- float xlockof, ylockof; /* user defined offset from locked position */
- float zoom; /* user defined zoom level */
-
- struct MovieClipUser user; /* user of clip */
- struct MovieClip *clip; /* clip data */
- struct MovieClipScopes scopes; /* different scoped displayed in space panels */
-
- int flag; /* flags */
- short mode; /* editor mode (editing context being displayed) */
- short view; /* type of the clip editor view */
+ /** User defined offset, image is centered. */
+ float xof, yof;
+ /** User defined offset from locked position. */
+ float xlockof, ylockof;
+ /** User defined zoom level. */
+ float zoom;
+
+ /** User of clip. */
+ struct MovieClipUser user;
+ /** Clip data. */
+ struct MovieClip *clip;
+ /** Different scoped displayed in space panels. */
+ struct MovieClipScopes scopes;
+
+ /** Flags. */
+ int flag;
+ /** Editor mode (editing context being displayed). */
+ short mode;
+ /** Type of the clip editor view. */
+ short view;
- int path_length; /* length of displaying path, in frames */
+ /** Length of displaying path, in frames. */
+ int path_length;
/* current stabilization data */
- float loc[2], scale, angle; /* pre-composed stabilization data */
+ /** Pre-composed stabilization data. */
+ float loc[2], scale, angle;
int pad;
- float stabmat[4][4], unistabmat[4][4]; /* current stabilization matrix and the same matrix in unified space,
- * defined when drawing and used for mouse position calculation */
+ /**
+ * Current stabilization matrix and the same matrix in unified space,
+ * defined when drawing and used for mouse position calculation.
+ */
+ float stabmat[4][4], unistabmat[4][4];
/* movie postprocessing */
int postproc_flag;
@@ -1344,9 +1484,11 @@ typedef struct SpaceClip {
/* grease pencil */
short gpencil_src, pad2;
- int around, pad4; /* pivot point for transforms */
+ /** Pivot point for transforms. */
+ int around, pad4;
- float cursor[2]; /* Mask editor 2d cursor */
+ /** Mask editor 2d cursor. */
+ float cursor[2];
MaskSpaceInfo mask_info;
} SpaceClip;
@@ -1412,7 +1554,8 @@ typedef enum eSpaceClip_GPencil_Source {
#
typedef struct SpaceTopBar {
SpaceLink *next, *prev;
- ListBase regionbase; /* storage of regions for inactive spaces */
+ /** Storage of regions for inactive spaces. */
+ ListBase regionbase;
char spacetype;
char link_flag;
char _pad0[6];
@@ -1431,7 +1574,8 @@ typedef struct SpaceTopBar {
#
typedef struct SpaceStatusBar {
SpaceLink *next, *prev;
- ListBase regionbase; /* storage of regions for inactive spaces */
+ /** Storage of regions for inactive spaces. */
+ ListBase regionbase;
char spacetype;
char link_flag;
char _pad0[6];