GroupCell::~GroupCell() { if (m_input != NULL) delete m_input; DestroyOutput(); if (m_hiddenTree) delete m_hiddenTree; }
void GroupCell::RemoveOutput() { DestroyOutput(); ResetSize(); m_output = NULL; m_lastInOutput = NULL; m_appendedCells = NULL; m_hide = false; }
void GroupCell::RemoveOutput() { DestroyOutput(); ResetSize(); m_height = GetEditable()->GetHeight(); m_output = NULL; m_lastInOutput = NULL; m_appendedCells = NULL; m_hide = false; }
void GroupCell::Destroy() { if (m_input != NULL) delete m_input; m_input = NULL; if (m_output != NULL) DestroyOutput(); m_output = NULL; m_next = NULL; }
void GroupCell::SetOutput(MathCell *output) { if (output == NULL) return ; if (m_output != NULL) DestroyOutput(); m_output = output; m_output->m_group = this; m_lastInOutput = m_output; while (m_lastInOutput->m_next != NULL) m_lastInOutput = m_lastInOutput->m_next; //m_appendedCells = output; }