Project

General

Profile

« Previous | Next » 

Revision b45b986a

Added by Leszek Koltunski 8 months ago

Major progress with version 2.0.0.

View differences:

src/main/java/org/distorted/main/MainObjectPopup.java
41 41

  
42 42
///////////////////////////////////////////////////////////////////////////////////////////////////
43 43

  
44
  MainObjectPopup(Activity act, int ordinal, int width, int height)
44
  MainObjectPopup(MainActivity act, int ordinal, int width, int height)
45 45
    {
46 46
    LayoutInflater layoutInflater = (LayoutInflater)act.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
47 47
    final View layout = layoutInflater.inflate(R.layout.object_popup, null);
......
126 126
      @Override
127 127
      public void onClick(View v)
128 128
        {
129

  
129
        mPopup.dismiss();
130
        act.switchToConfig(ordinal);
130 131
        }
131 132
      });
132 133

  

Also available in: Unified diff