/* * This function erases the scale widget from the screen. */ static void _eraseCDKFScale (CDKOBJS *object) { CDKFSCALE *scale = (CDKFSCALE *)object; eraseCursesWindow (scale->labelWin); eraseCursesWindow (scale->fieldWin); eraseCursesWindow (scale->win); eraseCursesWindow (scale->shadowWin); }
/* * This erases the widget. */ static void _eraseCDKMarquee (CDKOBJS *object) { if (validCDKObject (object)) { CDKMARQUEE *widget = (CDKMARQUEE *)object; eraseCursesWindow (widget->win); eraseCursesWindow (widget->shadowWin); } }
/* * This erases the button widget. */ static void _eraseCDKButton (CDKOBJS *object) { if (validCDKObject (object)) { CDKBUTTON *button = (CDKBUTTON *)object; eraseCursesWindow (button->win); eraseCursesWindow (button->shadowWin); } }
/* * This function erases the scrolling list from the screen. */ static void _eraseCDKScroll (CDKOBJS *object) { if (validCDKObject (object)) { CDKSCROLL *scrollp = (CDKSCROLL *)object; eraseCursesWindow (scrollp->win); eraseCursesWindow (scrollp->shadowWin); } }
/* * This erases the file selector from the screen. */ static void _eraseCDKAlphalist (CDKOBJS *obj) { CDKALPHALIST *alphalist = (CDKALPHALIST *)obj; eraseCDKScroll (alphalist->scrollField); eraseCDKEntry (alphalist->entryField); eraseCursesWindow (alphalist->shadowWin); eraseCursesWindow (alphalist->win); }
/* * This function erases the widget from the screen. */ static void _eraseCDKUScale (CDKOBJS *object) { if (validCDKObject (object)) { CDKUSCALE *widget = (CDKUSCALE *)object; eraseCursesWindow (widget->labelWin); eraseCursesWindow (widget->fieldWin); eraseCursesWindow (widget->win); eraseCursesWindow (widget->shadowWin); } }
/* * This function erases the widget from the screen. */ static void _eraseCDKFSlider (CDKOBJS *object) { if (validCDKObject (object)) { CDKFSLIDER *widget = (CDKFSLIDER *)object; eraseCursesWindow (widget->labelWin); eraseCursesWindow (widget->fieldWin); eraseCursesWindow (widget->win); eraseCursesWindow (widget->shadowWin); } }
/* * This erases the file selector from the screen. */ static void _eraseCDKFselect (CDKOBJS *object) { CDKFSELECT * fselect = (CDKFSELECT *)object; eraseCDKScroll (fselect->scrollField); eraseCDKEntry (fselect->entryField); eraseCursesWindow (fselect->win); }
/* * This function erases the dialog widget from the screen. */ static void _eraseCDKDialog (CDKOBJS *object) { CDKDIALOG *dialog = (CDKDIALOG *)object; eraseCursesWindow (dialog->win); eraseCursesWindow (dialog->shadowWin); }