diff --git a/curses.h b/curses.h index 4a8fccbb..83607158 100644 --- a/curses.h +++ b/curses.h @@ -15,7 +15,7 @@ * See the file maintain.er for details of the current maintainer. * ************************************************************************/ -/* $Id: curses.h,v 1.150 2006/03/25 00:53:35 wmcbrine Exp $ */ +/* $Id: curses.h,v 1.151 2006/03/25 23:57:40 wmcbrine Exp $ */ /*----------------------------------------------------------------------* * PDCurses * @@ -613,7 +613,6 @@ typedef struct bool orgcbr; /* original MSDOS ^-BREAK setting */ bool visible_cursor; /* TRUE if cursor is visible */ bool audible; /* FALSE if the bell is visual */ - bool full_redraw; /* TRUE for bad performance */ bool direct_video; /* Allow Direct Screen Memory writes */ bool mono; /* TRUE if current screen is mono */ bool sizeable; /* TRUE if adapter is resizeable */ diff --git a/curspriv.h b/curspriv.h index 949879be..99eec008 100644 --- a/curspriv.h +++ b/curspriv.h @@ -15,7 +15,7 @@ * See the file maintain.er for details of the current maintainer. * ************************************************************************/ -/* $Id: curspriv.h,v 1.48 2006/03/25 23:39:52 wmcbrine Exp $ */ +/* $Id: curspriv.h,v 1.49 2006/03/25 23:57:40 wmcbrine Exp $ */ /* CURSPRIV.H @@ -209,7 +209,6 @@ int PDC_chadd(WINDOW *, chtype, bool, bool); bool PDC_check_bios_key(void); int PDC_chg_attrs(WINDOW *, chtype, int, int, int, int); int PDC_chins(WINDOW *, chtype, bool); -int PDC_clr_scrn(WINDOW *); int PDC_clr_update(void); int PDC_copy_win(const WINDOW *, WINDOW *, int, int, int, int, int, int, bool); diff --git a/doc/intro.man b/doc/intro.man index 0b6bd6c6..14cbbfa7 100644 --- a/doc/intro.man +++ b/doc/intro.man @@ -484,7 +484,6 @@ FUNCTIONS PDC_check_bios_key pdckbd PDC_chg_attrs pdcdisp PDC_chins pdcdisp - PDC_clr_scrn pdcdisp PDC_clr_update pdcdisp PDC_copy_win pdcwin PDC_cursor_off pdcdisp diff --git a/pdcurses/pdcwin.c b/pdcurses/pdcwin.c index 2ff1dda9..0002d98c 100644 --- a/pdcurses/pdcwin.c +++ b/pdcurses/pdcwin.c @@ -24,7 +24,7 @@ #ifdef PDCDEBUG const char *rcsid_PDCwin = - "$Id: pdcwin.c,v 1.36 2006/03/25 23:39:55 wmcbrine Exp $"; + "$Id: pdcwin.c,v 1.37 2006/03/25 23:57:47 wmcbrine Exp $"; #endif /*man-start************************************************************** @@ -621,37 +621,6 @@ int PDC_chins(WINDOW *win, chtype c, bool xlat) return PDC_chadd(win, c, xlat, FALSE); } -/*man-start************************************************************** - - PDC_clr_scrn() - Clears the physical screen and homes the cursor. - - PDCurses Description: - This is an internal routine called by the doupdate() routines. - - PDCurses Return Value: - This routine always returns OK. - - Portability: - PDCurses int PDC_clr_scrn(WINDOW *win); - -**man-end****************************************************************/ - -int PDC_clr_scrn(WINDOW *win) -{ -#if !defined(XCURSES) - chtype attrs = win->_bkgd; -#endif - PDC_LOG(("PDC_clr_scrn() - called\n")); - -#if defined(XCURSES) - XCursesInstruct(CURSES_CLEAR); -#else - PDC_scroll(0, 0, LINES - 1, COLS - 1, 0, attrs); - PDC_gotoxy(0, 0); -#endif - return OK; -} - /*man-start************************************************************** PDC_clr_update() - Updates the screen with a full redraw. @@ -681,10 +650,7 @@ int PDC_clr_update(void) if (curscr == (WINDOW *)NULL) return ERR; -#if 0 - if (SP->full_redraw) - PDC_clr_scrn(s); /* clear physical screen */ -#endif + curscr->_clear = FALSE; for (i = 0; i < LINES; i++) /* update physical screen */ diff --git a/win32/curses.def b/win32/curses.def index 7be01929..f70e5c5e 100644 --- a/win32/curses.def +++ b/win32/curses.def @@ -272,7 +272,6 @@ EXPORTS PDC_chadd EXPORTS PDC_check_bios_key EXPORTS PDC_chg_attrs EXPORTS PDC_chins -EXPORTS PDC_clr_scrn EXPORTS PDC_clr_update EXPORTS PDC_copy_win EXPORTS PDC_cursor_off diff --git a/win32/curses_lcc.def b/win32/curses_lcc.def index 93fbcb3b..3fffe4b1 100644 --- a/win32/curses_lcc.def +++ b/win32/curses_lcc.def @@ -265,7 +265,6 @@ PDC_chadd PDC_check_bios_key PDC_chg_attrs PDC_chins -PDC_clr_scrn PDC_clr_update PDC_copy_win PDC_cursor_off