TivaWare_C_Series-2.1.4.178/third_party/windows/fltk-1.1.10/src/Fl_Text_Display.cxx
/*
** Free a text display and release its associated memory.  Note, the text
** BUFFER that the text display displays is a separate entity and is not
** freed, nor are the style buffer or style table.
*/
Free a text display and release its associated memory.  Note, the text
BUFFER that the text display displays is a separate entity and is not
freed, nor are the style buffer or style table.
Free a text display and release its associated memory . Note the text BUFFER that the text display displays is a separate entity and is not freed nor are the style buffer or style table .
Fl_Text_Display::~Fl_Text_Display() {
  if (scroll_direction) {
    Fl::remove_timeout(scroll_timer_cb, this);
    scroll_direction = 0;
  }
  if (mBuffer) {
    mBuffer->remove_modify_callback(buffer_modified_cb, this);
    mBuffer->remove_predelete_callback(buffer_predelete_cb, this);
  }
  if (mLineStarts) delete[] mLineStarts;
}
Fl_Text_Display :: ~ Fl_Text_Display ( ) { if ( scroll_direction ) { Fl :: remove_timeout ( scroll_timer_cb , this ) ; scroll_direction = 0 ; } if ( mBuffer ) { mBuffer -> remove_modify_callback ( buffer_modified_cb , this ) ; mBuffer -> remove_predelete_callback ( buffer_predelete_cb , this ) ; } if ( mLineStarts ) delete [ ] mLineStarts ; }
Free a text display and release its associated memory.
Free a text display and release its associated memory .