adding ron to slide serializing...
It's possible I could use this as a method of creating slides in text form. It's vastly easier to implement.
This commit is contained in:
parent
66c37775d1
commit
2408404ff4
5 changed files with 68 additions and 19 deletions
31
test_presentation.ron
Normal file
31
test_presentation.ron
Normal file
|
@ -0,0 +1,31 @@
|
|||
[
|
||||
(
|
||||
id: 0,
|
||||
background: Background(
|
||||
path: "~/pics/frodo.jpg",
|
||||
kind: Image
|
||||
),
|
||||
text: "This is Frodo",
|
||||
font: "Quicksand",
|
||||
font_size: 50,
|
||||
text_alignment: MiddleCenter,
|
||||
video_loop: false,
|
||||
video_start_time: 0.0,
|
||||
video_end_time: 0.0,
|
||||
),
|
||||
|
||||
(
|
||||
id: 0,
|
||||
background: Background(
|
||||
path: "~/vids/test/chosensmol.mp4",
|
||||
kind: Video
|
||||
),
|
||||
text: "This is Frodo",
|
||||
font: "Quicksand",
|
||||
font_size: 50,
|
||||
text_alignment: MiddleCenter,
|
||||
video_loop: false,
|
||||
video_start_time: 0.0,
|
||||
video_end_time: 0.0,
|
||||
)
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue