mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:22:43 +00:00 
			
		
		
		
	 1c0669f010
			
		
	
	
		1c0669f010
		
	
	
	
	
		
			
			Instead of LibGUI and WindowServer building their own copies of the drawing and graphics code, let's it in a separate LibDraw library. This avoids building the code twice, and will encourage better separation of concerns. :^)
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			200 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			200 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include <LibDraw/Painter.h>
 | |
| 
 | |
| class GWidget;
 | |
| class GraphicsBitmap;
 | |
| 
 | |
| class GPainter : public Painter {
 | |
| public:
 | |
|     explicit GPainter(GWidget&);
 | |
|     explicit GPainter(GraphicsBitmap&);
 | |
| };
 |