API calc health color
From Vendetta Lua
Jump to navigationJump to search
calc_health_color
Definition:
calc_health_color(float health, int alpha, mode) -> string color
Description:
Create an iup color string corresponding to the given health
Arguments:
health health (0-100)
alpha optional alpha value (0-255)
mode optional premultiply mode "*" or "&"
Returns:
color iup color string. format: "RRR GGG BBB AAA M"