mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 20:22:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			366 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			366 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include <LibGUI/GDialog.h>
 | |
| 
 | |
| class GFrame;
 | |
| 
 | |
| class ColorDialog final : public GDialog {
 | |
|     C_OBJECT(ColorDialog)
 | |
| public:
 | |
|     virtual ~ColorDialog() override;
 | |
| 
 | |
|     Color color() const { return m_color; }
 | |
| 
 | |
| private:
 | |
|     explicit ColorDialog(Color, CObject* parent = nullptr);
 | |
| 
 | |
|     void build();
 | |
| 
 | |
|     Color m_color;
 | |
|     RefPtr<GFrame> m_preview_widget;
 | |
| };
 | 
