1
Fork 0
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:
Kyle Lanmon 2023-03-20 22:56:55 -05:00 committed by Andreas Kling
parent 7c312980b0
commit fcda397136
8 changed files with 84 additions and 37 deletions

View file

@ -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],