/
<Script file="globals.lua"/> |
<Script file="KHunterTimers.lua"/> |
<Button name="KHunterTimersFrameTabTemplate" inherits="PanelTabButtonTemplate" virtual="true"> |
<Button name="KHunterTimersFrameTabTemplate" inherits="CharacterFrameTabButtonTemplate" virtual="true"> |
<Scripts> |
<OnClick> |
KHunterTimersTab_OnClick(self); |
</OnUpdate> |
</Scripts> |
</Frame> |
<CheckButton name="KHT1CheckBoxTemplate" inherits="UICheckButtonTemplate" virtual="true"> |
<CheckButton name="KHT1CheckBoxTemplate" inherits="OptionsCheckButtonTemplate" virtual="true"> |
<Size> |
<AbsDimension x="32" y="32" /> |
</Size> |
</OnClick> |
</Scripts> |
</CheckButton> |
<CheckButton name="KHT2CheckBoxTemplate" inherits="UICheckButtonTemplate" virtual="true"> |
<CheckButton name="KHT2CheckBoxTemplate" inherits="OptionsCheckButtonTemplate" virtual="true"> |
<Size> |
<AbsDimension x="32" y="32" /> |
</Size> |
</OnClick> |
</Scripts> |
</CheckButton> |
<CheckButton name="KHT3CheckBoxTemplate" inherits="UICheckButtonTemplate" virtual="true"> |
<CheckButton name="KHT3CheckBoxTemplate" inherits="OptionsCheckButtonTemplate" virtual="true"> |
<Size> |
<AbsDimension x="32" y="32" /> |
</Size> |
</OnClick> |
</Scripts> |
</CheckButton> |
<CheckButton name="KHT4CheckBoxTemplate" inherits="UICheckButtonTemplate" virtual="true"> |
<CheckButton name="KHT4CheckBoxTemplate" inherits="OptionsCheckButtonTemplate" virtual="true"> |
<Size> |
<AbsDimension x="32" y="32" /> |
</Size> |
</OnClick> |
</Scripts> |
</CheckButton> |
<CheckButton name="KHT5CheckBoxTemplate" inherits="UICheckButtonTemplate" virtual="true"> |
<CheckButton name="KHT5CheckBoxTemplate" inherits="OptionsCheckButtonTemplate" virtual="true"> |
<Size> |
<AbsDimension x="32" y="32" /> |
</Size> |
</OnClick> |
</Scripts> |
</CheckButton> |
<CheckButton name="KHT6CheckBoxTemplate" inherits="UICheckButtonTemplate" virtual="true"> |
<CheckButton name="KHT6CheckBoxTemplate" inherits="OptionsCheckButtonTemplate" virtual="true"> |
<Size> |
<AbsDimension x="32" y="32" /> |
</Size> |
</FontHeight> |
</ButtonText> |
<NormalFont name="$parentText" inherits="GameFontNormal"> |
<FontHeight> |
<AbsValue val="12" /> |
</FontHeight> |
<Color r="1" g="0.8196079" b="0" /> |
<Shadow> |
<Color r="0" g="0" b="0" /> |
<Offset> |
<AbsDimension x="1" y="-1" /> |
</Offset> |
</Shadow> |
</NormalFont> |
<HighlightFont inherits="GameFontNormal"> |
<FontHeight> |
<AbsValue val="12" /> |
</FontHeight> |
<Color r="1" g="1" b="1" /> |
<Shadow> |
<Color r="0" g="0" b="0" /> |
<Offset> |
<AbsDimension x="1" y="-1" /> |
</Offset> |
</Shadow> |
</HighlightFont> |
<DisabledFont inherits="GameFontNormal"> |
<FontHeight> |
<AbsValue val="12" /> |
</FontHeight> |
<Color r="0.4901961" g="0.4901961" b="0.4901961" /> |
<Shadow> |
<Color r="0" g="0" b="0" /> |
<Offset> |
<AbsDimension x="1" y="-1" /> |
</Offset> |
</Shadow> |
</DisabledFont> |
<PushedTextOffset x="0" y="0" /> |
</Button> |
</FontHeight> |
</ButtonText> |
<NormalFont name="$parentText" inherits="GameFontNormal"> |
<FontHeight> |
<AbsValue val="12" /> |
</FontHeight> |
<Color r="1" g="0.8196079" b="0" /> |
<Shadow> |
<Color r="0" g="0" b="0" /> |
<Offset> |
<AbsDimension x="1" y="-1" /> |
</Offset> |
</Shadow> |
</NormalFont> |
<HighlightFont inherits="GameFontNormal"> |
<FontHeight> |
<AbsValue val="12" /> |
</FontHeight> |
<Color r="1" g="1" b="1" /> |
<Shadow> |
<Color r="0" g="0" b="0" /> |
<Offset> |
<AbsDimension x="1" y="-1" /> |
</Offset> |
</Shadow> |
</HighlightFont> |
<DisabledFont inherits="GameFontNormal"> |
<FontHeight> |
<AbsValue val="12" /> |
</FontHeight> |
<Color r="0.4901961" g="0.4901961" b="0.4901961" /> |
<Shadow> |
<Color r="0" g="0" b="0" /> |
<Offset> |
<AbsDimension x="1" y="-1" /> |
</Offset> |
</Shadow> |
</DisabledFont> |
<PushedTextOffset x="0" y="0" /> |
</Button> |
</FontHeight> |
</ButtonText> |
<NormalFont name="$parentText" inherits="GameFontNormal"> |
<FontHeight> |
<AbsValue val="12" /> |
</FontHeight> |
<Color r="1" g="0.8196079" b="0" /> |
<Shadow> |
<Color r="0" g="0" b="0" /> |
<Offset> |
<AbsDimension x="1" y="-1" /> |
</Offset> |
</Shadow> |
</NormalFont> |
<HighlightFont inherits="GameFontNormal"> |
<FontHeight> |
<AbsValue val="12" /> |
</FontHeight> |
<Color r="1" g="1" b="1" /> |
<Shadow> |
<Color r="0" g="0" b="0" /> |
<Offset> |
<AbsDimension x="1" y="-1" /> |
</Offset> |
</Shadow> |
</HighlightFont> |
<DisabledFont inherits="GameFontNormal"> |
<FontHeight> |
<AbsValue val="12" /> |
</FontHeight> |
<Color r="0.4901961" g="0.4901961" b="0.4901961" /> |
<Shadow> |
<Color r="0" g="0" b="0" /> |
<Offset> |
<AbsDimension x="1" y="-1" /> |
</Offset> |
</Shadow> |
</DisabledFont> |
<PushedTextOffset x="0" y="0" /> |
</Button> |
barframe.step = KHTvars["step"]; |
elseif( alpha > KHTvars["overallalpha"] ) then |
barframe.step = -KHTvars["step"]; |
alpha = KHTvars["overallalpha"] |
end |
barframe:SetAlpha(alpha); |
end |
function KHT_init() |
if( not KHTvars ) then |
KHTvars = {}; |
KHTvars["bg"] = { r=0, g=0, b=0, a=1 }; |
KHTvars["bg"] = { r=0, g=0, b=0, a=7 }; |
end |
if ( KHTvars["bg"].a > 1 ) then |
KHTvars["bg"].a = 1 |
end |
if( KHTvars[KHT_ON] == nil ) then |
KHTvars[KHT_ON] = true; |
end |
KHTvars["version"] = 3.8; |
KHTvars["bg"] = { r=0, g=0, b=0, a=1 }; |
KHTvars["bg"] = { r=0, g=0, b=0, a=7 }; |
KHTvars[KHT_ON] = true; |
Version History |
v4.5.0 |
- Updates for 10.0.2 patch |
- Mostly functional |
v4.4.7 |
- TOC update for 9.2.5 patch |
v4.4.6 |
## Interface: 100002 |
## Interface: 90205 |
## Title: Kharthus's Hunter Timers |
## Notes: Times hunter buffs/debuffs |
## Version: 4.5.0 |
## Version: 4.4.7 |
## DefaultState: Enabled |
## LoadOnDemand: 0 |
## SavedVariables: KHTvars |