summaryrefslogtreecommitdiff
path: root/app/bin/drawgeom.h
diff options
context:
space:
mode:
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;