Project

General

Profile

« Previous | Next » 

Revision 7cb8d4b0

Added by Leszek Koltunski about 2 years ago

Mode the 'iconMode' from static variable in ObjectControl to member varaible in TwistyObject (safer)

View differences:

src/main/java/org/distorted/bandaged/BandagedCreatorActivity.java
19 19

  
20 20
package org.distorted.bandaged;
21 21

  
22
import android.graphics.Bitmap;
22 23
import android.os.Build;
23 24
import android.os.Bundle;
24 25
import android.util.DisplayMetrics;
......
186 187

  
187 188
      if( mScreen==null ) mScreen = new BandagedCreatorScreen();
188 189
      mScreen.onAttachedToWindow(this);
190

  
191
      BandagedCreatorWorkerThread.create(this);
189 192
      }
190 193

  
191 194
///////////////////////////////////////////////////////////////////////////////////////////////////
......
231 234

  
232 235
///////////////////////////////////////////////////////////////////////////////////////////////////
233 236

  
234
    public int getHeightBar()
237
    public void iconCreationDone(Bitmap bmp)
235 238
      {
236
      return mHeightBar;
239
      mScreen.iconCreationDone(bmp);
237 240
      }
238 241

  
239 242
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff