Fetch things via the resource manager. Modified code to create resource
manager and then create image manager as well where appropriate. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@604 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: TestApp.java,v 1.3 2001/11/08 02:07:36 mdb Exp $
|
||||
// $Id: TestApp.java,v 1.4 2001/11/08 02:58:23 mdb Exp $
|
||||
|
||||
package com.threerings.cast.builder;
|
||||
|
||||
@@ -9,6 +9,7 @@ import javax.swing.JFrame;
|
||||
import com.samskivert.util.Config;
|
||||
import com.samskivert.swing.util.SwingUtil;
|
||||
|
||||
import com.threerings.resource.ResourceManager;
|
||||
import com.threerings.media.ImageManager;
|
||||
|
||||
import com.threerings.cast.Log;
|
||||
@@ -26,7 +27,9 @@ public class TestApp
|
||||
|
||||
// create the handles on our various services
|
||||
_config = MisoUtil.createConfig();
|
||||
_imgmgr = MisoUtil.createImageManager(_frame);
|
||||
|
||||
ResourceManager rsrcmgr = new ResourceManager("rsrc");
|
||||
_imgmgr = new ImageManager(rsrcmgr, _frame);
|
||||
|
||||
CharacterManager charmgr =
|
||||
MisoUtil.createCharacterManager(_config, _imgmgr);
|
||||
|
||||
Reference in New Issue
Block a user