/trunk
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..\FrameXML\UI.xsd"> |
<!-- Libs --> |
<Include file="Libs\Portfolio\Portfolio.xml"/> |
<Script file="Libs\LibEvent\LibEvent.lua"/> |
<Script file="HealthColor.lua"/> |
<Script file="ClassPortraits.lua"/> |
<Script file="ClassIcons.lua"/> |
<Include file="ClassIcons.xml"/> |
<Script file="HitIndicatorStatus.lua"/> |
<Script file="PortfolioRegistration.lua"/> |
</Ui> |
## Title: Unit Frame Tweaks |
## Notes: Class Icons/Portraits, Health Color, and Hit Indicators. |
## Author: AnduinLothar |
## OptionalDeps: Portfolio |
## OptionalDeps: Portfolio, LibEvent |
## RequiredDeps: Portfolio |
## SavedVariables: UnitFrameTweaks_SavedVars |
## Version: 1.1 |
## Version: 1.2 |
## X-Embeds: Portfolio |
## X-Revision: $Rev: 5127 $ |
## X-Date: $Date: 2007-11-13 18:34:54 -0600 (Tue, 13 Nov 2007) $ |
## X-Feedback: http://www.cosmosui.org/forums/ |
## X-Localizations: enUS |
## X-CompatibleLocales: enUS, enGB |
UnitFrameTweaks.xml |
Loader.xml |
-- Events |
if (not UnitFrameTweaks.events) then |
UnitFrameTweaks.events = {} |
end |
UnitFrameTweaks.events = {} |
function UnitFrameTweaks.events.PARTY_MEMBERS_CHANGED() |
UnitFrameTweaks.UpdatePartyClassIcons() |
function UnitFrameTweaks.events.PLAYER_TARGET_CHANGED() |
UnitFrameTweaks.UpdateTargetClassIcon() |
end |
LibStub("LibEvent"):RegisterEvents(UnitFrameTweaks.events) |