mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:08:10 +00:00
Presenter: Support multiple frames per slide
This commit is contained in:
parent
7c312980b0
commit
fcda397136
8 changed files with 84 additions and 37 deletions
|
@ -11,8 +11,10 @@
|
|||
"slides": [
|
||||
{
|
||||
"title": "Introduction",
|
||||
"frame_count": 2,
|
||||
"objects": [
|
||||
{
|
||||
"frame": 0,
|
||||
"type": "text",
|
||||
|
||||
"text": "Welcome to Presenter!",
|
||||
|
@ -25,6 +27,7 @@
|
|||
"text-alignment": "Center"
|
||||
},
|
||||
{
|
||||
"frame": 1,
|
||||
"type": "text",
|
||||
|
||||
"text": "This program is very cool. It supports:\n - Scaling properly to the window\n - Text\n - Switching between slides\n - that's all for now lol",
|
||||
|
@ -40,8 +43,10 @@
|
|||
},
|
||||
{
|
||||
"title": "The Second Slide",
|
||||
"frame_count": 2,
|
||||
"objects": [
|
||||
{
|
||||
"frame": 0,
|
||||
"type": "text",
|
||||
"text": "CatDog likes this program!",
|
||||
|
||||
|
@ -53,6 +58,7 @@
|
|||
"text-alignment": "Center"
|
||||
},
|
||||
{
|
||||
"frame": 1,
|
||||
"type": "image",
|
||||
|
||||
"rect": [50, 50, 200, 100],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue