You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
419 B
C
29 lines
419 B
C
/* PDCurses */
|
|
|
|
#include "pdcx11.h"
|
|
|
|
/* return width of screen/viewport */
|
|
|
|
int PDC_get_columns(void)
|
|
{
|
|
PDC_LOG(("PDC_get_columns() - called\n"));
|
|
|
|
return pdc_wwidth / pdc_fwidth;
|
|
}
|
|
|
|
/* get the cursor size/shape */
|
|
|
|
int PDC_get_cursor_mode(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/* return number of screen rows */
|
|
|
|
int PDC_get_rows(void)
|
|
{
|
|
PDC_LOG(("PDC_get_rows() - called\n"));
|
|
|
|
return pdc_wheight / pdc_fheight;
|
|
}
|