Project

General

Profile

« Previous | Next » 

Revision cb9d104d

Added by Leszek Koltunski almost 7 years ago

New 'Glow' app.

View differences:

src/main/java/org/distorted/examples/blur/BlurActivity.java
41 41
    protected void onCreate(Bundle icicle) 
42 42
      {
43 43
      super.onCreate(icicle);
44
      
45 44
      setContentView(R.layout.blurlayout);
46

  
47 45
      textBlur = (TextView)findViewById(R.id.blurText);
48

  
49 46
      SeekBar bar = (SeekBar)findViewById(R.id.blurSeek);
50

  
51 47
      bar.setOnSeekBarChangeListener(this);
52 48
      bar.setProgress(50);
53 49
      }
......
69 65
    protected void onResume() 
70 66
      {
71 67
      super.onResume();
72
      
73 68
      GLSurfaceView view = (GLSurfaceView) this.findViewById(R.id.blurSurfaceView);
74 69
      view.onResume();
75 70
      }

Also available in: Unified diff