home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / gnu / djgpp / contrib / bcc2grx / include / p2c / tp2bcc.h < prev   
Encoding:
C/C++ Source or Header  |  1993-07-23  |  1.8 KB  |  55 lines

  1. /*
  2.  *  BCC2GRX  -  Interfacing Borland based graphics programs to LIBGRX
  3.  *  Copyright (C) 1993  Hartmut Schirmer
  4.  *
  5.  *  This library is free software; you can redistribute it and/or
  6.  *  modify it under the terms of the GNU Library General Public
  7.  *  License as published by the Free Software Foundation; either
  8.  *  version 2 of the License, or (at your option) any later version.
  9.  *
  10.  *  This library is distributed in the hope that it will be useful,
  11.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  13.  *  Library General Public License for more details.
  14.  *
  15.  *  You should have received a copy of the GNU Library General Public
  16.  *  License along with this library; if not, write to the Free
  17.  *  Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  *
  19.  *
  20.  *  Contact :                Hartmut Schirmer
  21.  *                           Feldstrasse 118
  22.  *                    D-2300 Kiel 1
  23.  *                           Germany
  24.  *
  25.  *                    No telephone calls please !
  26.  *
  27.  *           NOTE : Please use ZIP 24105 after July 1 1993 !!
  28.  *
  29.  */
  30.  
  31. #ifndef _TP2BCC_
  32.  
  33. #define _TP2BCC_
  34. #ifdef __GNUC__
  35. #  include "libbcc.h"
  36. #  define getpalette(p)
  37. #  define setusercharsize(mx,dx,my,dy)
  38. #else
  39. #  include <graphics.h>
  40. #  define TRUE  (1==1)
  41. #  define FALSE (1==0)
  42. #endif
  43. typedef struct viewporttype     ViewPortType;
  44. #define ClipOn  TRUE
  45. #define ClipOff FALSE
  46. typedef unsigned char FillPatternType[8];
  47. typedef struct linesettingstype LineSettingsType;
  48. typedef struct fillsettingstype FillSettingsType;
  49. typedef struct textsettingstype TextSettingsType;
  50. typedef struct palettetype      PaletteType;
  51. typedef struct pointtype        PointType;
  52. typedef struct arccoordstype    ArcCoordsType;
  53.  
  54. #endif
  55.