mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:22:45 +00:00 
			
		
		
		
	LibGUI: Remove some hand-rolled type information from Widget
This commit is contained in:
		
							parent
							
								
									167906d02b
								
							
						
					
					
						commit
						32fd59b471
					
				
					 3 changed files with 0 additions and 7 deletions
				
			
		|  | @ -73,8 +73,6 @@ protected: | ||||||
|     void paint_text(Painter&, const Gfx::IntRect&, const Gfx::Font&, Gfx::TextAlignment); |     void paint_text(Painter&, const Gfx::IntRect&, const Gfx::Font&, Gfx::TextAlignment); | ||||||
| 
 | 
 | ||||||
| private: | private: | ||||||
|     virtual bool is_abstract_button() const final { return true; } |  | ||||||
| 
 |  | ||||||
|     String m_text; |     String m_text; | ||||||
|     bool m_checked { false }; |     bool m_checked { false }; | ||||||
|     bool m_checkable { false }; |     bool m_checkable { false }; | ||||||
|  |  | ||||||
|  | @ -47,8 +47,6 @@ private: | ||||||
|     using AbstractButton::auto_repeat_interval; |     using AbstractButton::auto_repeat_interval; | ||||||
|     using AbstractButton::set_auto_repeat_interval; |     using AbstractButton::set_auto_repeat_interval; | ||||||
| 
 | 
 | ||||||
|     virtual bool is_radio_button() const final { return true; } |  | ||||||
| 
 |  | ||||||
|     static Gfx::IntSize circle_size(); |     static Gfx::IntSize circle_size(); | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -282,9 +282,6 @@ public: | ||||||
| 
 | 
 | ||||||
|     Vector<Widget*> child_widgets() const; |     Vector<Widget*> child_widgets() const; | ||||||
| 
 | 
 | ||||||
|     virtual bool is_radio_button() const { return false; } |  | ||||||
|     virtual bool is_abstract_button() const { return false; } |  | ||||||
| 
 |  | ||||||
|     void do_layout(); |     void do_layout(); | ||||||
| 
 | 
 | ||||||
|     Gfx::Palette palette() const; |     Gfx::Palette palette() const; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling