summaryrefslogtreecommitdiff
path: root/app/bin/drawgeom.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2022-02-06 16:04:24 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2022-02-06 16:04:24 +0100
commit5d2c2b27a6323e2666378b986129b2a7c2c39e5c (patch)
treece8982b6c0111f79791068de2c2d4c6ce3138a49 /app/bin/drawgeom.h
parentb623f5953691b2a0614e6f1f4def86bdbb9a4113 (diff)
New upstream version 5.2.2GAupstream/5.2.2GA
Diffstat (limited to 'app/bin/drawgeom.h')
-rw-r--r--app/bin/drawgeom.h16
1 files changed, 8 insertions, 8 deletions
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;