WoWInterface SVN oUF_Sliker

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /branches/kui_layout
    from Rev 148 to Rev 152
    Reverse comparison

Rev 148 → Rev 152

config.lua
88,8 → 88,8
raid = {
-- raid
w = 74,
h = 30,
hb = 25,
h = 25,
hb = 20,
pb = 2
},
mini = {
lib/KuiSpellList/KuiSpellList.lua New file
0,0 → 1,198
local MAJOR, MINOR = 'KuiSpellList-1.0', 1
local KuiSpellList = LibStub:NewLibrary(MAJOR, MINOR)
 
if not KuiSpellList then
-- already registered
return
end
 
local whitelist = {
--[[ Important spells ----------------------------------------------------------
Target buffs or debuffs which the player needs to keep track of ]]
DRUID = { -- 4.2
[6795] = true, -- growl
},
HUNTER = { -- 4.0.3
 
},
MAGE = {
 
},
DEATHKNIGHT = { -- 5.0.4 BLOOD
[55095] = true, -- frost fever
[55078] = true, -- blood plague
 
[56222] = true, -- dark command
},
WARRIOR = { -- 5.0.4
[86346] = true, -- colossus smash
[113746] = true, -- weakened armour
 
[355] = true, -- taunt
[676] = true, -- disarm
[1160] = true, -- demoralizing shout
[1715] = true, -- hamstring
[5246] = true, -- intimidating shout
[18498] = true, -- gag order
[64382] = true, -- shattering throw
 
[3411] = true, -- intervene
 
-- talents
[12323] = true, -- piercing howl
[107566] = true, -- staggering shout
[132168] = true, -- shockwave debuff
[114029] = true, -- safeguard
[114030] = true, -- vigilance
[113344] = true, -- bloodbath debuff
[132169] = true, -- storm bolt debuff
 
-- TODO weakened blows, pretty much all tanks
},
PALADIN = { -- 5.0.4 HOLY
[114163] = true, -- eternal flame
[53563] = { colour = {1,.5,0} }, -- beacon of light
[20925] = { colour = {1,1,.3} }, -- sacred shield
 
[19740] = { colour = {.2,.2,1} }, -- blessing of might
[20217] = { colour = {1,.3,.3} }, -- blessing of kings
 
[114165] = true, -- holy prism
[114916] = true, -- execution sentence dot
[114917] = true, -- stay of execution hot
 
-- hand of...
[114039] = true, -- purity
[6940] = true, -- sacrifice
[1044] = true, -- freedom
[1038] = true, -- salvation
[1022] = true, -- protection
 
[2812] = true, -- denounce
[10326] = true, -- turn evil
[20066] = true, -- repentance
[62124] = true, -- reckoning
[105593] = true, -- fist of justice
},
WARLOCK = { -- 5.0.4
[5697] = true, -- unending breath
[20707] = true, -- soulstone
[109773] = true, -- dark intent
 
[172] = true, -- corruption
[348] = true, -- immolate
[980] = true, -- agony
[27243] = true, -- seed of corruption
[30108] = true, -- unstable affliction
[47960] = true, -- shadowflame
[48181] = true, -- haunt
[80240] = true, -- havoc
 
[1490] = true, -- curse of the elements
[18223] = true, -- curse of exhaustion
[109466] = true, -- curse of enfeeblement
 
[710] = true, -- banish
[1098] = true, -- enslave demon
[5782] = true, -- fear
[17962] = true, -- conflagrate slow
 
-- metamorphosis:
[603] = true, -- doom
[124915] = true, -- chaos wave
[116202] = true, -- aura of the elements
[116198] = true, -- aura of enfeeblement
 
-- talents:
[5484] = true, -- howl of terror
[30283] = true, -- shadowfury
[111397] = true, -- blood fear
[108505] = true, -- archimonde's vengeance
},
SHAMAN = { -- 5.0.1 INCOMPLETE
[8042] = true, -- earth shock
[8050] = true, -- flame shock
[8056] = true, -- frost shock
[17364] = true, -- stormstrike
[51490] = true, -- thunderstorm
[61882] = true, -- earthquake
 
[974] = true, -- earth shield
[61295] = true, -- riptide
 
[51514] = true, -- hex
[76780] = true, -- bind elemental
 
[63685] = true, -- frozen power freeze
},
PRIEST = { -- 5.0.4
[139] = true, -- renew
[6346] = true, -- fear ward
[33206] = true, -- pain suppression
[41635] = true, -- prayer of mending buff
[47788] = true, -- guardian spirit
[114908] = true, -- spirit shell shield
 
[17] = true, -- power word: shield
[21562] = true, -- power word: fortitude
 
[2096] = true, -- mind vision
[8122] = true, -- psychic scream
[9484] = true, -- shackle undead
[15487] = true, -- silence
[64044] = true, -- psychic horror
[111759] = true, -- levitate
 
[589] = true, -- shadow word: pain
[2944] = true, -- devouring plague
[14914] = true, -- holy fire
[34914] = true, -- vampiric touch
 
-- talents:
[108920] = true, -- void tendrils
[605] = true, -- dominate mind
},
ROGUE = { -- 4.0.6
 
},
MONK = {
[116189] = true, -- provoke taunt
[116330] = true, -- dizzying haze debuff
[123727] = true, -- keg smash - dizzying haze debuff
[123725] = true, -- breath of fire
[120086] = true, -- fists of fury stun
[122470] = true, -- touch of karma
[130320] = true, -- rising sun kick debuff
 
[116781] = true, -- legacy of the white tiger
[117666] = true, -- legacy of the emperor buff
 
[116849] = true, -- life cocoon
[132120] = true, -- enveloping mist
[119611] = true, -- renewing mist
 
[117368] = true, -- grapple weapon
[116095] = true, -- disable
[115078] = true, -- paralysis
 
-- talents:
[116841] = true, -- tiger's lust
[124081] = true, -- zen sphere
[119392] = true, -- charging ox wave
[119381] = true, -- leg sweep
 
},
-- Important auras regardless of caster (cc, flags...) -------------------------
--[[
Global = {
-- PVP -----------------------------------------------------------------
[34976] = true, -- Netherstorm Flag
[23335] = true, -- Alliance Flag
[23333] = true, -- Horde Flag
},
]]
}
 
KuiSpellList.GetImportantSpells = function(class)
return whitelist[class]
end
\ No newline at end of file
lib/Kui/main.lua
1,4 → 1,4
local MAJOR, MINOR = 'Kui-1.0', 2
local MAJOR, MINOR = 'Kui-1.0', 3
local kui = LibStub:NewLibrary(MAJOR, MINOR)
 
if not kui then
11,7 → 11,6
kui.m = {
t = {
-- borders
square = media .. 't\\simpleSquare',
shadow = media .. 't\\shadowBorder',
rounded = media .. 't\\solidRoundedBorder',
 
core.lua
61,17 → 61,17
point = 'TOPLEFT',
frame = 'oUF_player',
relativePoint = 'BOTTOMRIGHT',
x = 4,
y = -130,
x = -295,
y = -57,
unitAnchorPoint = 'LEFT',
columnAnchorPoint = 'TOP',
yOffset = 0,
xOffset = 2,
yOffset = -9,
xOffset = -9,
unitsPerColumn = 5,
columnSpacing = 2,
columnSpacing = -9,
maxColumns = 8,
width = 74,
height = 25,
height = 20,
hb = 20,
pb = 2
},
elements/BarFader.lua
88,11 → 88,12
timeToFade = duration
}
 
--[[if self.ClassBars and self.ClassBars.container then
-- for kui layout: also fade classbars and power
if self.ClassBars and self.ClassBars.container then
kui.frameFade(self.ClassBars.container, fadeObject)
end
 
kui.frameFade(self.Power, fadeObject)]]
kui.frameFade(self.Power, fadeObject)
end
end
end
layout.lua
518,7 → 518,7
 
if unit == 'player' then
b:SetPoint('CENTER', UIParent,
ceil(b.Icon and -((s.h+3)/2) or 0), profile.ypos+25)
ceil(b.Icon and -((s.h+3)/2) or 0), profile.ypos+28)
elseif unit == 'target' then
anchor = 'RIGHT'
 
1016,7 → 1016,7
'unitsPerColumn', 2,
'columnAnchorPoint', 'BOTTOM'
}
point = { "BOTTOMLEFT", self.player, "TOPLEFT", 5, 7 }
point = { "BOTTOMLEFT", self.player, "TOPLEFT", 5, 1 }
else
-- DPS mode
unshared = {
1028,8 → 1028,8
point = { "TOPLEFT", UIParent, "TOPLEFT", 5, -5 }
end
 
--self.party = oUF:SpawnHeader("oUF_Party", nil, 'party'
self.party = oUF:SpawnHeader("oUF_Party", nil, "solo,party,raid", 'showSolo', true, 'showPlayer', true
self.party = oUF:SpawnHeader("oUF_Party", nil, 'party'
--self.party = oUF:SpawnHeader("oUF_Party", nil, "solo,party,raid", 'showSolo', true, 'showPlayer', true
,'showParty', true
,'xOffset', -9
,'columnSpacing', -9
. Property changes : Modified: svn:ignore - UNUSED + MoP NEW_STYLE.txt TODO.txt