2016-03-19 06:57:51 +13:00
|
|
|
|
|
|
|
|
|
|
|
//=========================================================
|
|
|
|
//=========================================================
|
|
|
|
//=========================================================
|
|
|
|
//
|
|
|
|
// OBSOLETO: eliminare
|
|
|
|
//
|
|
|
|
//=========================================================
|
|
|
|
//=========================================================
|
|
|
|
//=========================================================
|
|
|
|
#ifdef OBSOLETO
|
|
|
|
|
|
|
|
#include "toonz/imagelocation.h"
|
|
|
|
#include "toonz/txsheet.h"
|
|
|
|
#include "application_imp.h"
|
|
|
|
|
|
|
|
TImageLocation::TImageLocation()
|
2016-06-15 18:43:10 +12:00
|
|
|
: m_row(0)
|
|
|
|
, m_col(0)
|
|
|
|
, m_fid()
|
|
|
|
, m_spline(0)
|
|
|
|
, m_levelName(L"")
|
|
|
|
, m_type(None) {}
|
2016-03-19 06:57:51 +13:00
|
|
|
|
|
|
|
TImageLocation::TImageLocation(int row, int col)
|
2016-06-15 18:43:10 +12:00
|
|
|
: m_row(row)
|
|
|
|
, m_col(col)
|
|
|
|
, m_fid()
|
|
|
|
, m_spline(0)
|
|
|
|
, m_levelName(L"")
|
|
|
|
, m_type(XsheetImage) {}
|
2016-03-19 06:57:51 +13:00
|
|
|
|
|
|
|
/*
|
|
|
|
TImageLocation::TImageLocation(const TStageObjectId &pid)
|
|
|
|
: m_row(0)
|
|
|
|
, m_col(0)
|
|
|
|
, m_fid()
|
|
|
|
, m_pid(pid)
|
|
|
|
, m_levelName(L"")
|
|
|
|
, m_type(PathImage)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
TImageLocation::TImageLocation(TStageObjectSpline *spline)
|
2016-06-15 18:43:10 +12:00
|
|
|
: m_row(0)
|
|
|
|
, m_col(0)
|
|
|
|
, m_fid()
|
|
|
|
, m_spline(spline)
|
|
|
|
, m_levelName(L"")
|
|
|
|
, m_type(PathImage) {}
|
2016-03-19 06:57:51 +13:00
|
|
|
|
2016-04-19 19:32:17 +12:00
|
|
|
TImageLocation::TImageLocation(std::wstring levelName, const TFrameId &fid)
|
2016-06-15 18:43:10 +12:00
|
|
|
: m_row(0)
|
|
|
|
, m_col(0)
|
|
|
|
, m_fid(fid)
|
|
|
|
, m_spline(0)
|
|
|
|
, m_levelName(levelName)
|
|
|
|
, m_type(LevelStripImage) {}
|
2016-03-19 06:57:51 +13:00
|
|
|
|
|
|
|
#endif
|