//------------------------------------------------------- public TSScript(TSGrid g) { tsg = g; tsd = g.tsd; sel = g.sel; ChkScriotFolder(); }
//--------------------------------------------------------------------- private bool GetPrm() { if (tsg != null) { tsd = tsg.tsd; cols = tsg.cols; if (tsg.OffsetYMax <= 0) { tsg.GetStatus(); } m_OffsetYMax = tsg.OffsetYMax; m_OffsetY = tsg.OffsetY; m_FrameCount = tsg.tsd.FrameCount; m_FrameRate = (int)tsd.FrameRate; m_Sec = m_FrameCount / m_FrameRate; return(true); } else { return(false); } }
//********* //-------------------------------------------------------------------------- public TSSaveFile(TSData d) { data = d; }
//--------------------------------------------------- public void setFrame(TSData tsd, int f) { groupBox1.Text = tsd.FrameStr2(f); }
//--------------------------------------------------------------------- public void CombToTSData(TSData tsd) { tsh.TSData = tsd; tsh.CombToData(); }
//--------------------------------------------------------------------- public void TSDataToComb(TSData tsd) { tsh.TSData = tsd; tsh.TSDataToComb(); }
public TSJson(TSData d = null) { data = d; }