Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_sequence_types.h
| Show All 39 Lines | |||||
| #ifndef __DNA_SEQUENCE_TYPES_H__ | #ifndef __DNA_SEQUENCE_TYPES_H__ | ||||
| #define __DNA_SEQUENCE_TYPES_H__ | #define __DNA_SEQUENCE_TYPES_H__ | ||||
| #include "DNA_defs.h" | #include "DNA_defs.h" | ||||
| #include "DNA_color_types.h" | #include "DNA_color_types.h" | ||||
| #include "DNA_listBase.h" | #include "DNA_listBase.h" | ||||
| #include "DNA_vec_types.h" | #include "DNA_vec_types.h" | ||||
| #include "DNA_scene_types.h" | |||||
| struct Ipo; | struct Ipo; | ||||
| struct Scene; | struct Scene; | ||||
| struct bSound; | struct bSound; | ||||
| struct MovieClip; | struct MovieClip; | ||||
| /* strlens; 256= FILE_MAXFILE, 768= FILE_MAXDIR */ | /* strlens; 256= FILE_MAXFILE, 768= FILE_MAXDIR */ | ||||
| ▲ Show 20 Lines • Show All 140 Lines • ▼ Show 20 Lines | typedef struct Sequence { | ||||
| /* Multiview */ | /* Multiview */ | ||||
| char views_format; | char views_format; | ||||
| struct Stereo3dFormat *stereo3d_format; | struct Stereo3dFormat *stereo3d_format; | ||||
| struct IDProperty *prop; | struct IDProperty *prop; | ||||
| /* modifiers */ | /* modifiers */ | ||||
| ListBase modifiers; | ListBase modifiers; | ||||
| ViewRender view_render; /* ViewRender only used for scene strips */ | |||||
| } Sequence; | } Sequence; | ||||
| typedef struct MetaStack { | typedef struct MetaStack { | ||||
campbellbarton: Why not make this a flag? re-use `SEQ_USE_COLOR_BALANCE` for eg. | |||||
Not Done Inline ActionsWasn't sure what flags were OK to use still - thanks :) spockTheGray: Wasn't sure what flags were OK to use still - thanks :) | |||||
| struct MetaStack *next, *prev; | struct MetaStack *next, *prev; | ||||
| ListBase *oldbasep; | ListBase *oldbasep; | ||||
| Sequence *parseq; | Sequence *parseq; | ||||
| /* the startdisp/enddisp when entering the meta */ | /* the startdisp/enddisp when entering the meta */ | ||||
| int disp_range[2]; | int disp_range[2]; | ||||
| } MetaStack; | } MetaStack; | ||||
| typedef struct Editing { | typedef struct Editing { | ||||
| ▲ Show 20 Lines • Show All 207 Lines • ▼ Show 20 Lines | #endif | ||||
| SEQ_FLAG_DELETE = (1 << 10), | SEQ_FLAG_DELETE = (1 << 10), | ||||
| SEQ_FLIPX = (1 << 11), | SEQ_FLIPX = (1 << 11), | ||||
| SEQ_FLIPY = (1 << 12), | SEQ_FLIPY = (1 << 12), | ||||
| SEQ_MAKE_FLOAT = (1 << 13), | SEQ_MAKE_FLOAT = (1 << 13), | ||||
| SEQ_LOCK = (1 << 14), | SEQ_LOCK = (1 << 14), | ||||
| SEQ_USE_PROXY = (1 << 15), | SEQ_USE_PROXY = (1 << 15), | ||||
| SEQ_USE_TRANSFORM = (1 << 16), | SEQ_USE_TRANSFORM = (1 << 16), | ||||
| SEQ_USE_CROP = (1 << 17), | SEQ_USE_CROP = (1 << 17), | ||||
| SEQ_OVERRIDE_RENDER_ENGINE = (1 << 18), | |||||
| /* SEQ_USE_COLOR_BALANCE = (1 << 18), */ /* DEPRECATED */ | /* SEQ_USE_COLOR_BALANCE = (1 << 18), */ /* DEPRECATED */ | ||||
| /* SEQ_USE_PROXY_CUSTOM_DIR = (1 << 19), */ /* DEPRECATED */ | /* SEQ_USE_PROXY_CUSTOM_DIR = (1 << 19), */ /* DEPRECATED */ | ||||
| /* SEQ_USE_PROXY_CUSTOM_FILE = (1 << 21), */ /* DEPRECATED */ | /* SEQ_USE_PROXY_CUSTOM_FILE = (1 << 21), */ /* DEPRECATED */ | ||||
| SEQ_USE_EFFECT_DEFAULT_FADE = (1 << 22), | SEQ_USE_EFFECT_DEFAULT_FADE = (1 << 22), | ||||
| SEQ_USE_LINEAR_MODIFIERS = (1 << 23), | SEQ_USE_LINEAR_MODIFIERS = (1 << 23), | ||||
| /* flags for whether those properties are animated or not */ | /* flags for whether those properties are animated or not */ | ||||
| ▲ Show 20 Lines • Show All 157 Lines • Show Last 20 Lines | |||||
Why not make this a flag? re-use SEQ_USE_COLOR_BALANCE for eg.