Major low-level rendering rethink.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1287 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
//
|
||||
// $Id: BuilderPanel.java,v 1.5 2001/11/27 08:09:35 mdb Exp $
|
||||
// $Id: BuilderPanel.java,v 1.6 2002/04/23 01:17:28 mdb Exp $
|
||||
|
||||
package com.threerings.cast.builder;
|
||||
|
||||
import javax.swing.*;
|
||||
import com.samskivert.swing.*;
|
||||
|
||||
import com.threerings.media.FrameManager;
|
||||
|
||||
import com.threerings.cast.CharacterManager;
|
||||
import com.threerings.cast.ComponentRepository;
|
||||
|
||||
@@ -19,7 +21,8 @@ public class BuilderPanel extends JPanel
|
||||
/**
|
||||
* Constructs the builder panel.
|
||||
*/
|
||||
public BuilderPanel (CharacterManager charmgr, ComponentRepository crepo)
|
||||
public BuilderPanel (FrameManager framemgr, CharacterManager charmgr,
|
||||
ComponentRepository crepo)
|
||||
{
|
||||
setLayout(new VGroupLayout());
|
||||
|
||||
@@ -35,7 +38,7 @@ public class BuilderPanel extends JPanel
|
||||
// create the component selection and sprite display panels
|
||||
JPanel sub = new JPanel(gl);
|
||||
sub.add(new ComponentPanel(model));
|
||||
sub.add(new SpritePanel(charmgr, model));
|
||||
sub.add(new SpritePanel(framemgr, charmgr, model));
|
||||
add(sub);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user