We use an image manager again.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@520 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -18,6 +18,7 @@ import com.samskivert.swing.HGroupLayout;
|
|||||||
import com.samskivert.swing.VGroupLayout;
|
import com.samskivert.swing.VGroupLayout;
|
||||||
|
|
||||||
import com.threerings.resource.ResourceManager;
|
import com.threerings.resource.ResourceManager;
|
||||||
|
import com.threerings.media.ImageManager;
|
||||||
import com.threerings.media.tile.TileManager;
|
import com.threerings.media.tile.TileManager;
|
||||||
|
|
||||||
import com.threerings.crowd.data.PlaceObject;
|
import com.threerings.crowd.data.PlaceObject;
|
||||||
@@ -107,7 +108,8 @@ public class VenisonPanel
|
|||||||
public void ancestorAdded (AncestorEvent event) {
|
public void ancestorAdded (AncestorEvent event) {
|
||||||
// create our image manager
|
// create our image manager
|
||||||
JRootPane rpane = getRootPane();
|
JRootPane rpane = getRootPane();
|
||||||
TileManager tmgr = new TileManager(_rmgr);
|
ImageManager imgr = new ImageManager(_rmgr, rpane);
|
||||||
|
TileManager tmgr = new TileManager(imgr);
|
||||||
VenisonTile.setTileManager(tmgr);
|
VenisonTile.setTileManager(tmgr);
|
||||||
}
|
}
|
||||||
public void ancestorMoved (AncestorEvent event) {
|
public void ancestorMoved (AncestorEvent event) {
|
||||||
|
|||||||
Reference in New Issue
Block a user