mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 16:40:04 +00:00 
			
		
		
		
	Make default color table transparent to prevent flicker
This commit is contained in:
		
							parent
							
								
									3b7518006b
								
							
						
					
					
						commit
						af77db35a4
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		|  | @ -15,10 +15,11 @@ namespace view | |||
| static const std::string logPrefix_ = "scwx::qt::view::radar_product_view"; | ||||
| static const auto        logger_    = scwx::util::Logger::Create(logPrefix_); | ||||
| 
 | ||||
| // Default color table should be transparent to prevent flicker
 | ||||
| static const std::vector<boost::gil::rgba8_pixel_t> DEFAULT_COLOR_TABLE = { | ||||
|    boost::gil::rgba8_pixel_t(0, 128, 0, 255), | ||||
|    boost::gil::rgba8_pixel_t(255, 192, 0, 255), | ||||
|    boost::gil::rgba8_pixel_t(255, 0, 0, 255)}; | ||||
|    boost::gil::rgba8_pixel_t(0, 128, 0, 0), | ||||
|    boost::gil::rgba8_pixel_t(255, 192, 0, 0), | ||||
|    boost::gil::rgba8_pixel_t(255, 0, 0, 0)}; | ||||
| static const uint16_t DEFAULT_COLOR_TABLE_MIN = 2u; | ||||
| static const uint16_t DEFAULT_COLOR_TABLE_MAX = 255u; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat