mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 02:10:05 +00:00 
			
		
		
		
	Use floating point pixels for modulate color to allow lightening
This commit is contained in:
		
							parent
							
								
									9c8d851cf3
								
							
						
					
					
						commit
						87d2f84bde
					
				
					 4 changed files with 60 additions and 24 deletions
				
			
		|  | @ -128,6 +128,15 @@ public: | |||
|    static void SetIconModulate(const std::shared_ptr<IconDrawItem>& di, | ||||
|                                boost::gil::rgba8_pixel_t            modulate); | ||||
| 
 | ||||
|    /**
 | ||||
|     * Sets the modulate color of an icon. | ||||
|     * | ||||
|     * @param [in] di Icon draw item | ||||
|     * @param [in] modulate Modulate color | ||||
|     */ | ||||
|    static void SetIconModulate(const std::shared_ptr<IconDrawItem>& di, | ||||
|                                boost::gil::rgba32f_pixel_t          modulate); | ||||
| 
 | ||||
|    /**
 | ||||
|     * Sets the hover text of an icon. | ||||
|     * | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat