diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-02-06 16:04:57 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-02-06 16:04:57 +0100 |
commit | 59dccf358523dfc7679d1d8c120452a71e42243c (patch) | |
tree | f0f3cc006e8157d6bd699bd644b7dd7b35387ac2 /app/bin/drawgeom.h | |
parent | fd6639655b399a79fb72f494786a4f57da9c90e7 (diff) | |
parent | d0ca838c7ab297036b4a7c45351761a48fe05efd (diff) |
Merge branch 'feature/upstrem' into develop
Diffstat (limited to 'app/bin/drawgeom.h')
-rw-r--r-- | app/bin/drawgeom.h | 16 |
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; |