Skip to content

Commit

Permalink
integrate:
Browse files Browse the repository at this point in the history
- adding seperate mover for player debuffs again.
  • Loading branch information
sinaris committed Sep 14, 2012
1 parent ecced55 commit 606fb37
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions AsphyxiaUI/Core/Functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ local function MoveUI()
AsphyxiaUIUnitframesPlayerCastbarMover,
RaidCD,
MicroAnchormover,
AsphyxiaUIDebuffMover,
}

if( AsphyxiaUIUnitframesPlayerCastbarMover ) then
Expand Down
16 changes: 15 additions & 1 deletion AsphyxiaUI/Modules/Buffs/Buffs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@

local S, C, L, G = unpack( Tukui )

local AsphyxiaUIDebuffMover = CreateFrame( "Frame", "AsphyxiaUIDebuffMover", UIParent )
AsphyxiaUIDebuffMover:Size( 422, 30 )
AsphyxiaUIDebuffMover:SetPoint( "TOPRIGHT", UIParent, -204, -137 )
AsphyxiaUIDebuffMover:SetTemplate( "Default" )
AsphyxiaUIDebuffMover:SetBackdropBorderColor( 1, 0, 0 )
AsphyxiaUIDebuffMover:SetClampedToScreen( true )
AsphyxiaUIDebuffMover:SetMovable( true )
AsphyxiaUIDebuffMover:SetFrameStrata( "LOW" )
AsphyxiaUIDebuffMover:Hide()
AsphyxiaUIDebuffMover:FontString( "Text", unpack( S.FontTemplate.MoverDefault.BuildFont ) )
AsphyxiaUIDebuffMover.Text:SetPoint( "CENTER", AsphyxiaUIDebuffMover, "CENTER", 0, 0 )
AsphyxiaUIDebuffMover.Text:SetText( L.move_debuffs )
tinsert( S.AllowFrameMoving, AsphyxiaUIDebuffMover )

TukuiAurasPlayerBuffs:ClearAllPoints()
TukuiAurasPlayerDebuffs:ClearAllPoints()

Expand All @@ -15,7 +29,7 @@ TukuiAurasPlayerBuffs:SetAttribute( "wrapAfter", 17 )
TukuiAurasPlayerBuffs:SetAttribute( "xOffset", -33 )
TukuiAurasPlayerBuffs:SetAttribute( "wrapYOffset", -67.5 )

TukuiAurasPlayerDebuffs:SetPoint( "TOPRIGHT", UIParent, -204, -137 )
TukuiAurasPlayerDebuffs:SetPoint( "RIGHT", AsphyxiaUIDebuffMover )
TukuiAurasPlayerDebuffs:SetAttribute( "wrapAfter", 17 )
TukuiAurasPlayerDebuffs:SetAttribute( "xOffset", -33 )

Expand Down

0 comments on commit 606fb37

Please sign in to comment.