mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-30 17:00:05 +00:00 
			
		
		
		
	Add ability to install event handlers from mouse picking
This commit is contained in:
		
							parent
							
								
									ff882f5c06
								
							
						
					
					
						commit
						b3e035c53d
					
				
					 26 changed files with 222 additions and 76 deletions
				
			
		|  | @ -81,7 +81,8 @@ bool DrawLayer::RunMousePicking( | |||
|    const QPointF&                                  mouseLocalPos, | ||||
|    const QPointF&                                  mouseGlobalPos, | ||||
|    const glm::vec2&                                mouseCoords, | ||||
|    const common::Coordinate&                       mouseGeoCoords) | ||||
|    const common::Coordinate&                       mouseGeoCoords, | ||||
|    std::shared_ptr<types::EventHandler>&           eventHandler) | ||||
| { | ||||
|    bool itemPicked = false; | ||||
| 
 | ||||
|  | @ -93,7 +94,8 @@ bool DrawLayer::RunMousePicking( | |||
|                                  mouseLocalPos, | ||||
|                                  mouseGlobalPos, | ||||
|                                  mouseCoords, | ||||
|                                  mouseGeoCoords)) | ||||
|                                  mouseGeoCoords, | ||||
|                                  eventHandler)) | ||||
|       { | ||||
|          // If a draw item was picked, don't process additional items
 | ||||
|          itemPicked = true; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat