Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. /* PDCurses */
  2.  
  3. #include <SDL.h>
  4. #ifdef PDC_WIDE
  5. #include <SDL_ttf.h>
  6. #endif
  7.  
  8. #include <curspriv.h>
  9.  
  10. #ifdef PDC_WIDE
  11. PDCEX  TTF_Font *pdc_ttffont;
  12. PDCEX  int pdc_font_size;
  13. #endif
  14. PDCEX  SDL_Surface *pdc_screen, *pdc_font, *pdc_icon, *pdc_back;
  15. PDCEX  int pdc_sheight, pdc_swidth, pdc_yoffset, pdc_xoffset;
  16.  
  17. extern SDL_Surface *pdc_tileback;    /* used to regenerate the background
  18.                                         of "transparent" cells */
  19. extern SDL_Color pdc_color[PDC_MAXCOL];  /* colors for font palette */
  20. extern Uint32 pdc_mapped[PDC_MAXCOL];    /* colors for FillRect(), as
  21.                                             used in _highlight() */
  22. extern int pdc_fheight, pdc_fwidth;  /* font height and width */
  23. extern int pdc_fthick;               /* thickness for highlights and
  24.                                         rendered ACS glyphs */
  25. extern int pdc_flastc;               /* font palette's last color
  26.                                         (treated as the foreground) */
  27. extern bool pdc_own_screen;          /* if pdc_screen was not set
  28.                                         before initscr(), PDCurses is
  29.                                         responsible for (owns) it */
  30.  
  31. PDCEX  void PDC_update_rects(void);
  32. PDCEX  void PDC_retile(void);
  33.  
  34. extern void PDC_blink_text(void);
  35.