mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 06:52:45 +00:00 
			
		
		
		
	LibGUI: Put all classes in the GUI namespace and remove the leading G
This took me a moment. Welcome to the new world of GUI::Widget! :^)
This commit is contained in:
		
							parent
							
								
									2d39da5405
								
							
						
					
					
						commit
						c5bd9d4ed1
					
				
					 337 changed files with 5400 additions and 4816 deletions
				
			
		|  | @ -27,14 +27,14 @@ | |||
| #include "VBProperty.h" | ||||
| #include "VBWidget.h" | ||||
| 
 | ||||
| VBProperty::VBProperty(VBWidget& widget, const String& name, const GVariant& value) | ||||
| VBProperty::VBProperty(VBWidget& widget, const String& name, const GUI::Variant& value) | ||||
|     : m_widget(widget) | ||||
|     , m_name(name) | ||||
|     , m_value(value) | ||||
| { | ||||
| } | ||||
| 
 | ||||
| VBProperty::VBProperty(VBWidget& widget, const String& name, Function<GVariant(const GWidget&)>&& getter, Function<void(GWidget&, const GVariant&)>&& setter) | ||||
| VBProperty::VBProperty(VBWidget& widget, const String& name, Function<GUI::Variant(const GUI::Widget&)>&& getter, Function<void(GUI::Widget&, const GUI::Variant&)>&& setter) | ||||
|     : m_widget(widget) | ||||
|     , m_name(name) | ||||
|     , m_getter(move(getter)) | ||||
|  | @ -48,7 +48,7 @@ VBProperty::~VBProperty() | |||
| { | ||||
| } | ||||
| 
 | ||||
| void VBProperty::set_value(const GVariant& value) | ||||
| void VBProperty::set_value(const GUI::Variant& value) | ||||
| { | ||||
|     if (m_value == value) | ||||
|         return; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling