/trunk
## Interface: 40300 |
## Interface: 50001 |
## Title: CoolLine |
## Notes: Shows cooldowns on a single bar. |
## Author: TotalPackage |
## Version: 4.3.002 |
## Version: 5.0.001 |
## SavedVariables: CoolLineDB |
## SavedVariablesPerCharacter: CoolLineCharDB |
elseif remain < 10 then |
SetupIcon(frame, section * (remain + 11) * 0.14286, remain > 4 and 0.05 or 0.02, true, dofl) -- 2 + (remain - 3) / 7 |
elseif remain < 30 then |
SetupIcon(frame, section * (remain + 50) * 0.05, 0.09, true, dofl) -- 3 + (remain - 10) / 20 |
SetupIcon(frame, section * (remain + 50) * 0.05, 0.06, true, dofl) -- 3 + (remain - 10) / 20 |
elseif remain < 120 then |
SetupIcon(frame, section * (remain + 330) * 0.011111, 0.21, true, dofl) -- 4 + (remain - 30) / 90 |
SetupIcon(frame, section * (remain + 330) * 0.011111, 0.18, true, dofl) -- 4 + (remain - 30) / 90 |
elseif remain < 360 then |
SetupIcon(frame, section * (remain + 1080) * 0.0041667, 1.2, true, dofl) -- 5 + (remain - 120) / 240 |
frame:SetAlpha(1) |
local function CacheBook(btype) |
local name, last |
local sb = spells[btype] |
for i = 1, 500, 1 do |
-- Thanks to infinitumx for this 5.0.4 fix |
local tabName, tabTexture, tabOffset, tabSlots = GetSpellTabInfo(2) |
for i = tabOffset+1, tabSlots+tabOffset do |
name = GetSpellBookItemName(i, btype) |
if not name then break end |
if name ~= last then |
## Interface: 20400 |
## Title: Lib: SharedMedia-3.0 |
## Notes: Shared handling of media data (fonts, sounds, textures, ...) between addons. |
## Version: 3.0 |
## Author: Elkano |
## X-Category: Library |
## LoadOnDemand: 1 |
LibStub\LibStub.lua |
CallbackHandler-1.0\CallbackHandler-1.0.lua |
lib.xml |
## Interface: 50001 |
## LoadOnDemand: 1 |
## X-Curse-Packaged-Version: 7 |
## X-Curse-Project-Name: LibSharedMedia-3.0 |
## X-Curse-Project-ID: libsharedmedia-3-0 |
## X-Curse-Repository-ID: wow/libsharedmedia-3-0/mainline |
## Title: Lib: SharedMedia-3.0 |
## Notes: Shared handling of media data (fonts, sounds, textures, ...) between addons. |
## Author: Elkano |
## Version: 3.0-71 |
## X-Website: http://www.wowace.com/projects/libsharedmedia-3-0/ |
## X-Category: Library |
## X-Revision: 71 |
## X-Date: 2012-08-30T11:03:10Z |
LibStub\LibStub.lua |
CallbackHandler-1.0\CallbackHandler-1.0.lua |
LibSharedMedia-3.0\lib.xml |
<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"> |
<Include file="LibSharedMedia-3.0\lib.xml" /> |
</Ui> |
<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"> |
<Include file="LibSharedMedia-3.0\lib.xml" /> |
</Ui> |