mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
GP-1981 - Checkpoint - Function Call Graph
This commit is contained in:
parent
16e32317f0
commit
60b1ae8b44
15 changed files with 276 additions and 41 deletions
|
@ -191,6 +191,17 @@ public class ColorUtils {
|
|||
return color;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a new color that is comprised of the given color's rgb value and the given alpha
|
||||
* value.
|
||||
* @param c the color
|
||||
* @param alpha the alpha
|
||||
* @return the new color
|
||||
*/
|
||||
public static Color withAlpha(Color c, int alpha) {
|
||||
return new Color(c.getRed(), c.getGreen(), c.getBlue(), alpha);
|
||||
}
|
||||
|
||||
/**
|
||||
* Blender of colors
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue