Revision e3900503
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/examples/effectqueue/EffectQueueActivity.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2016 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of Distorted. // |
|
4 |
// This file is part of DistortedLibrary. //
|
|
5 | 5 |
// // |
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.examples.effectqueue; |
... | ... | |
22 | 22 |
import org.distorted.library.effect.Effect; |
23 | 23 |
import org.distorted.library.effect.EffectName; |
24 | 24 |
import org.distorted.library.effect.EffectType; |
25 |
import org.distorted.library.main.Distorted; |
|
25 |
import org.distorted.library.main.DistortedLibrary;
|
|
26 | 26 |
import org.distorted.examples.R; |
27 | 27 |
|
28 | 28 |
import android.app.Activity; |
... | ... | |
123 | 123 |
GLSurfaceView mView = findViewById(R.id.effects2dSurfaceView); |
124 | 124 |
mView.onPause(); |
125 | 125 |
|
126 |
Distorted.onPause(); |
|
126 |
DistortedLibrary.onPause();
|
|
127 | 127 |
super.onPause(); |
128 | 128 |
} |
129 | 129 |
|
... | ... | |
140 | 140 |
@Override |
141 | 141 |
public void onDestroy() |
142 | 142 |
{ |
143 |
Distorted.onDestroy(); |
|
143 |
DistortedLibrary.onDestroy();
|
|
144 | 144 |
super.onDestroy(); |
145 | 145 |
} |
146 | 146 |
|
Also available in: Unified diff
Rename all the classes that are not exported to application to 'Internal'