mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 04:50:06 +00:00 
			
		
		
		
	Added location marker icon support to marker_types and marker_manager
This commit is contained in:
		
							parent
							
								
									7ed89fdd5d
								
							
						
					
					
						commit
						6da34fc151
					
				
					 3 changed files with 67 additions and 14 deletions
				
			
		|  | @ -7,6 +7,8 @@ | |||
| #include <scwx/qt/ui/open_url_dialog.hpp> | ||||
| #include <scwx/util/logger.hpp> | ||||
| 
 | ||||
| #include <scwx/qt/util/color.hpp> | ||||
| 
 | ||||
| #include <QSortFilterProxyModel> | ||||
| 
 | ||||
| namespace scwx | ||||
|  | @ -63,7 +65,12 @@ void MarkerSettingsWidgetImpl::ConnectSignals() | |||
|                     self_, | ||||
|                     [this]() | ||||
|                     { | ||||
|                        markerManager_->add_marker(types::MarkerInfo("", 0, 0)); | ||||
|                        markerManager_->add_marker(types::MarkerInfo( | ||||
|                           "", | ||||
|                           0, | ||||
|                           0, | ||||
|                           types::getMarkerIcons()[0].name, | ||||
|                           util::color::ToRgba8PixelT("#ffff0000"))); | ||||
|                     }); | ||||
|    QObject::connect( | ||||
|       self_->ui->removeButton, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak