summaryrefslogtreecommitdiffstats
path: root/bltGrMarkerBitmap.C
diff options
context:
space:
mode:
authorjoye <joye>2014-03-27 21:07:10 (GMT)
committerjoye <joye>2014-03-27 21:07:10 (GMT)
commit442e4644e51e2d85c10b02ca87f8687178cb7906 (patch)
tree7ab55df19064061578ab6086d94820cf8cdce361 /bltGrMarkerBitmap.C
parent7172c8a5a0cfc54ceb5427f6420119c1a1877434 (diff)
downloadblt-442e4644e51e2d85c10b02ca87f8687178cb7906.zip
blt-442e4644e51e2d85c10b02ca87f8687178cb7906.tar.gz
blt-442e4644e51e2d85c10b02ca87f8687178cb7906.tar.bz2
*** empty log message ***
Diffstat (limited to 'bltGrMarkerBitmap.C')
-rw-r--r--bltGrMarkerBitmap.C13
1 files changed, 8 insertions, 5 deletions
diff --git a/bltGrMarkerBitmap.C b/bltGrMarkerBitmap.C
index 10d5954..ec7b586 100644
--- a/bltGrMarkerBitmap.C
+++ b/bltGrMarkerBitmap.C
@@ -101,8 +101,15 @@ static MarkerClass bitmapMarkerClass = {
BitmapToPostscriptProc,
};
-BitmapMarker::BitmapMarker(Graph* graphPtr) : Marker(graphPtr)
+BitmapMarker::BitmapMarker(Graph* graphPtr, const char* name)
+ : Marker(graphPtr, name)
{
+ obj.classId = CID_MARKER_BITMAP;
+ obj.className = dupstr("BitmapMarker");
+ classPtr = &bitmapMarkerClass;
+ ops = (BitmapMarkerOptions*)calloc(1, sizeof(BitmapMarkerOptions));
+ optionTable = Tk_CreateOptionTable(graphPtr->interp, optionSpecs);
+
anchorPt.x =0;
anchorPt.y =0;
gc =NULL;
@@ -110,10 +117,6 @@ BitmapMarker::BitmapMarker(Graph* graphPtr) : Marker(graphPtr)
nOutlinePts =0;
width =0;
height =0;
-
- classPtr = &bitmapMarkerClass;
- ops = (BitmapMarkerOptions*)calloc(1, sizeof(BitmapMarkerOptions));
- optionTable = Tk_CreateOptionTable(graphPtr->interp, optionSpecs);
}
BitmapMarker::~BitmapMarker()