summaryrefslogtreecommitdiffstats
path: root/bltGrMarkerBitmap.h
diff options
context:
space:
mode:
authorjoye <joye>2014-03-20 18:57:27 (GMT)
committerjoye <joye>2014-03-20 18:57:27 (GMT)
commit246b47f0b90e9db7160cc7a266cdd81697bab949 (patch)
tree46905a58793fa1f90b428bbfd5ecf7005450cc00 /bltGrMarkerBitmap.h
parent728d5bf2094ca2919b3ee586912558cd78267298 (diff)
downloadblt-246b47f0b90e9db7160cc7a266cdd81697bab949.zip
blt-246b47f0b90e9db7160cc7a266cdd81697bab949.tar.gz
blt-246b47f0b90e9db7160cc7a266cdd81697bab949.tar.bz2
*** empty log message ***
Diffstat (limited to 'bltGrMarkerBitmap.h')
-rw-r--r--bltGrMarkerBitmap.h32
1 files changed, 18 insertions, 14 deletions
diff --git a/bltGrMarkerBitmap.h b/bltGrMarkerBitmap.h
index 01e005b..e674351 100644
--- a/bltGrMarkerBitmap.h
+++ b/bltGrMarkerBitmap.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;
+ Pixmap bitmap;
+ XColor* fillColor;
+ XColor* outlineColor;
+} BitmapMarkerOptions;
+
class BitmapMarker {
public:
GraphObj obj;
@@ -42,29 +58,17 @@ class BitmapMarker {
int clipped;
unsigned int flags;
- Coords* worldPts;
- const char* elemName;
- Axis2d axes;
- int hide;
- int state;
- int drawUnder;
- int xOffset;
- int yOffset;
+ BitmapMarkerOptions* ops;
// Fields specific to bitmap
+ Point2d anchorPt;
GC gc;
GC fillGC;
Point2d outline[MAX_OUTLINE_POINTS];
int nOutlinePts;
int width;
int height;
-
- Tk_Anchor anchor;
- Pixmap bitmap;
- Point2d anchorPt;
- XColor* fillColor;
- XColor* outlineColor;
};
#endif