From d1a8285f818eb7e5c3d6a05709ea21a808490b8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 19 Mar 2018 19:55:58 +0100 Subject: New upstream version 5.1.0 --- app/bin/drawgeom.h | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'app/bin/drawgeom.h') diff --git a/app/bin/drawgeom.h b/app/bin/drawgeom.h index 377ebaa..d9f54f8 100644 --- a/app/bin/drawgeom.h +++ b/app/bin/drawgeom.h @@ -1,4 +1,6 @@ - +/** \file drawgeom.h + * + */ /* XTrkCad - Model Railroad CAD * Copyright (C) 2005 Dave Bullis * @@ -17,6 +19,15 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifndef HAVE_DRAWGEOM_H +#define HAVE_DRAWGEOM_H + +#include "ccurve.h" +#include "common.h" +#include "draw.h" +#include "track.h" +#include "wlib.h" + #define OP_LINE (0) #define OP_DIMLINE (1) #define OP_BENCH (2) @@ -35,7 +46,8 @@ #define OP_FILLCIRCLE3 (15) #define OP_FILLBOX (16) #define OP_FILLPOLY (17) -#define OP_LAST (OP_FILLPOLY) +#define OP_BEZLIN (18) +#define OP_LAST (OP_BEZLIN) typedef struct { void (*message)( char *, ... ); @@ -53,6 +65,10 @@ typedef struct { } drawContext_t; extern drawContext_t * drawContext; +extern wDrawColor lineColor; +extern long lineWidth; + void DrawGeomOp( void * ); STATUS_T DrawGeomMouse( wAction_t, coOrd, drawContext_t * ); STATUS_T DrawGeomModify( coOrd, ANGLE_T, wIndex_t, trkSeg_p, wAction_t, coOrd, wBool_t ); +#endif //HAVE_DRAWGEOM_H \ No newline at end of file -- cgit v1.2.3