mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:52:45 +00:00 
			
		
		
		
	Base: Add an example presentation
This contains CatDog and uses most of the currently supported features.
This commit is contained in:
		
							parent
							
								
									de44d6c0a6
								
							
						
					
					
						commit
						66c903424c
					
				
					 1 changed files with 66 additions and 0 deletions
				
			
		
							
								
								
									
										66
									
								
								Base/home/anon/Documents/Example Presentation.presenter
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										66
									
								
								Base/home/anon/Documents/Example Presentation.presenter
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,66 @@ | ||||||
|  | { | ||||||
|  |     "version": 1, | ||||||
|  |     "metadata": { | ||||||
|  |         "author": "CatDog", | ||||||
|  |         "title": "Example presentation", | ||||||
|  |         "last-modified": "2022-10-21T14:50:00", | ||||||
|  |         "width": 320, | ||||||
|  |         "aspect": "16:9" | ||||||
|  |     }, | ||||||
|  |     "templates": {}, | ||||||
|  |     "slides": [ | ||||||
|  |         { | ||||||
|  |             "title": "Introduction", | ||||||
|  |             "objects": [ | ||||||
|  |                 { | ||||||
|  |                     "type": "text", | ||||||
|  | 
 | ||||||
|  |                     "text": "Welcome to Presenter!", | ||||||
|  | 
 | ||||||
|  |                     "rect": [20, 20, 280, 30], | ||||||
|  |                     "color": "#000000", | ||||||
|  |                     "font": "Liberation Serif", | ||||||
|  |                     "font-size": 18, | ||||||
|  |                     "font-weight": "Bold", | ||||||
|  |                     "text-alignment": "Center" | ||||||
|  |                 }, | ||||||
|  |                 { | ||||||
|  |                     "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", | ||||||
|  | 
 | ||||||
|  |                     "rect": [20, 60, 280, 140], | ||||||
|  |                     "color": "#2f0000", | ||||||
|  |                     "font": "Liberation Serif", | ||||||
|  |                     "font-size": 8, | ||||||
|  |                     "font-weight": "Regular", | ||||||
|  |                     "text-alignment": "TopLeft" | ||||||
|  |                 } | ||||||
|  |             ] | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |             "title": "The Second Slide", | ||||||
|  |             "objects": [ | ||||||
|  |                 { | ||||||
|  |                     "type": "text", | ||||||
|  |                     "text": "CatDog likes this program!", | ||||||
|  | 
 | ||||||
|  |                     "rect": [20, 10, 280, 40], | ||||||
|  |                     "color": "#2f0000", | ||||||
|  |                     "font": "Liberation Serif", | ||||||
|  |                     "font-size": 7, | ||||||
|  |                     "font-weight": "Regular", | ||||||
|  |                     "text-alignment": "Center" | ||||||
|  |                 }, | ||||||
|  |                 { | ||||||
|  |                     "type": "image", | ||||||
|  | 
 | ||||||
|  |                     "rect": [50, 50, 200, 100], | ||||||
|  |                     "path": "/res/icons/catdog/alert.png", | ||||||
|  |                     "scaling": "fit-smallest", | ||||||
|  |                     "scaling-mode": "nearest-neighbor" | ||||||
|  |                 } | ||||||
|  |             ] | ||||||
|  |         } | ||||||
|  |     ] | ||||||
|  | } | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 kleines Filmröllchen
						kleines Filmröllchen