mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 06:20:06 +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
				
			
		|  | @ -62,6 +62,7 @@ Supercell Wx uses assets from the following sources: | ||||||
| | ------ | ------- | ----- | | | ------ | ------- | ----- | | ||||||
| | Alte DIN 1451 Mittelschrift | SIL Open Font License | | | Alte DIN 1451 Mittelschrift | SIL Open Font License | | ||||||
| | [EAS Attention Signal](https://en.wikipedia.org/wiki/File:Emergency_Alert_System_Attention_Signal_20s.ogg) | Public Domain | | | [EAS Attention Signal](https://en.wikipedia.org/wiki/File:Emergency_Alert_System_Attention_Signal_20s.ogg) | Public Domain | | ||||||
|  | | [Flaticon](https://www.flaticon.com/) | [Flaticon License](https://www.freepikcompany.com/legal#nav-flaticon-agreement) | [Details](scwx-qt/res/icons/flaticon/README.md) | | ||||||
| | [Font Awesome Free](https://fontawesome.com/) | CC BY 4.0 License | | | [Font Awesome Free](https://fontawesome.com/) | CC BY 4.0 License | | ||||||
| | [Inconsolata](https://fonts.google.com/specimen/Inconsolata) | SIL Open Font License | | | [Inconsolata](https://fonts.google.com/specimen/Inconsolata) | SIL Open Font License | | ||||||
| | [NOAA's Weather and Climate Toolkit](https://www.ncdc.noaa.gov/wct/) | Public Domain | Default Color Tables | | | [NOAA's Weather and Climate Toolkit](https://www.ncdc.noaa.gov/wct/) | Public Domain | Default Color Tables | | ||||||
|  |  | ||||||
							
								
								
									
										7
									
								
								scwx-qt/res/icons/flaticon/README.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								scwx-qt/res/icons/flaticon/README.md
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,7 @@ | ||||||
|  | Flaticon Acknowledgements | ||||||
|  | ========================= | ||||||
|  | 
 | ||||||
|  | Supercell Wx uses the following Flaticon assets: | ||||||
|  | 
 | ||||||
|  | - <a href="https://www.flaticon.com/free-icons/compass" title="compass icons">Compass icons created by Dimitry Miroliubov - Flaticon</a> | ||||||
|  | - <a href="https://www.flaticon.com/free-icons/compass" title="compass icons">Compass icons created by Slidicon - Flaticon</a> | ||||||
							
								
								
									
										
											BIN
										
									
								
								scwx-qt/res/icons/flaticon/cardinal-point-24.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								scwx-qt/res/icons/flaticon/cardinal-point-24.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 623 B | 
							
								
								
									
										
											BIN
										
									
								
								scwx-qt/res/icons/flaticon/compass-24.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								scwx-qt/res/icons/flaticon/compass-24.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1.5 KiB | 
|  | @ -21,6 +21,8 @@ | ||||||
|         <file>res/icons/scwx-64.png</file> |         <file>res/icons/scwx-64.png</file> | ||||||
|         <file>res/icons/scwx-256.ico</file> |         <file>res/icons/scwx-256.ico</file> | ||||||
|         <file>res/icons/scwx-256.png</file> |         <file>res/icons/scwx-256.png</file> | ||||||
|  |         <file>res/icons/flaticon/cardinal-point-24.png</file> | ||||||
|  |         <file>res/icons/flaticon/compass-24.png</file> | ||||||
|         <file>res/icons/font-awesome-6/angle-down-solid.svg</file> |         <file>res/icons/font-awesome-6/angle-down-solid.svg</file> | ||||||
|         <file>res/icons/font-awesome-6/angle-left-solid.svg</file> |         <file>res/icons/font-awesome-6/angle-left-solid.svg</file> | ||||||
|         <file>res/icons/font-awesome-6/angle-right-solid.svg</file> |         <file>res/icons/font-awesome-6/angle-right-solid.svg</file> | ||||||
|  |  | ||||||
|  | @ -16,6 +16,10 @@ struct TextureInfo | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| static const std::unordered_map<ImageTexture, TextureInfo> imageTextureInfo_ { | 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, |    {ImageTexture::Crosshairs24, | ||||||
|     {"images/crosshairs-24", ":/res/textures/images/crosshairs-24.png"}}}; |     {"images/crosshairs-24", ":/res/textures/images/crosshairs-24.png"}}}; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -13,10 +13,12 @@ namespace types | ||||||
| 
 | 
 | ||||||
| enum class ImageTexture | enum class ImageTexture | ||||||
| { | { | ||||||
|  |    CardinalPoint24, | ||||||
|  |    Compass24, | ||||||
|    Crosshairs24 |    Crosshairs24 | ||||||
| }; | }; | ||||||
| typedef scwx::util::Iterator<ImageTexture, | typedef scwx::util::Iterator<ImageTexture, | ||||||
|                              ImageTexture::Crosshairs24, |                              ImageTexture::CardinalPoint24, | ||||||
|                              ImageTexture::Crosshairs24> |                              ImageTexture::Crosshairs24> | ||||||
|    ImageTextureIterator; |    ImageTextureIterator; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat