Cleanup: Move TransDataSeq declaration to its TransData file

This commit is contained in:
Germano Cavalcante 2020-06-07 18:22:01 -03:00
parent 6e53b28898
commit 4f4141c8f4
2 changed files with 13 additions and 13 deletions

View File

@ -216,19 +216,6 @@ typedef struct TransDataCurveHandleFlags {
char *h1, *h2;
} TransDataCurveHandleFlags;
/** Used for sequencer transform. */
typedef struct TransDataSeq {
struct Sequence *seq;
/** A copy of #Sequence.flag that may be modified for nested strips. */
int flag;
/** Use this so we can have transform data at the strips start,
* but apply correctly to the start frame. */
int start_offset;
/** one of #SELECT, #SEQ_LEFTSEL and #SEQ_RIGHTSEL. */
short sel_flag;
} TransDataSeq;
typedef struct TransData {
/** Distance needed to affect element (for Proportionnal Editing). */
float dist;

View File

@ -36,6 +36,19 @@
#include "transform.h"
#include "transform_convert.h"
/** Used for sequencer transform. */
typedef struct TransDataSeq {
struct Sequence *seq;
/** A copy of #Sequence.flag that may be modified for nested strips. */
int flag;
/** Use this so we can have transform data at the strips start,
* but apply correctly to the start frame. */
int start_offset;
/** one of #SELECT, #SEQ_LEFTSEL and #SEQ_RIGHTSEL. */
short sel_flag;
} TransDataSeq;
/**
* Sequencer transform customdata (stored in #TransCustomDataContainer).
*/