/trunk/ColoredTooltips
## Interface: 60000 |
## Title: Colored Tooltips |
## Notes: Sets tooltip background colors based on targeted unit |
## Version: 1.2.9 |
## Version: 1.3.0 |
## Author: Kharthus |
## SavedVariables: ColoredTooltips_Config |
ColoredTooltips.xml |
if ( value.ColoredTooltipsVar ) then |
if ( ColoredTooltips_Config[value.ColoredTooltipsVar] == 1 ) then |
checked = 1; |
checked = true; |
else |
checked = 0; |
checked = false; |
end |
else |
checked = 0; |
checked = false; |
end |
button:SetChecked(checked); |
string:SetText(value.text); |