diff options
Diffstat (limited to 'tksao/frame/frmarker.C')
-rw-r--r-- | tksao/frame/frmarker.C | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/tksao/frame/frmarker.C b/tksao/frame/frmarker.C index 28734c9..33692f8 100644 --- a/tksao/frame/frmarker.C +++ b/tksao/frame/frmarker.C @@ -4323,28 +4323,6 @@ void Base::markerKeyCmd(const Vector& v) } void Base::markerLineCmd(int id, const Vector& p1, const Vector& p2, - Coord::InternalSystem sys) -{ - Marker* mm=markers->head(); - while (mm) { - if (mm->getId() == id) { - if (mm->canEdit()) { - markerUndo(mm, EDIT); - - // it may shrink - update(PIXMAP, mm->getAllBBox()); - ((Line*)(mm))->setPoints(mapToRef(p1,sys),mapToRef(p2,sys)); - update(PIXMAP, mm->getAllBBox()); - } - return; - } - mm=mm->next(); - } - - result = TCL_ERROR; -} - -void Base::markerLineCmd(int id, const Vector& p1, const Vector& p2, Coord::CoordSystem sys, Coord::SkyFrame sky) { Marker* mm=markers->head(); @@ -5465,28 +5443,6 @@ void Base::markerRotateEndCmd() } void Base::markerRulerPointCmd(int id, const Vector& p1, const Vector& p2, - Coord::InternalSystem sys) -{ - Marker* mm=markers->head(); - while (mm) { - if (mm->getId() == id) { - if (mm->canEdit()) { - markerUndo(mm, EDIT); - - // it may shrink - update(PIXMAP, mm->getAllBBox()); - ((Ruler*)(mm))->setPoints(mapToRef(p1,sys),mapToRef(p2,sys)); - update(PIXMAP, mm->getAllBBox()); - } - return; - } - mm=mm->next(); - } - - result = TCL_ERROR; -} - -void Base::markerRulerPointCmd(int id, const Vector& p1, const Vector& p2, Coord::CoordSystem sys, Coord::SkyFrame sky) { Marker* mm=markers->head(); |