mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:10:04 +00:00 
			
		
		
		
	Allow product code to be retrieved from file instead of always being caller-supplied
This commit is contained in:
		
							parent
							
								
									e911882bb7
								
							
						
					
					
						commit
						0a890f5df8
					
				
					 5 changed files with 47 additions and 33 deletions
				
			
		|  | @ -15,7 +15,12 @@ struct MapContext | |||
| { | ||||
|    explicit MapContext( | ||||
|       std::shared_ptr<view::RadarProductView> radarProductView = nullptr) : | ||||
|        gl_ {}, settings_ {}, radarProductView_ {radarProductView} | ||||
|        gl_ {}, | ||||
|        settings_ {}, | ||||
|        radarProductView_ {radarProductView}, | ||||
|        radarProductGroup_ {common::RadarProductGroup::Unknown}, | ||||
|        radarProduct_ {"???"}, | ||||
|        radarProductCode_ {0} | ||||
|    { | ||||
|    } | ||||
|    ~MapContext() = default; | ||||
|  | @ -29,6 +34,9 @@ struct MapContext | |||
|    gl::OpenGLFunctions                     gl_; | ||||
|    MapSettings                             settings_; | ||||
|    std::shared_ptr<view::RadarProductView> radarProductView_; | ||||
|    common::RadarProductGroup               radarProductGroup_; | ||||
|    std::string                             radarProduct_; | ||||
|    int16_t                                 radarProductCode_; | ||||
| }; | ||||
| 
 | ||||
| } // namespace map
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat