3908f96f64
git-svn-id: svn://kolibrios.org@9214 a494cfbc-eb01-0410-851d-a64ba20cac60
31 lines
471 B
C
31 lines
471 B
C
/* PDCurses */
|
|
|
|
#include "pdcsdl.h"
|
|
|
|
/* get the cursor size/shape */
|
|
|
|
int PDC_get_cursor_mode(void)
|
|
{
|
|
PDC_LOG(("PDC_get_cursor_mode() - called\n"));
|
|
|
|
return 0;
|
|
}
|
|
|
|
/* return number of screen rows */
|
|
|
|
int PDC_get_rows(void)
|
|
{
|
|
PDC_LOG(("PDC_get_rows() - called\n"));
|
|
|
|
return pdc_sheight / pdc_fheight;
|
|
}
|
|
|
|
/* return width of screen/viewport */
|
|
|
|
int PDC_get_columns(void)
|
|
{
|
|
PDC_LOG(("PDC_get_columns() - called\n"));
|
|
|
|
return pdc_swidth / pdc_fwidth;
|
|
}
|