diff options
Diffstat (limited to 'src/bltGrMarkerText.h')
-rw-r--r-- | src/bltGrMarkerText.h | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/src/bltGrMarkerText.h b/src/bltGrMarkerText.h index c5db678..436e01d 100644 --- a/src/bltGrMarkerText.h +++ b/src/bltGrMarkerText.h @@ -32,6 +32,22 @@ #include "bltGrMarker.h" +typedef struct { + Coords* worldPts; + const char* elemName; + Axis2d axes; + int hide; + int state; + int drawUnder; + int xOffset; + int yOffset; + + Tk_Anchor anchor; + XColor* fillColor; + TextStyle style; + const char* string; +} TextMarkerOptions; + class TextMarker { public: GraphObj obj; @@ -42,14 +58,7 @@ class TextMarker { int clipped; unsigned int flags; - Coords* worldPts; - const char* elemName; - Axis2d axes; - int hide; - int state; - int drawUnder; - int xOffset; - int yOffset; + TextMarkerOptions* ops; // Fields specific to text @@ -58,11 +67,6 @@ class TextMarker { int height; GC fillGC; Point2d outline[5]; - - Tk_Anchor anchor; - XColor* fillColor; - TextStyle style; - const char* string; }; #endif |