summaryrefslogtreecommitdiff
path: root/app/bin/drawgeom.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-03-19 19:55:58 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-03-19 19:55:58 +0100
commitd1a8285f818eb7e5c3d6a05709ea21a808490b8c (patch)
tree326578f0505cbed07cfe60de530022822dc237ac /app/bin/drawgeom.h
parent16e9630b79f0a7a90c6cedb6781175bb8b337dc1 (diff)
New upstream version 5.1.0upstream/5.1.0
Diffstat (limited to 'app/bin/drawgeom.h')
-rw-r--r--app/bin/drawgeom.h20
1 files changed, 18 insertions, 2 deletions
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