From 4aef9a0d741c0496e2f727c32c98569994ace3e0 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Tue, 18 Dec 2001 08:38:33 +0000 Subject: [PATCH] Removed commented out location painting code as it's now in its new home. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@827 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../threerings/miso/client/IsoSceneView.java | 44 +------------------ 1 file changed, 1 insertion(+), 43 deletions(-) diff --git a/src/java/com/threerings/miso/client/IsoSceneView.java b/src/java/com/threerings/miso/client/IsoSceneView.java index d2b34f5cb..dca9d0b02 100644 --- a/src/java/com/threerings/miso/client/IsoSceneView.java +++ b/src/java/com/threerings/miso/client/IsoSceneView.java @@ -1,5 +1,5 @@ // -// $Id: IsoSceneView.java,v 1.80 2001/12/16 08:31:17 mdb Exp $ +// $Id: IsoSceneView.java,v 1.81 2001/12/18 08:38:33 mdb Exp $ package com.threerings.miso.scene; @@ -367,48 +367,6 @@ public class IsoSceneView implements SceneView } } -// /** -// * Paint demarcations at all locations in the scene, with each -// * location's cluster index, if any, along the right side of its -// * rectangle. -// * -// * @param gfx the graphics context. -// */ -// protected void paintLocations (Graphics2D gfx) -// { -// List locations = _scene.getLocations(); -// int size = locations.size(); - -// for (int ii = 0; ii < size; ii++) { -// // retrieve the location -// Location loc = (Location)locations.get(ii); - -// // get the cluster index this location is in, if any -// int clusteridx = MisoSceneUtil.getClusterIndex(_scene, loc); - -// // get the location's center coordinate -// Point spos = new Point(); -// IsoUtil.fullToScreen(_model, loc.x, loc.y, spos); -// int cx = spos.x, cy = spos.y; - -// // paint the location -// loc.paint(gfx, cx, cy); - -// if (clusteridx != -1) { -// // draw the cluster index number on the right side -// gfx.setFont(_font); -// gfx.setColor(Color.white); -// gfx.drawString(String.valueOf(clusteridx), cx + 5, cy + 3); -// } - -// // highlight the location if it's the default entrance -// if (_scene.getEntrance() == loc) { -// gfx.setColor(Color.cyan); -// gfx.drawRect(spos.x - 5, spos.y - 5, 10, 10); -// } -// } -// } - // documentation inherited public void invalidateRects (DirtyRectList rects) {