Revision e5424523
Added by Leszek Koltunski almost 8 years ago
src/main/java/org/distorted/examples/TableOfContents.java | ||
---|---|---|
46 | 46 |
import org.distorted.examples.olimpic.OlimpicActivity; |
47 | 47 |
import org.distorted.examples.differenteffects.DifferentEffectsActivity; |
48 | 48 |
import org.distorted.examples.differentbitmaps.DifferentBitmapsActivity; |
49 |
import org.distorted.examples.scratchpad.ScratchpadActivity;
|
|
49 |
import org.distorted.examples.effects2d.Effects2DActivity;
|
|
50 | 50 |
import org.distorted.examples.check.CheckActivity; |
51 | 51 |
import org.distorted.examples.bean.BeanActivity; |
52 | 52 |
import org.distorted.examples.fbo.FBOActivity; |
... | ... | |
189 | 189 |
|
190 | 190 |
{ |
191 | 191 |
final Map<String, Object> item = new HashMap<>(); |
192 |
item.put(ITEM_IMAGE, R.drawable.icon_example_scratchpad);
|
|
193 |
item.put(ITEM_TITLE, (i+1)+". "+getText(R.string.example_scratchpad));
|
|
194 |
item.put(ITEM_SUBTITLE, getText(R.string.example_scratchpad_subtitle));
|
|
192 |
item.put(ITEM_IMAGE, R.drawable.icon_example_effects2d);
|
|
193 |
item.put(ITEM_TITLE, (i+1)+". "+getText(R.string.example_effects2d));
|
|
194 |
item.put(ITEM_SUBTITLE, getText(R.string.example_effects2d_subtitle));
|
|
195 | 195 |
data.add(item); |
196 |
activityMapping.put(i++, ScratchpadActivity.class);
|
|
196 |
activityMapping.put(i++, Effects2DActivity.class);
|
|
197 | 197 |
} |
198 | 198 |
|
199 | 199 |
{ |
Also available in: Unified diff
Upgrade what used to be the 'Scratchpad' app; step 1: rename.