mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:22:45 +00:00 
			
		
		
		
	 1682f0b760
			
		
	
	
		1682f0b760
		
	
	
	
	
		
			
			SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			570 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			570 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2021, Cesar Torres <shortanemoia@protonmail.com>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include "VisualizationBase.h"
 | |
| #include <LibAudio/Buffer.h>
 | |
| #include <LibGUI/Frame.h>
 | |
| 
 | |
| class NoVisualizationWidget final : public GUI::Frame
 | |
|     , public Visualization {
 | |
|     C_OBJECT(NoVisualizationWidget)
 | |
| 
 | |
| public:
 | |
|     ~NoVisualizationWidget() override;
 | |
|     void set_buffer(RefPtr<Audio::Buffer>) override;
 | |
| 
 | |
| private:
 | |
|     void paint_event(GUI::PaintEvent&) override;
 | |
|     NoVisualizationWidget();
 | |
| 
 | |
|     RefPtr<Gfx::Bitmap> m_serenity_bg;
 | |
| };
 |