Revision c6e1c219
Added by Leszek Koltunski almost 8 years ago
src/main/java/org/distorted/library/EffectMessage.java | ||
---|---|---|
11 | 11 |
* The effect has been removed. This can happen if: |
12 | 12 |
* <ul> |
13 | 13 |
* <li> someone explicitly removed the effect with a call to {@link DistortedBitmap#abortEffect(long)} (or one of the other 'abort' methods) |
14 |
* <li> the interpolation of the effect has finished and the end result is equal to the effect's zero point.
|
|
14 |
* <li> the interpolation of the effect has finished and the end result is equal to the effect's unity.
|
|
15 | 15 |
* </ul> |
16 | 16 |
*/ |
17 | 17 |
EFFECT_REMOVED, |
... | ... | |
25 | 25 |
* finishes. You will never get this message if you set the effect to go on indefinitely with a call to |
26 | 26 |
* {@link Interpolator#setCount(float)}. |
27 | 27 |
* <p> |
28 |
* If then the end effect is equal to the effect's zero point, then immediately after this message you
|
|
28 |
* If then the end effect is equal to the effect's unity, then immediately after this message you
|
|
29 | 29 |
* will also get a EFFECT_REMOVED message. |
30 | 30 |
*/ |
31 | 31 |
EFFECT_FINISHED, |
... | ... | |
35 | 35 |
* <p> |
36 | 36 |
* Currently only OTHER effects (saving to PNG file and to a MP4 movie) can fail. |
37 | 37 |
*/ |
38 |
EFFECT_FAILED;
|
|
38 |
EFFECT_FAILED |
|
39 | 39 |
} |
40 | 40 |
|
41 | 41 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Save PNG effect almost finished. Supporting App (hopefully!) completely finished.
What remains to be done: put actual saving of the Bitmap in a separate thread, away from the Graphics thread!!