public Text3DRow addRow(Text3DRow tr) { Process process = Process.ThisProcess(); m_Rows.Add(tr); using (zString str = zString.Create(process, tr.Text)) { tr.GText = m_View.CreateText(0x0000 + m_Rows.Count * 100, 0x0000 + m_View.FontY() * m_Rows.Count, str); tr.GText.Timed = 0; tr.GText.Timer = -1; tr.GText.PosX = 0; tr.GText.PosY = 0; tr.GText.Color.R = tr.Color.R; tr.GText.Color.G = tr.Color.G; tr.GText.Color.B = tr.Color.B; tr.GText.Color.A = tr.Color.A; tr.InsertTime = DateTime.Now.Ticks / 10000; } return(tr); }
public void removeRow(Text3DRow tr) { m_Rows.Remove(tr); tr.GText.Timed = 1; tr.GText.Timer = 0; }