diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-02-06 16:04:38 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-02-06 16:04:38 +0100 |
commit | d0ca838c7ab297036b4a7c45351761a48fe05efd (patch) | |
tree | f0f3cc006e8157d6bd699bd644b7dd7b35387ac2 /app/bin/drawgeom.h | |
parent | fd6639655b399a79fb72f494786a4f57da9c90e7 (diff) | |
parent | 5d2c2b27a6323e2666378b986129b2a7c2c39e5c (diff) |
Update upstream source from tag 'upstream/5.2.2GA'
Update to upstream version '5.2.2GA'
with Debian dir 9c80045d0b4f9e463647bc8af8c090a673df4132
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; |