public bool Execute() { if (m_prevWidget != null) { m_prevWidget.Hide(); } //m_currentWidget.Show(0.0f, m_data); m_undo = false; return(true); }
public void Undo() { if (m_prevWidget != null) { m_prevWidget.Show(m_activeTime, m_data, true); } m_currentWidget.Hide(); m_undo = true; }