Comments.

This commit is contained in:
William McBrine
2006-07-17 02:20:48 +00:00
parent 14475c9591
commit 76c9c885ee
4 changed files with 28 additions and 44 deletions

View File

@@ -24,7 +24,7 @@
# include <sys/movedata.h>
#endif
RCSID("$Id: pdcscrn.c,v 1.33 2006/07/16 19:56:07 wmcbrine Exp $");
RCSID("$Id: pdcscrn.c,v 1.34 2006/07/17 02:20:48 wmcbrine Exp $");
Regs regs; /* used in various other modules */
@@ -38,14 +38,12 @@ static int saved_cols = 0;
physical screen
PDCurses Description:
This is a nop for the DOS platform.
May restore the screen to its state before PDC_scr_open();
miscellaneous cleanup.
PDCurses Return Value:
This function returns OK on success, otherwise an ERR is returned.
PDCurses Errors:
The DOS platform will never fail.
Portability:
PDCurses int PDC_scr_close(void);
@@ -100,14 +98,13 @@ int PDC_scr_close(void)
physical screen
PDCurses Description:
This is a NOP for the DOS platform.
The platform-specific part of initscr() -- allocates SP, does
miscellaneous intialization, and may save the existing screen
for later restoration.
PDCurses Return Value:
This function returns OK on success, otherwise an ERR is returned.
PDCurses Errors:
The DOS platform will never fail.
Portability:
PDCurses int PDC_scr_open(int argc, char **argv);

View File

@@ -20,7 +20,7 @@
#include <curses.h>
#include <stdlib.h>
RCSID("$Id: pdcscrn.c,v 1.29 2006/07/16 19:56:07 wmcbrine Exp $");
RCSID("$Id: pdcscrn.c,v 1.30 2006/07/17 02:20:48 wmcbrine Exp $");
#ifdef EMXVIDEO
static unsigned char *saved_screen = NULL;
@@ -37,14 +37,11 @@ static USHORT saved_cols = 0;
PDC_scr_close() - Internal low-level binding to close the physical screen
PDCurses Description:
This is a nop for the DOS platform.
May restore the screen to its state before PDC_scr_open();
miscellaneous cleanup.
PDCurses Return Value:
This function returns OK on success, otherwise an ERR is
returned.
PDCurses Errors:
The DOS platform will never fail.
This function returns OK on success, otherwise an ERR is returned.
Portability:
PDCurses int PDC_scr_close(void);
@@ -122,14 +119,12 @@ bool PDC_scrn_modes_equal(int mode1, int mode2)
PDC_scr_open() - Internal low-level binding to open the physical screen
PDCurses Description:
This is a NOP for the DOS platform.
The platform-specific part of initscr() -- allocates SP, does
miscellaneous intialization, and may save the existing screen
for later restoration.
PDCurses Return Value:
This function returns OK on success, otherwise an ERR is
returned.
PDCurses Errors:
The DOS platform will never fail.
This function returns OK on success, otherwise an ERR is returned.
Portability:
PDCurses int PDC_scr_open(int argc, char **argv);

View File

@@ -19,7 +19,7 @@
#define INCLUDE_WINDOWS_H
#include <curses.h>
RCSID("$Id: pdcscrn.c,v 1.39 2006/07/16 19:56:07 wmcbrine Exp $");
RCSID("$Id: pdcscrn.c,v 1.40 2006/07/17 02:20:48 wmcbrine Exp $");
#define PDC_RESTORE_NONE 0
#define PDC_RESTORE_BUFFER 1
@@ -45,14 +45,11 @@ static DWORD dwConsoleMode = 0;
PDC_scr_close() - Internal low-level binding to close the physical screen
PDCurses Description:
This is a nop for the DOS platform.
May restore the screen to its state before PDC_scr_open();
miscellaneous cleanup.
PDCurses Return Value:
This function returns OK on success, otherwise an ERR is
returned.
PDCurses Errors:
The DOS platform will never fail.
This function returns OK on success, otherwise an ERR is returned.
Portability:
PDCurses int PDC_scr_close(void);
@@ -115,14 +112,12 @@ int PDC_scr_close(void)
PDC_scr_open() - Internal low-level binding to open the physical screen
PDCurses Description:
This is a NOP for the DOS platform.
The platform-specific part of initscr() -- allocates SP, does
miscellaneous intialization, and may save the existing screen
for later restoration.
PDCurses Return Value:
This function returns OK on success, otherwise an ERR is
returned.
PDCurses Errors:
The DOS platform will never fail.
This function returns OK on success, otherwise an ERR is returned.
Portability:
PDCurses int PDC_scr_open(int argc, char **argv);

View File

@@ -17,7 +17,7 @@
#include "pdcx11.h"
RCSID("$Id: pdcscrn.c,v 1.27 2006/07/16 19:56:07 wmcbrine Exp $");
RCSID("$Id: pdcscrn.c,v 1.28 2006/07/17 02:20:48 wmcbrine Exp $");
bool GLOBAL_sb_on = FALSE;
bool GLOBAL_slk_on = FALSE;
@@ -28,14 +28,12 @@ bool GLOBAL_slk_on = FALSE;
physical screen
PDCurses Description:
This is a nop for the DOS platform.
May restore the screen to its state before PDC_scr_open();
miscellaneous cleanup.
PDCurses Return Value:
This function returns OK on success, otherwise an ERR is returned.
PDCurses Errors:
The DOS platform will never fail.
Portability:
PDCurses int PDC_scr_close(void);
@@ -54,14 +52,13 @@ int PDC_scr_close(void)
screen
PDCurses Description:
This is a NOP in DOS.
The platform-specific part of initscr() -- allocates SP, does
miscellaneous intialization, and may save the existing screen
for later restoration.
PDCurses Return Value:
This function returns OK on success, otherwise an ERR is returned.
PDCurses Errors:
The DOS platform will never fail.
Portability:
PDCurses int PDC_scr_open(int argc, char **argv);