mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 05:20:06 +00:00 
			
		
		
		
	Inital code for per map layer ImGui contexts
This commit is contained in:
		
							parent
							
								
									e641c0b0e5
								
							
						
					
					
						commit
						6d107f6c2d
					
				
					 7 changed files with 153 additions and 15 deletions
				
			
		|  | @ -36,6 +36,8 @@ public: | |||
| 
 | ||||
|    std::shared_ptr<view::OverlayProductView> overlayProductView_ {nullptr}; | ||||
|    std::shared_ptr<view::RadarProductView>   radarProductView_; | ||||
| 
 | ||||
|    QWidget* widget_; | ||||
| }; | ||||
| 
 | ||||
| MapContext::MapContext( | ||||
|  | @ -109,6 +111,19 @@ int16_t MapContext::radar_product_code() const | |||
|    return p->radarProductCode_; | ||||
| } | ||||
| 
 | ||||
| <<<<<<< HEAD | ||||
| ======= | ||||
| QMapLibre::CustomLayerRenderParameters MapContext::render_parameters() const | ||||
| { | ||||
|    return p->renderParameters_; | ||||
| } | ||||
| 
 | ||||
| QWidget* MapContext::widget() const | ||||
| { | ||||
|    return p->widget_; | ||||
| } | ||||
| 
 | ||||
| >>>>>>> 513a41d3 (Inital code for per map layer ImGui contexts) | ||||
| void MapContext::set_map(const std::shared_ptr<QMapLibre::Map>& map) | ||||
| { | ||||
|    p->map_ = map; | ||||
|  | @ -167,6 +182,11 @@ void MapContext::set_radar_product_code(int16_t radarProductCode) | |||
|    p->radarProductCode_ = radarProductCode; | ||||
| } | ||||
| 
 | ||||
| void MapContext::set_widget(QWidget* widget) | ||||
| { | ||||
|    p->widget_ = widget; | ||||
| } | ||||
| 
 | ||||
| } // namespace map
 | ||||
| } // namespace qt
 | ||||
| } // namespace scwx
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak