1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
use presentation;
use layout;
// Declare the presentation. Uses an extension implemented in the package 'presentation'.
presentation Simple "My presentation" {
// Generate a random caption for the first slide.
Str caption = "Presentation number " + rand(1, 10).toS;
// Create a slide.
slide title caption, "<author>" {}
// Another one, with an animation!
slide FadeIn => content "Hello!" {
list [ "Welcome to " + caption, "In Storm!" ] {}
}
}
void simple() {
Simple.show();
}
|