blob: 79df21a52d1b07c8d2d44b9db990078889f63bbd [file] [log] [blame]
Patrick Georgi3b77b722011-07-07 15:41:53 +02001/* Public Domain Curses */
2
3/* $Id: pdcsdl.h,v 1.17 2008/07/14 04:24:52 wmcbrine Exp $ */
4
5#include <curspriv.h>
6
7#include <SDL/SDL.h>
8
9PDCEX SDL_Surface *pdc_screen, *pdc_font, *pdc_icon, *pdc_back;
10PDCEX int pdc_sheight, pdc_swidth, pdc_yoffset, pdc_xoffset;
11
12extern SDL_Surface *pdc_tileback; /* used to regenerate the background
13 of "transparent" cells */
14extern SDL_Color pdc_color[16]; /* colors for font palette */
15extern Uint32 pdc_mapped[16]; /* colors for FillRect(), as
16 used in _highlight() */
17extern int pdc_fheight, pdc_fwidth; /* font height and width */
18extern int pdc_flastc; /* font palette's last color
19 (treated as the foreground) */
20extern bool pdc_own_screen; /* if pdc_screen was not set
21 before initscr(), PDCurses is
22 responsible for (owns) it */
23extern Uint32 pdc_lastupdate; /* time of last update, in ticks */
24
25void PDC_update_rects(void);
26void PDC_retile(void);