Project

General

Profile

« Previous | Next » 

Revision 3e673c74

Added by Leszek Koltunski about 7 years ago

Enrich the Multiblur app.

View differences:

src/main/java/org/distorted/examples/multiblur/MultiblurSurfaceView.java
38 38
	
39 39
///////////////////////////////////////////////////////////////////////////////////////////////////
40 40
   
41
    public MultiblurSurfaceView(Context context)
41
    public MultiblurSurfaceView(Context context, AttributeSet attrs)
42 42
      {
43
      super(context);
43
      super(context, attrs);
44 44
    
45 45
      mX = -1;
46 46
      mY = -1;
......
55 55
        Toast.makeText(context, R.string.example_rotate_toast , Toast.LENGTH_SHORT).show();
56 56
        }
57 57
      }
58
    
58

  
59
///////////////////////////////////////////////////////////////////////////////////////////////////
60

  
61
    public MultiblurRenderer getRenderer()
62
      {
63
      return mRenderer;
64
      }
65

  
59 66
///////////////////////////////////////////////////////////////////////////////////////////////////
60 67
    
61 68
    @Override public boolean onTouchEvent(MotionEvent event) 

Also available in: Unified diff