mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 04:20:05 +00:00 
			
		
		
		
	Adding map context to simplify parameter passing
This commit is contained in:
		
							parent
							
								
									afb174a8fe
								
							
						
					
					
						commit
						f7f86ec24a
					
				
					 12 changed files with 140 additions and 124 deletions
				
			
		|  | @ -1,8 +1,6 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #include <scwx/qt/gl/gl.hpp> | ||||
| #include <scwx/qt/map/generic_layer.hpp> | ||||
| #include <scwx/qt/view/radar_product_view.hpp> | ||||
| 
 | ||||
| namespace scwx | ||||
| { | ||||
|  | @ -16,9 +14,7 @@ class OverlayLayerImpl; | |||
| class OverlayLayer : public GenericLayer | ||||
| { | ||||
| public: | ||||
|    explicit OverlayLayer( | ||||
|       std::shared_ptr<view::RadarProductView> radarProductView, | ||||
|       gl::OpenGLFunctions&                    gl); | ||||
|    explicit OverlayLayer(std::shared_ptr<MapContext> context); | ||||
|    ~OverlayLayer(); | ||||
| 
 | ||||
|    void Initialize() override final; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat