mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 03:40:05 +00:00 
			
		
		
		
	Moving isActive from radar product view to map settings
This commit is contained in:
		
							parent
							
								
									f7f86ec24a
								
							
						
					
					
						commit
						b78011a2d3
					
				
					 7 changed files with 35 additions and 30 deletions
				
			
		|  | @ -1,6 +1,7 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #include <scwx/qt/gl/gl.hpp> | ||||
| #include <scwx/qt/map/map_settings.hpp> | ||||
| #include <scwx/qt/view/radar_product_view.hpp> | ||||
| 
 | ||||
| namespace scwx | ||||
|  | @ -14,7 +15,7 @@ struct MapContext | |||
| { | ||||
|    explicit MapContext( | ||||
|       std::shared_ptr<view::RadarProductView> radarProductView = nullptr) : | ||||
|        gl_ {}, radarProductView_ {radarProductView} | ||||
|        gl_ {}, settings_ {}, radarProductView_ {radarProductView} | ||||
|    { | ||||
|    } | ||||
|    ~MapContext() = default; | ||||
|  | @ -26,6 +27,7 @@ struct MapContext | |||
|    MapContext& operator=(MapContext&&) noexcept = default; | ||||
| 
 | ||||
|    gl::OpenGLFunctions                     gl_; | ||||
|    MapSettings                             settings_; | ||||
|    std::shared_ptr<view::RadarProductView> radarProductView_; | ||||
| }; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat