# DarkUI References

Records which modules or files reference external addon implementations.
Used for finding original sources when iterating or fixing bugs.

## Map

| File | Reference | Notes |
|------|-----------|-------|
| `Modules/Map/WorldMap.lua` | NDui `Modules/Maps/WorldMap.lua`; ElvUI `Game/Shared/Modules/Maps/Worldmap.lua` | Coords & fog removal from NDui; scale/anchor kept inside the secure panel system (no UIPanelLayout detach, no drag) follows ElvUI to avoid taint |
| `Modules/Map/WorldMapData.lua` | NDui `Modules/Maps/RawMapData.lua` | Fog removal zone texture data |
| `Modules/Map/WorldMapRewardIcon.lua` | BetterWorldQuests (provider/pin/poi/events) | World quest reward icons, POI/event providers |
| `Modules/Map/Minimap.lua` | NDui `Modules/Maps/Minimap.lua` | RecycleBin, icon layout patterns |

## Actionbar

| File | Reference | Notes |
|------|-----------|-------|
| `Modules/Actionbar/Bars.lua` | LibActionButton-1.0 (nevcairiel), ElvUI | Button creation; dynamic bar index pattern |
| `Modules/Actionbar/SetBinding.lua` | ElvUI `Modules/ActionBars/Bind.lua` | Hover key-bind dialog, ignoreKeys table |
| `Modules/Actionbar/StyleRange.lua` | tullaCC | Out of range color check |
| `Modules/Actionbar/StyleCooldown.lua` | tullaCC | Cooldown count display |
| `Modules/Actionbar/BarLeaveVehicle.lua` | ShestakUI, NDui | Leave vehicle button, modern tooltip API |
| `Modules/Actionbar/BarMicroMenu.lua` | ShestakUI, NDui | Micro menu bar layout |
| `Modules/Actionbar/BarPet.lua` | ShestakUI, NDui, ElvUI | Pet action bar, highlight wrapper, AutoCast compat |
| `Modules/Actionbar/BarStance.lua` | ElvUI | Desaturation for unavailable forms |
| `Modules/Actionbar/Actionbar.lua` | ElvUI (Simpy) | `disableDefaultBarEvents` pattern |

## Aura

| File | Reference | Notes |
|------|-----------|-------|
| `Modules/Aura/CoolDownViewer.lua` | Blizzard `CooldownViewer` system | Restyle EssentialCooldownViewer, UtilityCooldownViewer, BuffIcon/BuffBar viewers |

## Combat

| File | Reference | Notes |
|------|-----------|-------|
| `Modules/Combat/DamageMeter/Texture.lua` | HDSkada `HDskada_Texture.lua` | Custom spec-icon atlas (`tex_class_spec`); FileDataID→specID and specID→texcoord tables share HDspec.tga's grid layout |

## Unitframe

| File | Reference | Notes |
|------|-----------|-------|
| `Modules/Unitframe/Core.lua` | NDui `Modules/UFs/Functions.lua`, `Elements/Castbar.lua` | Empower pips, castbar ticks, kick CD color, SetVertexColorFromBoolean |
| `Modules/Unitframe/Class.lua` | Blizzard `Blizzard_UnitFrame/Mainline/ClassPowerBar.lua`, `PlayerFrame.lua` | Reparent PlayerFrameBottomManagedFramesContainer, UNIT_DISPLAYPOWER relay |
| `Modules/Unitframe/Tags.lua` | NDui `Modules/UFs/Tags.lua` | Secret value safe HP/PP tags |
| `Modules/Unitframe/Nameplate.lua` | NDui `Modules/UFs/Nameplates.lua`, ElvUI `Nameplates/Plugins/PVPRole.lua` | Totem data, kick CD, BG healer |
| `Modules/Unitframe/Boss.lua` | NDui `Modules/UFs/Functions.lua`, ShestakUI `Modules/UnitFrames/Layout.lua` | CastBar with tex_bar_border, Buffs/Debuffs split, PrivateAuras |
| `Modules/Unitframe/Focus.lua` | NDui `Modules/UFs/Functions.lua` | CastBar below frame with tex_bar_border |
| `Modules/Unitframe/Raid.lua` | NDui `Modules/UFs/Spawns.lua`, `Functions.lua` | CompactRaidFrame hiding, PrivateAuras, target/threat border via FrameFG vertex color, new oUF HealPrediction (HealingAll/DamageAbsorb) |
| `Modules/Unitframe/RaidDebuffs.lua` | NDui `Libs/oUF/Plugins/RaidDebuffs.lua` | Priority debuff element, boss debuff override, dispel detection |
| `Modules/Unitframe/Player.lua` | ShestakUI, NDui `Modules/UFs/Functions.lua` | Texture-based frame style, AdditionalPower AbbreviateNumbers pattern, PrivateAuras |
| `Modules/Unitframe/Target.lua` | ShestakUI | Texture-based frame style |

## Announcement

| File | Reference | Notes |
|------|-----------|-------|
| `Modules/Announcement/QuestNotification.lua` | NDui `Modules/Announcement/QuestNotifier.lua` | Quest progress/complete party announce |

## Loot

| File | Reference | Notes |
|------|-----------|-------|
| `Modules/Loot/Loot.lua` | ShestakUI `Modules/Loot/Loot.lua` | Custom loot frame with slot styling |
| `Modules/Loot/GroupLoot.lua` | ShestakUI `Modules/Loot/GroupLoot.lua` | Custom group roll frames |

## Tooltip

| File | Reference | Notes |
|------|-----------|-------|
| `Modules/Tooltip/Tooltip.lua` | ShestakUI, NDui `Modules/Tooltip/Core.lua`, ElvUI | Anchor, style, unit/item hooks |

## Blizzard

| File | Reference | Notes |
|------|-----------|-------|
| `Modules/Blizzard/AltPowerBar.lua` | NDui `Modules/UFs/Functions.lua` | Restyle PlayerPowerBarAlt |
| `Modules/Blizzard/MirrorBar.lua` | ShestakUI | Mirror timer bar restyle |
| `Modules/Blizzard/UIWidget.lua` | NDui `Modules/Misc/UIWidgets.lua` | StatusBar/DoubleStatusBar/CaptureBar skin |
| `Modules/Blizzard/TimerTracker.lua` | NDui `Modules/Misc/TimerTracker.lua` | Instance timer bar restyle |

## Misc

| File | Reference | Notes |
|------|-----------|-------|
| `Modules/Misc/RaidUtility.lua` | ElvUI `Modules/Misc/RaidUtility.lua` | Raid control panel (ready check, role poll, markers) |
| `Modules/Misc/SlotItemLevel.lua` | NDui `Modules/Tooltip/ItemLevel.lua` | Character sheet slot ilvl overlay |

## Chat

| File | Reference | Notes |
|------|-----------|-------|
| `Modules/Chat/ChatFrame.lua` | NDui `Modules/Chat/Core.lua`, ShestakUI | Custom chat frame styling, tab hooks, copy |

## Automation

| File | Reference | Notes |
|------|-----------|-------|
| `Modules/Automation/*` | ShestakUI | Auto repair, sell, quest, invite, greed, disenchant, role, release |

## Bags

| File | Reference | Notes |
|------|-----------|-------|
| `Modules/Bags/Core.lua` | NDui `Modules/Inventory/Core.lua` | All-in-one bag frame, filter system |

## Skins

| File | Reference | Notes |
|------|-----------|-------|
| `Skins/Frames/Quest.lua` | NDui `Skins/Blizzard/FrameXML/QuestFrame.lua`, ElvUI `Game/Mainline/Skins/Quest.lua` | QuestFrame portrait, panels, buttons, progress items, NPC model scene, text colors |
| `Skins/Frames/QuestInfo.lua` | NDui `Skins/Blizzard/FrameXML/QuestInfo.lua`, ElvUI `Game/Mainline/Skins/Quest.lua` | Shared quest info: reward buttons, spell/follower/rep pools, objectives, seal text |
| `Skins/Frames/QuestChoice.lua` | ElvUI `Game/Mainline/Skins/QuestChoice.lua` | QuestChoiceFrame option buttons, item/currency icons |

## Core

| File | Reference | Notes |
|------|-----------|-------|
| `Core/API.lua` | NDui `Core/Functions.lua` | SetTemplate, CreateShadow, pixel snap |

## Libs

| File | Reference | Notes |
|------|-----------|-------|
| `Libs/oUF/Plugins/DebuffHighlight.lua` | ShestakUI `Libs/oUF/Modules/DispelColor.lua` | ColorCurve + GetAuraDispelTypeColor, talent-aware dispel detection |
