mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:12:44 +00:00 
			
		
		
		
	LibGUI: Convert GFrame to ObjectPtr
This commit is contained in:
		
							parent
							
								
									7b5342b2e3
								
							
						
					
					
						commit
						55a6e4ac0b
					
				
					 7 changed files with 21 additions and 17 deletions
				
			
		|  | @ -6,7 +6,6 @@ | |||
| class GFrame : public GWidget { | ||||
|     C_OBJECT(GFrame) | ||||
| public: | ||||
|     explicit GFrame(GWidget* parent = nullptr); | ||||
|     virtual ~GFrame() override; | ||||
| 
 | ||||
|     int frame_thickness() const { return m_thickness; } | ||||
|  | @ -22,6 +21,7 @@ public: | |||
|     Rect frame_inner_rect() const { return frame_inner_rect_for_size(size()); } | ||||
| 
 | ||||
| protected: | ||||
|     explicit GFrame(GWidget* parent = nullptr); | ||||
|     void paint_event(GPaintEvent&) override; | ||||
| 
 | ||||
| private: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling