Aegisub/core/fexmovement.h
tentacle d89cf51b1e moved all tracking stuff into FexTracker popup menu
tracking is now somewhat complete
you can track points, convert these to movement&scaling and then split your line and let it be repositioned and rescaled

Originally committed to SVN as r42.
2006-01-29 15:08:51 +00:00

36 lines
793 B
C++

// FexMovement.h: interface for the FexMovement class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_FEXMOVEMENT_H__63D8ADD8_4EA1_4C56_8D6F_7B587A1A61A4__INCLUDED_)
#define AFX_FEXMOVEMENT_H__63D8ADD8_4EA1_4C56_8D6F_7B587A1A61A4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
typedef struct
{
vec2 Pos;
vec3 Rot;
vec2 Scale;
}FexMovementFrame;
#include "tenlist.h"
class FexMovement
{
public:
FexMovement();
~FexMovement();
void Load( const char* Filename );
void Save( const char* Filename );
const char* GetUniqueName();
tenlist<FexMovementFrame> Frames;
};
void FEXTRACKER_API DeleteMovement( FexMovement* delme );
#endif // !defined(AFX_FEXMOVEMENT_H__63D8ADD8_4EA1_4C56_8D6F_7B587A1A61A4__INCLUDED_)