From 5d2c2b27a6323e2666378b986129b2a7c2c39e5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 6 Feb 2022 16:04:24 +0100 Subject: New upstream version 5.2.2GA --- app/bin/drawgeom.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'app/bin/drawgeom.h') diff --git a/app/bin/drawgeom.h b/app/bin/drawgeom.h index 45814d7..19a982d 100644 --- a/app/bin/drawgeom.h +++ b/app/bin/drawgeom.h @@ -22,11 +22,9 @@ #ifndef HAVE_DRAWGEOM_H #define HAVE_DRAWGEOM_H -#include "ccurve.h" #include "common.h" -#include "draw.h" -#include "track.h" -#include "wlib.h" +#include "track.h" //- drawLineType_e PolyType_e +#include "ccurve.h" //- curveData_t #define OP_LINE (0) #define OP_DIMLINE (1) @@ -51,9 +49,9 @@ #define OP_LAST (OP_POLYLINE) typedef struct { - void (*message)( char *, ... ); + void (*message)( const char *, ... ); void (*Redraw)( void ); - drawCmd_t *D; + drawCmd_p D; long Op; wDrawColor Color; long line_Width; @@ -69,15 +67,17 @@ typedef struct { ANGLE_T ArcAngle; int Started; BOOL_T Changed; + BOOL_T show; + BOOL_T UndoStarted; } drawContext_t; typedef enum {MOD_NONE, MOD_STARTED, MOD_SELECTED_PT, MOD_AFTER_PT, MOD_ORIGIN, MOD_AFTER_ORIG } ModState_e; typedef struct { - void (*message)( char *, ... ); + void (*message)( const char *, ... ); void (*Redraw)( void ); - drawCmd_t *D; + drawCmd_p D; double length; ANGLE_T rel_angle; double radius; -- cgit v1.2.3