Project

General

Profile

« Previous | Next » 

Revision ed0ea1c5

Added by Leszek Koltunski about 1 year ago

Move the OSInterface to a separate module

View differences:

src/main/java/org/distorted/config/ConfigSurfaceView.java
20 20

  
21 21
import org.distorted.objectlib.main.ObjectControl;
22 22
import org.distorted.objectlib.main.TwistyObjectNode;
23
import org.distorted.os.OSInterface;
23 24

  
24 25
///////////////////////////////////////////////////////////////////////////////////////////////////
25 26

  
26 27
public class ConfigSurfaceView extends GLSurfaceView
27 28
{
28 29
    private ObjectControl mObjectController;
29
    private ConfigOSInterface mInterface;
30
    private OSInterface mInterface;
30 31
    private ConfigRenderer mRenderer;
31 32
    private int mScreenWidth, mScreenHeight;
32 33
    private boolean mCreated;
......
77 78
        {
78 79
        ConfigActivity act = (ConfigActivity)context;
79 80
        ConfigObjectLibInterface ref = new ConfigObjectLibInterface();
80
        mInterface = new ConfigOSInterface(act);
81
        mInterface = new OSInterface(act);
81 82
        mObjectController = new ObjectControl(ref,mInterface);
82 83
        mObjectController.setRotateOnCreation(true);
83 84
        mRenderer = new ConfigRenderer(this);

Also available in: Unified diff