/*
 *  BCC2GRX  -  Interfacing Borland based graphics programs to LIBGRX
 *  Copyright (C) 1993  Hartmut Schirmer
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Library General Public
 *  License as published by the Free Software Foundation; either
 *  version 2 of the License, or (at your option) any later version.
 *
 *  This library is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *  Library General Public License for more details.
 *
 *  You should have received a copy of the GNU Library General Public
 *  License along with this library; if not, write to the Free
 *  Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 *
 *  Contact :                Hartmut Schirmer
 *                           Feldstrasse 118
 *                    D-2300 Kiel 1
 *                           Germany
 *
 *                    No telephone calls please !
 *
 *           NOTE : Please use ZIP 24105 after July 1 1993 !!
 *
 */

#ifndef _TP2BCC_

#define _TP2BCC_
#ifdef __GNUC__
#  include "libbcc.h"
#  define getpalette(p)
#  define setusercharsize(mx,dx,my,dy)
#else
#  include <graphics.h>
#  define TRUE  (1==1)
#  define FALSE (1==0)
#endif
typedef struct viewporttype     ViewPortType;
#define ClipOn  TRUE
#define ClipOff FALSE
typedef unsigned char FillPatternType[8];
typedef struct linesettingstype LineSettingsType;
typedef struct fillsettingstype FillSettingsType;
typedef struct textsettingstype TextSettingsType;
typedef struct palettetype      PaletteType;
typedef struct pointtype        PointType;
typedef struct arccoordstype    ArcCoordsType;

#endif
