mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-25 08:15:27 +00:00
Useless/incorrect comments.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
#include "pdcdos.h"
|
||||
|
||||
RCSID("$Id: pdcdisp.c,v 1.58 2006/12/16 21:53:17 wmcbrine Exp $");
|
||||
RCSID("$Id: pdcdisp.c,v 1.59 2007/01/02 14:19:43 wmcbrine Exp $");
|
||||
|
||||
/* ACS definitions originally by jshumate@wrdis01.robins.af.mil -- these
|
||||
match code page 437 and compatible pages (CP850, CP852, etc.) */
|
||||
@@ -79,9 +79,6 @@ void movedata(unsigned sseg, unsigned soff, unsigned dseg,
|
||||
screen. We don't optimize here -- on a PC, it takes more time
|
||||
to optimize than to do things directly.
|
||||
|
||||
Portability:
|
||||
PDCurses void PDC_gotoyx(int row, int col);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
void PDC_gotoyx(int row, int col)
|
||||
@@ -107,10 +104,6 @@ void PDC_gotoyx(int row, int col)
|
||||
Updates the given physical line to look like the corresponding
|
||||
line in _curscr.
|
||||
|
||||
Portability:
|
||||
PDCurses void PDC_transform_line(int lineno, int x, int len,
|
||||
const chtype *srcp);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
void PDC_transform_line(int lineno, int x, int len, const chtype *srcp)
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
RCSID("$Id: pdcgetsc.c,v 1.35 2006/11/05 05:37:40 wmcbrine Exp $");
|
||||
RCSID("$Id: pdcgetsc.c,v 1.36 2007/01/02 14:19:43 wmcbrine Exp $");
|
||||
|
||||
/*man-start**************************************************************
|
||||
|
||||
@@ -32,12 +32,6 @@ RCSID("$Id: pdcgetsc.c,v 1.35 2006/11/05 05:37:40 wmcbrine Exp $");
|
||||
This routine will return OK upon success and otherwise ERR will
|
||||
be returned.
|
||||
|
||||
PDCurses Errors:
|
||||
There are no defined errors for this routine.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_get_cursor_pos(int *row, int *col);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_get_cursor_pos(int *row, int *col)
|
||||
@@ -64,16 +58,6 @@ int PDC_get_cursor_pos(int *row, int *col)
|
||||
|
||||
This function will return the width of the current screen.
|
||||
|
||||
PDCurses Return Value:
|
||||
This routine will return OK upon success and otherwise ERR will
|
||||
be returned.
|
||||
|
||||
PDCurses Errors:
|
||||
There are no defined errors for this routine.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_get_columns(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_get_columns(void)
|
||||
@@ -108,9 +92,6 @@ int PDC_get_columns(void)
|
||||
PDCurses Description:
|
||||
Gets the cursor size.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_get_cursor_mode(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_get_cursor_mode(void)
|
||||
@@ -130,12 +111,6 @@ int PDC_get_cursor_mode(void)
|
||||
Returns the maximum number of rows supported by the display.
|
||||
e.g. 25, 28, 43, 50, 60, 66...
|
||||
|
||||
PDCurses Return Value:
|
||||
This function returns OK on success and ERR on error.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_get_rows(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_get_rows(void)
|
||||
|
||||
26
dos/pdckbd.c
26
dos/pdckbd.c
@@ -26,7 +26,7 @@
|
||||
|
||||
#include "pdcdos.h"
|
||||
|
||||
RCSID("$Id: pdckbd.c,v 1.74 2006/12/29 17:08:21 wmcbrine Exp $");
|
||||
RCSID("$Id: pdckbd.c,v 1.75 2007/01/02 14:19:43 wmcbrine Exp $");
|
||||
|
||||
/************************************************************************
|
||||
* Table for key code translation of function keys in keypad mode *
|
||||
@@ -104,12 +104,6 @@ static const unsigned short button_map[3] = {0, 2, 1};
|
||||
This routine will return the file descriptor that PDCurses reads
|
||||
its input from. It can be used for select().
|
||||
|
||||
PDCurses Return Value:
|
||||
Returns a file descriptor.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_get_input_fd(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
unsigned long PDC_get_input_fd(void)
|
||||
@@ -135,10 +129,8 @@ void PDC_set_keyboard_binary(bool on)
|
||||
keystrokes are pending.
|
||||
|
||||
PDCurses Return Value:
|
||||
Returns 1 if a keyboard character is available, 0 otherwise.
|
||||
|
||||
Portability:
|
||||
PDCurses bool PDC_check_bios_key(void);
|
||||
Returns TRUE if a keyboard character is available, FALSE
|
||||
otherwise.
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
@@ -356,9 +348,6 @@ static int _process_mouse_events(void)
|
||||
|
||||
Returns the next key code struck at the keyboard.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_get_bios_key(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_get_bios_key(void)
|
||||
@@ -505,9 +494,6 @@ int PDC_get_bios_key(void)
|
||||
This function returns TRUE if the Control Break Check is enabled
|
||||
otherwise FALSE is returned.
|
||||
|
||||
Portability:
|
||||
PDCurses bool PDC_get_ctrl_break(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
bool PDC_get_ctrl_break(void)
|
||||
@@ -537,9 +523,6 @@ bool PDC_get_ctrl_break(void)
|
||||
PDCurses Return Value:
|
||||
This function returns OK on success and ERR on error.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_set_ctrl_break(bool setting);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_set_ctrl_break(bool setting)
|
||||
@@ -572,9 +555,6 @@ int PDC_set_ctrl_break(bool setting)
|
||||
Discards any pending keyboard and mouse input. Called by
|
||||
flushinp().
|
||||
|
||||
Portability:
|
||||
PDCurses void PDC_flushinp(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
void PDC_flushinp(void)
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
RCSID("$Id: pdcscrn.c,v 1.77 2006/12/29 18:36:35 wmcbrine Exp $");
|
||||
RCSID("$Id: pdcscrn.c,v 1.78 2007/01/02 14:19:43 wmcbrine Exp $");
|
||||
|
||||
int pdc_adapter; /* screen type */
|
||||
int pdc_scrnmode; /* default screen mode */
|
||||
@@ -447,12 +447,6 @@ static int _query_adapter_type(void)
|
||||
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.
|
||||
|
||||
Portability:
|
||||
PDCurses void PDC_scr_close(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
void PDC_scr_close(void)
|
||||
@@ -521,9 +515,6 @@ void PDC_scr_free(void)
|
||||
PDCurses Return Value:
|
||||
This function returns OK on success, otherwise an ERR is returned.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_scr_open(int argc, char **argv);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_scr_open(int argc, char **argv)
|
||||
@@ -621,11 +612,6 @@ int PDC_scr_open(int argc, char **argv)
|
||||
PDCurses Return Value:
|
||||
This function returns OK on success, otherwise an ERR is returned.
|
||||
|
||||
PDCurses Errors:
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_resize_screen(int, int);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_resize_screen(int nlines, int ncols)
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include "pdcdos.h"
|
||||
|
||||
RCSID("$Id: pdcsetsc.c,v 1.32 2006/10/18 22:35:11 wmcbrine Exp $");
|
||||
RCSID("$Id: pdcsetsc.c,v 1.33 2007/01/02 14:19:43 wmcbrine Exp $");
|
||||
|
||||
int PDC_curs_set(int visibility)
|
||||
{
|
||||
@@ -59,12 +59,6 @@ int PDC_curs_set(int visibility)
|
||||
Sets the title of the window in which the curses program is
|
||||
running. This function does not do anything on DOS.
|
||||
|
||||
PDCurses Return Value:
|
||||
N/A
|
||||
|
||||
Portability:
|
||||
PDCurses void PDC_set_title(const char *title);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
void PDC_set_title(const char *title)
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include "pdcos2.h"
|
||||
|
||||
RCSID("$Id: pdcdisp.c,v 1.42 2006/12/16 21:53:17 wmcbrine Exp $");
|
||||
RCSID("$Id: pdcdisp.c,v 1.43 2007/01/02 14:19:43 wmcbrine Exp $");
|
||||
|
||||
/* ACS definitions originally by jshumate@wrdis01.robins.af.mil -- these
|
||||
match code page 437 and compatible pages (CP850, CP852, etc.) */
|
||||
@@ -67,9 +67,6 @@ chtype acs_map[128] =
|
||||
We don't optimize here -- on a PC, it takes more time to
|
||||
optimize than to do things directly.
|
||||
|
||||
Portability:
|
||||
PDCurses void PDC_gotoyx(int row, int col);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
void PDC_gotoyx(int row, int col)
|
||||
@@ -93,10 +90,6 @@ void PDC_gotoyx(int row, int col)
|
||||
Updates the given physical line to look like the corresponding
|
||||
line in _curscr.
|
||||
|
||||
Portability:
|
||||
PDCurses void PDC_transform_line(int lineno, int x, int len,
|
||||
const chtype *srcp);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
void PDC_transform_line(int lineno, int x, int len, const chtype *srcp)
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include "pdcos2.h"
|
||||
|
||||
RCSID("$Id: pdcgetsc.c,v 1.32 2006/11/05 05:37:40 wmcbrine Exp $");
|
||||
RCSID("$Id: pdcgetsc.c,v 1.33 2007/01/02 14:19:43 wmcbrine Exp $");
|
||||
|
||||
/*man-start**************************************************************
|
||||
|
||||
@@ -30,12 +30,6 @@ RCSID("$Id: pdcgetsc.c,v 1.32 2006/11/05 05:37:40 wmcbrine Exp $");
|
||||
This routine will return OK upon success and otherwise ERR will
|
||||
be returned.
|
||||
|
||||
PDCurses Errors:
|
||||
There are no defined errors for this routine.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_get_cursor_pos(int *row, int *col);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_get_cursor_pos(int *row, int *col)
|
||||
@@ -63,12 +57,6 @@ int PDC_get_cursor_pos(int *row, int *col)
|
||||
This routine will return OK upon success and otherwise ERR will
|
||||
be returned.
|
||||
|
||||
PDCurses Errors:
|
||||
There are no defined errors for this routine.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_get_columns(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_get_columns(void)
|
||||
@@ -107,9 +95,6 @@ int PDC_get_columns(void)
|
||||
PDCurses Description:
|
||||
Gets the cursor size.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_get_cursor_mode(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_get_cursor_mode(void)
|
||||
@@ -144,9 +129,6 @@ int PDC_get_cursor_mode(void)
|
||||
PDCurses Return Value:
|
||||
This function returns OK on success and ERR on error.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_get_rows(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_get_rows(void)
|
||||
|
||||
26
os2/pdckbd.c
26
os2/pdckbd.c
@@ -35,7 +35,7 @@ static bool key_pressed = FALSE;
|
||||
static int mouse_events = 0;
|
||||
#endif
|
||||
|
||||
RCSID("$Id: pdckbd.c,v 1.75 2006/12/24 06:07:25 wmcbrine Exp $");
|
||||
RCSID("$Id: pdckbd.c,v 1.76 2007/01/02 14:19:43 wmcbrine Exp $");
|
||||
|
||||
/************************************************************************
|
||||
* Table for key code translation of function keys in keypad mode *
|
||||
@@ -100,12 +100,6 @@ unsigned long pdc_key_modifiers = 0L;
|
||||
This routine will return the file descriptor that PDCurses reads
|
||||
its input from. It can be used for select().
|
||||
|
||||
PDCurses Return Value:
|
||||
Returns a file descriptor.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_get_input_fd(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
unsigned long PDC_get_input_fd(void)
|
||||
@@ -183,10 +177,8 @@ void PDC_set_keyboard_binary(bool on)
|
||||
keystrokes are pending.
|
||||
|
||||
PDCurses Return Value:
|
||||
Returns 1 if a keyboard character is available, 0 otherwise.
|
||||
|
||||
Portability:
|
||||
PDCurses bool PDC_check_bios_key(void);
|
||||
Returns TRUE if a keyboard character is available, FALSE
|
||||
otherwise.
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
@@ -371,9 +363,6 @@ static int _process_mouse_events(void)
|
||||
|
||||
Returns the next key code struck at the keyboard.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_get_bios_key(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_get_bios_key(void)
|
||||
@@ -534,9 +523,6 @@ int PDC_get_bios_key(void)
|
||||
This function returns TRUE if the Control Break Check is enabled
|
||||
otherwise FALSE is returned.
|
||||
|
||||
Portability:
|
||||
PDCurses bool PDC_get_ctrl_break(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
bool PDC_get_ctrl_break(void)
|
||||
@@ -592,9 +578,6 @@ bool PDC_get_ctrl_break(void)
|
||||
PDCurses Return Value:
|
||||
This function returns OK on success and ERR on error.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_set_ctrl_break(bool setting);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_set_ctrl_break(bool setting)
|
||||
@@ -633,9 +616,6 @@ int PDC_set_ctrl_break(bool setting)
|
||||
Discards any pending keyboard and mouse input. Called by
|
||||
flushinp().
|
||||
|
||||
Portability:
|
||||
PDCurses void PDC_flushinp(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
void PDC_flushinp(void)
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include "pdcos2.h"
|
||||
|
||||
RCSID("$Id: pdcscrn.c,v 1.63 2006/12/28 09:51:31 wmcbrine Exp $");
|
||||
RCSID("$Id: pdcscrn.c,v 1.64 2007/01/02 14:19:43 wmcbrine Exp $");
|
||||
|
||||
int pdc_font; /* default font size */
|
||||
|
||||
@@ -107,12 +107,6 @@ static void _set_font(int size)
|
||||
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.
|
||||
|
||||
Portability:
|
||||
PDCurses void PDC_scr_close(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
void PDC_scr_close(void)
|
||||
@@ -161,9 +155,6 @@ void PDC_scr_free(void)
|
||||
PDCurses Return Value:
|
||||
This function returns OK on success, otherwise an ERR is returned.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_scr_open(int argc, char **argv);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_scr_open(int argc, char **argv)
|
||||
@@ -254,11 +245,6 @@ int PDC_scr_open(int argc, char **argv)
|
||||
This function returns OK on success, otherwise an ERR is
|
||||
returned.
|
||||
|
||||
PDCurses Errors:
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_resize_screen(int, int);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_resize_screen(int nlines, int ncols)
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include "pdcos2.h"
|
||||
|
||||
RCSID("$Id: pdcsetsc.c,v 1.37 2006/11/13 21:17:54 wmcbrine Exp $");
|
||||
RCSID("$Id: pdcsetsc.c,v 1.38 2007/01/02 14:19:43 wmcbrine Exp $");
|
||||
|
||||
int PDC_curs_set(int visibility)
|
||||
{
|
||||
@@ -72,12 +72,6 @@ int PDC_curs_set(int visibility)
|
||||
Sets the title of the window in which the curses program is
|
||||
running. This function may not do anything on some platforms.
|
||||
|
||||
PDCurses Return Value:
|
||||
N/A
|
||||
|
||||
Portability:
|
||||
PDCurses void PDC_set_title(const char *title);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
void PDC_set_title(const char *title)
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
RCSID("$Id: pdcdisp.c,v 1.40 2006/12/16 21:53:17 wmcbrine Exp $");
|
||||
RCSID("$Id: pdcdisp.c,v 1.41 2007/01/02 14:19:43 wmcbrine Exp $");
|
||||
|
||||
#ifdef CHTYPE_LONG
|
||||
|
||||
@@ -86,9 +86,6 @@ chtype acs_map[128] =
|
||||
We don't optimize here -- on a PC, it takes more time to
|
||||
optimize than to do things directly.
|
||||
|
||||
Portability:
|
||||
PDCurses void PDC_gotoyx(int row, int col);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
void PDC_gotoyx(int row, int col)
|
||||
@@ -114,10 +111,6 @@ void PDC_gotoyx(int row, int col)
|
||||
Updates the given physical line to look like the corresponding
|
||||
line in _curscr.
|
||||
|
||||
Portability:
|
||||
PDCurses void PDC_transform_line(int lineno, int x, int len,
|
||||
const chtype *srcp);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
void PDC_transform_line(int lineno, int x, int len, const chtype *srcp)
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include "pdcwin.h"
|
||||
|
||||
RCSID("$Id: pdcgetsc.c,v 1.29 2006/10/15 02:42:26 wmcbrine Exp $");
|
||||
RCSID("$Id: pdcgetsc.c,v 1.30 2007/01/02 14:19:43 wmcbrine Exp $");
|
||||
|
||||
/*man-start**************************************************************
|
||||
|
||||
@@ -30,12 +30,6 @@ RCSID("$Id: pdcgetsc.c,v 1.29 2006/10/15 02:42:26 wmcbrine Exp $");
|
||||
This routine will return OK upon success and otherwise ERR will
|
||||
be returned.
|
||||
|
||||
PDCurses Errors:
|
||||
There are no defined errors for this routine.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_get_cursor_pos(int *row, int *col);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_get_cursor_pos(int *row, int *col)
|
||||
@@ -59,9 +53,6 @@ int PDC_get_cursor_pos(int *row, int *col)
|
||||
PDCurses Description:
|
||||
Gets the cursor size.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_get_cursor_mode(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_get_cursor_mode(void)
|
||||
@@ -85,12 +76,6 @@ int PDC_get_cursor_mode(void)
|
||||
Returns the maximum number of rows supported by the display.
|
||||
e.g. 25, 28, 43, 50, 60, 66...
|
||||
|
||||
PDCurses Return Value:
|
||||
This function returns OK on success and ERR on error.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_get_rows(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_get_rows(void)
|
||||
@@ -114,9 +99,6 @@ int PDC_get_rows(void)
|
||||
PDCurses Return Value:
|
||||
Returns the maximum number of rows in the screen buffer.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_get_buffer_rows(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_get_buffer_rows(void)
|
||||
@@ -139,16 +121,6 @@ int PDC_get_buffer_rows(void)
|
||||
|
||||
This function will return the width of the current screen.
|
||||
|
||||
PDCurses Return Value:
|
||||
This routine will return OK upon success and otherwise ERR will
|
||||
be returned.
|
||||
|
||||
PDCurses Errors:
|
||||
There are no defined errors for this routine.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_get_columns(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_get_columns(void)
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include "pdcwin.h"
|
||||
|
||||
RCSID("$Id: pdckbd.c,v 1.101 2006/12/24 06:07:25 wmcbrine Exp $");
|
||||
RCSID("$Id: pdckbd.c,v 1.102 2007/01/02 14:19:43 wmcbrine Exp $");
|
||||
|
||||
unsigned long pdc_key_modifiers = 0L;
|
||||
|
||||
@@ -237,12 +237,6 @@ static KPTAB ext_kptab[] =
|
||||
This routine will return the file descriptor that PDCurses reads
|
||||
its input from. It can be used for WaitForMulitpleObjects().
|
||||
|
||||
PDCurses Return Value:
|
||||
Returns a HANDLE.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_get_input_fd(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
unsigned long PDC_get_input_fd(void)
|
||||
@@ -636,12 +630,6 @@ static int _process_mouse_event(void)
|
||||
bits are 0, the upper bits contain the extended character
|
||||
code. If bit 0-7 are non-zero, the upper bits = 0.
|
||||
|
||||
PDCurses Return Value:
|
||||
See above.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_get_bios_key(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_get_bios_key(void)
|
||||
@@ -693,9 +681,6 @@ int PDC_get_bios_key(void)
|
||||
This function returns TRUE if the Control Break Check is
|
||||
enabled; otherwise, FALSE is returned.
|
||||
|
||||
Portability:
|
||||
PDCurses bool PDC_get_ctrl_break(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
bool PDC_get_ctrl_break(void)
|
||||
@@ -719,9 +704,6 @@ bool PDC_get_ctrl_break(void)
|
||||
PDCurses Return Value:
|
||||
This function returns OK on success and ERR on error.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_set_ctrl_break(bool setting);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_set_ctrl_break(bool setting)
|
||||
@@ -741,9 +723,6 @@ int PDC_set_ctrl_break(bool setting)
|
||||
Discards any pending keyboard and mouse input. Called by
|
||||
flushinp().
|
||||
|
||||
Portability:
|
||||
PDCurses void PDC_flushinp(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
void PDC_flushinp(void)
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include "pdcwin.h"
|
||||
|
||||
RCSID("$Id: pdcscrn.c,v 1.75 2006/12/28 09:51:31 wmcbrine Exp $");
|
||||
RCSID("$Id: pdcscrn.c,v 1.76 2007/01/02 14:19:43 wmcbrine Exp $");
|
||||
|
||||
#define PDC_RESTORE_NONE 0
|
||||
#define PDC_RESTORE_BUFFER 1
|
||||
@@ -222,12 +222,6 @@ static void _init_console_info(void)
|
||||
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.
|
||||
|
||||
Portability:
|
||||
PDCurses void PDC_scr_close(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
void PDC_scr_close(void)
|
||||
@@ -296,9 +290,6 @@ void PDC_scr_free(void)
|
||||
PDCurses Return Value:
|
||||
This function returns OK on success, otherwise an ERR is returned.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_scr_open(int argc, char **argv);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_scr_open(int argc, char **argv)
|
||||
@@ -523,9 +514,6 @@ static BOOL _fit_console_window(HANDLE con_out, CONST SMALL_RECT *rect)
|
||||
This function returns OK on success, otherwise an ERR is
|
||||
returned.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_resize_screen(int, int);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_resize_screen(int nlines, int ncols)
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include "pdcwin.h"
|
||||
|
||||
RCSID("$Id: pdcsetsc.c,v 1.32 2006/10/15 02:42:26 wmcbrine Exp $");
|
||||
RCSID("$Id: pdcsetsc.c,v 1.33 2007/01/02 14:19:43 wmcbrine Exp $");
|
||||
|
||||
int PDC_curs_set(int visibility)
|
||||
{
|
||||
@@ -57,9 +57,6 @@ int PDC_curs_set(int visibility)
|
||||
Sets the title of the window in which the curses program is
|
||||
running. This function may not do anything on some platforms.
|
||||
|
||||
Portability:
|
||||
PDCurses void PDC_set_title(const char *title);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
void PDC_set_title(const char *title)
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
RCSID("$Id: pdcdisp.c,v 1.40 2006/12/16 21:53:18 wmcbrine Exp $");
|
||||
RCSID("$Id: pdcdisp.c,v 1.41 2007/01/02 14:19:43 wmcbrine Exp $");
|
||||
|
||||
#ifdef CHTYPE_LONG
|
||||
|
||||
@@ -126,9 +126,6 @@ int PDC_display_cursor(int oldrow, int oldcol, int newrow, int newcol,
|
||||
screen. We don't optimize here -- on a PC, it takes more time
|
||||
to optimize than to do things directly.
|
||||
|
||||
Portability:
|
||||
PDCurses void PDC_gotoyx(int row, int col);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
void PDC_gotoyx(int row, int col)
|
||||
@@ -149,10 +146,6 @@ void PDC_gotoyx(int row, int col)
|
||||
Updates the given physical line to look like the corresponding
|
||||
line in _curscr.
|
||||
|
||||
Portability:
|
||||
PDCurses void PDC_transform_line(int lineno, int x, int len,
|
||||
const chtype *srcp);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
void PDC_transform_line(int lineno, int x, int len, const chtype *srcp)
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include "pdcx11.h"
|
||||
|
||||
RCSID("$Id: pdcgetsc.c,v 1.20 2006/10/18 23:09:16 wmcbrine Exp $");
|
||||
RCSID("$Id: pdcgetsc.c,v 1.21 2007/01/02 14:19:43 wmcbrine Exp $");
|
||||
|
||||
/*man-start**************************************************************
|
||||
|
||||
@@ -24,16 +24,6 @@ RCSID("$Id: pdcgetsc.c,v 1.20 2006/10/18 23:09:16 wmcbrine Exp $");
|
||||
|
||||
This function will return the width of the current screen.
|
||||
|
||||
PDCurses Return Value:
|
||||
This routine will return OK upon success and otherwise ERR will
|
||||
be returned.
|
||||
|
||||
PDCurses Errors:
|
||||
There are no defined errors for this routine.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_get_columns(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_get_columns(void)
|
||||
@@ -58,12 +48,6 @@ int PDC_get_cursor_mode(void)
|
||||
Returns the maximum number of rows supported by the display.
|
||||
e.g. 25, 28, 43, 50, 60, 66...
|
||||
|
||||
PDCurses Return Value:
|
||||
This function returns OK on success and ERR on error.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_get_rows(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_get_rows(void)
|
||||
|
||||
23
x11/pdckbd.c
23
x11/pdckbd.c
@@ -13,7 +13,7 @@
|
||||
|
||||
#include "pdcx11.h"
|
||||
|
||||
RCSID("$Id: pdckbd.c,v 1.53 2006/11/27 04:23:26 wmcbrine Exp $");
|
||||
RCSID("$Id: pdckbd.c,v 1.54 2007/01/02 14:19:43 wmcbrine Exp $");
|
||||
|
||||
/*man-start**************************************************************
|
||||
|
||||
@@ -26,10 +26,8 @@ RCSID("$Id: pdckbd.c,v 1.53 2006/11/27 04:23:26 wmcbrine Exp $");
|
||||
keystrokes are pending.
|
||||
|
||||
PDCurses Return Value:
|
||||
Returns 1 if a keyboard character is available, 0 otherwise.
|
||||
|
||||
Portability:
|
||||
PDCurses bool PDC_check_bios_key(void);
|
||||
Returns TRUE if a keyboard character is available, FALSE
|
||||
otherwise.
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
@@ -92,12 +90,6 @@ int PDC_get_bios_key(void)
|
||||
This routine will return the file descriptor that PDCurses reads
|
||||
its input from. It can be used for select().
|
||||
|
||||
PDCurses Return Value:
|
||||
Returns a file descriptor.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_get_input_fd(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
unsigned long PDC_get_input_fd(void)
|
||||
@@ -125,9 +117,6 @@ void PDC_set_keyboard_binary(bool on)
|
||||
This function returns TRUE if the Control Break
|
||||
Check is enabled otherwise FALSE is returned.
|
||||
|
||||
Portability:
|
||||
PDCurses bool PDC_get_ctrl_break(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
bool PDC_get_ctrl_break(void)
|
||||
@@ -151,9 +140,6 @@ bool PDC_get_ctrl_break(void)
|
||||
PDCurses Return Value:
|
||||
This function returns OK on success and ERR on error.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_set_ctrl_break(bool setting);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_set_ctrl_break(bool setting)
|
||||
@@ -173,9 +159,6 @@ int PDC_set_ctrl_break(bool setting)
|
||||
Discards any pending keyboard and mouse input. Called by
|
||||
flushinp().
|
||||
|
||||
Portability:
|
||||
PDCurses void PDC_flushinp(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
void PDC_flushinp(void)
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include "pdcx11.h"
|
||||
|
||||
RCSID("$Id: pdcscrn.c,v 1.48 2006/11/12 10:26:14 wmcbrine Exp $");
|
||||
RCSID("$Id: pdcscrn.c,v 1.49 2007/01/02 14:19:43 wmcbrine Exp $");
|
||||
|
||||
/*man-start**************************************************************
|
||||
|
||||
@@ -24,12 +24,6 @@ RCSID("$Id: pdcscrn.c,v 1.48 2006/11/12 10:26:14 wmcbrine Exp $");
|
||||
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.
|
||||
|
||||
Portability:
|
||||
PDCurses void PDC_scr_close(void);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
void PDC_scr_close(void)
|
||||
@@ -55,9 +49,6 @@ void PDC_scr_free(void)
|
||||
PDCurses Return Value:
|
||||
This function returns OK on success, otherwise an ERR is returned.
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_scr_open(int argc, char **argv);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_scr_open(int argc, char **argv)
|
||||
@@ -96,11 +87,6 @@ int PDC_scr_open(int argc, char **argv)
|
||||
PDCurses Return Value:
|
||||
This function returns OK on success, otherwise an ERR is returned.
|
||||
|
||||
PDCurses Errors:
|
||||
|
||||
Portability:
|
||||
PDCurses int PDC_resize_screen(int, int);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
int PDC_resize_screen(int nlines, int ncols)
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
RCSID("$Id: pdcsetsc.c,v 1.26 2006/10/15 02:42:26 wmcbrine Exp $");
|
||||
RCSID("$Id: pdcsetsc.c,v 1.27 2007/01/02 14:19:43 wmcbrine Exp $");
|
||||
|
||||
int PDC_curs_set(int visibility)
|
||||
{
|
||||
@@ -41,12 +41,6 @@ int PDC_curs_set(int visibility)
|
||||
Sets the title of the window in which the curses program is
|
||||
running. This function may not do anything on some platforms.
|
||||
|
||||
PDCurses Return Value:
|
||||
N/A
|
||||
|
||||
Portability:
|
||||
PDCurses void PDC_set_title(const char *title);
|
||||
|
||||
**man-end****************************************************************/
|
||||
|
||||
void PDC_set_title(const char *title)
|
||||
|
||||
Reference in New Issue
Block a user