mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Merge pull request #8023 from CrazyGuy108/master
List Control::has_point as a virtual method
This commit is contained in:
		
						commit
						3cf4103a89
					
				
					 2 changed files with 10 additions and 0 deletions
				
			
		|  | @ -9810,6 +9810,14 @@ | ||||||
| 			<description> | 			<description> | ||||||
| 			</description> | 			</description> | ||||||
| 		</method> | 		</method> | ||||||
|  | 		<method name="has_point" qualifiers="virtual"> | ||||||
|  | 			<return type="bool"> | ||||||
|  | 			</return> | ||||||
|  | 			<argument index="0" name="point" type="Vector2"> | ||||||
|  | 			</argument> | ||||||
|  | 			<description> | ||||||
|  | 			</description> | ||||||
|  | 		</method> | ||||||
| 		<method name="has_stylebox" qualifiers="const"> | 		<method name="has_stylebox" qualifiers="const"> | ||||||
| 			<return type="bool"> | 			<return type="bool"> | ||||||
| 			</return> | 			</return> | ||||||
|  |  | ||||||
|  | @ -2514,6 +2514,8 @@ void Control::_bind_methods() { | ||||||
| 	ADD_SIGNAL(MethodInfo("size_flags_changed")); | 	ADD_SIGNAL(MethodInfo("size_flags_changed")); | ||||||
| 	ADD_SIGNAL(MethodInfo("minimum_size_changed")); | 	ADD_SIGNAL(MethodInfo("minimum_size_changed")); | ||||||
| 	ADD_SIGNAL(MethodInfo("modal_closed")); | 	ADD_SIGNAL(MethodInfo("modal_closed")); | ||||||
|  | 
 | ||||||
|  | 	BIND_VMETHOD(MethodInfo("has_point", PropertyInfo(Variant::VECTOR2, "point"))); | ||||||
| } | } | ||||||
| Control::Control() { | Control::Control() { | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Rémi Verschelde
						Rémi Verschelde