mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:30:05 +00:00 
			
		
		
		
	Add cardinal point and compass icon
This commit is contained in:
		
							parent
							
								
									87d2f84bde
								
							
						
					
					
						commit
						ff882f5c06
					
				
					 7 changed files with 17 additions and 1 deletions
				
			
		|  | @ -16,6 +16,10 @@ struct TextureInfo | |||
| }; | ||||
| 
 | ||||
| static const std::unordered_map<ImageTexture, TextureInfo> imageTextureInfo_ { | ||||
|    {ImageTexture::CardinalPoint24, | ||||
|     {"images/cardinal-point-24", ":/res/icons/flaticon/cardinal-point-24.png"}}, | ||||
|    {ImageTexture::Compass24, | ||||
|     {"images/compass-24", ":/res/icons/flaticon/compass-24.png"}}, | ||||
|    {ImageTexture::Crosshairs24, | ||||
|     {"images/crosshairs-24", ":/res/textures/images/crosshairs-24.png"}}}; | ||||
| 
 | ||||
|  |  | |||
|  | @ -13,10 +13,12 @@ namespace types | |||
| 
 | ||||
| enum class ImageTexture | ||||
| { | ||||
|    CardinalPoint24, | ||||
|    Compass24, | ||||
|    Crosshairs24 | ||||
| }; | ||||
| typedef scwx::util::Iterator<ImageTexture, | ||||
|                              ImageTexture::Crosshairs24, | ||||
|                              ImageTexture::CardinalPoint24, | ||||
|                              ImageTexture::Crosshairs24> | ||||
|    ImageTextureIterator; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat