mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:22:45 +00:00 
			
		
		
		
	VideoPlayer: Create submenu to set sizing mode
Also add icon to the sizing mode cycling button.
This commit is contained in:
		
							parent
							
								
									b33b950e45
								
							
						
					
					
						commit
						eef07a411b
					
				
					 5 changed files with 74 additions and 6 deletions
				
			
		|  | @ -31,6 +31,15 @@ void VideoFrameWidget::set_bitmap(Gfx::Bitmap const* bitmap) | |||
|     update(); | ||||
| } | ||||
| 
 | ||||
| void VideoFrameWidget::set_sizing_mode(VideoSizingMode value) | ||||
| { | ||||
|     if (value == m_sizing_mode) | ||||
|         return; | ||||
|     m_sizing_mode = value; | ||||
| 
 | ||||
|     update(); | ||||
| } | ||||
| 
 | ||||
| void VideoFrameWidget::set_auto_resize(bool value) | ||||
| { | ||||
|     m_auto_resize = value; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 timre13
						timre13