Project

General

Profile

« Previous | Next » 

Revision 85038b84

Added by Leszek Koltunski almost 2 years ago

New UI

View differences:

src/main/java/org/distorted/main/RubikSurfaceView.java
59 59
        TwistyObjectNode objectNode = mObjectController.getNode();
60 60
        mRenderer.getScreen().attach(objectNode);
61 61
        }
62

  
63
      try
64
        {
65
        RubikActivity act = (RubikActivity)getContext();
66
        act.setScreenSize(width,height);
67
        }
68
      catch( Exception ex )
69
        {
70
        android.util.Log.e("D", "Failed to set screen size!");
71
        }
72 62
      }
73 63

  
74 64
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff