Sha256: 4cfc475bb57e010956b5c11df29107f1a81585a8712e31d7ce218385ac3fb0c2

Contents?: true

Size: 483 Bytes

Versions: 16

Compression:

Stored size: 483 Bytes

Contents

/* Public Domain Curses */

#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;
}

Version data entries

16 entries across 8 versions & 1 rubygems

Version Path
curses-1.4.7 vendor/PDCurses/sdl2/pdcgetsc.c
curses-1.4.7 vendor/PDCurses/sdl1/pdcgetsc.c
curses-1.4.5 vendor/PDCurses/sdl1/pdcgetsc.c
curses-1.4.5 vendor/PDCurses/sdl2/pdcgetsc.c
curses-1.4.4 vendor/PDCurses/sdl1/pdcgetsc.c
curses-1.4.4 vendor/PDCurses/sdl2/pdcgetsc.c
curses-1.4.4.beta.1 vendor/PDCurses/sdl2/pdcgetsc.c
curses-1.4.4.beta.1 vendor/PDCurses/sdl1/pdcgetsc.c
curses-1.4.3 vendor/PDCurses/sdl1/pdcgetsc.c
curses-1.4.3 vendor/PDCurses/sdl2/pdcgetsc.c
curses-1.4.2 vendor/PDCurses/sdl1/pdcgetsc.c
curses-1.4.2 vendor/PDCurses/sdl2/pdcgetsc.c
curses-1.4.1 vendor/PDCurses/sdl2/pdcgetsc.c
curses-1.4.1 vendor/PDCurses/sdl1/pdcgetsc.c
curses-1.4.0 vendor/PDCurses/sdl2/pdcgetsc.c
curses-1.4.0 vendor/PDCurses/sdl1/pdcgetsc.c