Skip to content

Commit

Permalink
update:
Browse files Browse the repository at this point in the history
- C["unitframes"]["showstatuebar"] is now a seperate option
  • Loading branch information
sinaris committed Sep 17, 2012
1 parent a7d9f74 commit 0c9492a
Show file tree
Hide file tree
Showing 5 changed files with 179 additions and 140 deletions.
48 changes: 28 additions & 20 deletions AsphyxiaUI/Unitframes/Layouts/Asphyxia/Asphyxia.lua
Original file line number Diff line number Diff line change
Expand Up @@ -370,11 +370,13 @@ do
end
end

G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 233, 2 )
G.UnitFrames.Player.Statue:Point( "TOPRIGHT", G.UnitFrames.Player.Power, "BOTTOMRIGHT", 0, -7 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
if( C["unitframes"]["showstatuebar"] == true ) then
G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 233, 2 )
G.UnitFrames.Player.Statue:Point( "TOPRIGHT", G.UnitFrames.Player.Power, "BOTTOMRIGHT", 0, -7 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
end
end
end

Expand Down Expand Up @@ -419,11 +421,13 @@ do
end
end

G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 233, 2 )
G.UnitFrames.Player.Statue:Point( "TOPRIGHT", G.UnitFrames.Player.Power, "BOTTOMRIGHT", 0, -7 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
if( C["unitframes"]["showstatuebar"] == true ) then
G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 233, 2 )
G.UnitFrames.Player.Statue:Point( "TOPRIGHT", G.UnitFrames.Player.Power, "BOTTOMRIGHT", 0, -7 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
end
end
end

Expand Down Expand Up @@ -469,11 +473,13 @@ do
end
end

G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 233, 2 )
G.UnitFrames.Player.Statue:Point( "TOPRIGHT", G.UnitFrames.Player.Power, "BOTTOMRIGHT", 0, -7 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
if( C["unitframes"]["showstatuebar"] == true ) then
G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 233, 2 )
G.UnitFrames.Player.Statue:Point( "TOPRIGHT", G.UnitFrames.Player.Power, "BOTTOMRIGHT", 0, -7 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
end
end
end

Expand Down Expand Up @@ -504,11 +510,13 @@ do
------------------------------
if( S.myclass == "WARRIOR" ) then
if( C["unitframes"]["classbar"] == true ) then
G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 233, 2 )
G.UnitFrames.Player.Statue:Point( "TOPRIGHT", G.UnitFrames.Player.Power, "BOTTOMRIGHT", 0, -7 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
if( C["unitframes"]["showstatuebar"] == true ) then
G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 233, 2 )
G.UnitFrames.Player.Statue:Point( "TOPRIGHT", G.UnitFrames.Player.Power, "BOTTOMRIGHT", 0, -7 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
end
end
end
end
Expand Down
48 changes: 28 additions & 20 deletions AsphyxiaUI/Unitframes/Layouts/Asphyxia/Asphyxia2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -373,11 +373,13 @@ do
end
end

G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 233, 2 )
G.UnitFrames.Player.Statue:Point( "TOP", G.UnitFrames.Player.Power, "BOTTOM", 0, -35 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
if( C["unitframes"]["showstatuebar"] == true ) then
G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 233, 2 )
G.UnitFrames.Player.Statue:Point( "TOP", G.UnitFrames.Player.Power, "BOTTOM", 0, -35 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
end
end
end

Expand Down Expand Up @@ -422,11 +424,13 @@ do
end
end

G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 233, 2 )
G.UnitFrames.Player.Statue:Point( "TOP", G.UnitFrames.Player.Power, "BOTTOM", 0, -35 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
if( C["unitframes"]["showstatuebar"] == true ) then
G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 233, 2 )
G.UnitFrames.Player.Statue:Point( "TOP", G.UnitFrames.Player.Power, "BOTTOM", 0, -35 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
end
end
end

Expand Down Expand Up @@ -472,11 +476,13 @@ do
end
end

G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 233, 2 )
G.UnitFrames.Player.Statue:Point( "TOP", G.UnitFrames.Player.Power, "BOTTOM", 0, -35 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
if( C["unitframes"]["showstatuebar"] == true ) then
G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 233, 2 )
G.UnitFrames.Player.Statue:Point( "TOP", G.UnitFrames.Player.Power, "BOTTOM", 0, -35 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
end
end
end

Expand Down Expand Up @@ -507,11 +513,13 @@ do
------------------------------
if( S.myclass == "WARRIOR" ) then
if( C["unitframes"]["classbar"] == true ) then
G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 233, 2 )
G.UnitFrames.Player.Statue:Point( "TOP", G.UnitFrames.Player.Power, "BOTTOM", 0, -35 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
if( C["unitframes"]["showstatuebar"] == true ) then
G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 233, 2 )
G.UnitFrames.Player.Statue:Point( "TOP", G.UnitFrames.Player.Power, "BOTTOM", 0, -35 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
end
end
end
end
Expand Down
48 changes: 28 additions & 20 deletions AsphyxiaUI/Unitframes/Layouts/Asphyxia/Asphyxia3.lua
Original file line number Diff line number Diff line change
Expand Up @@ -373,11 +373,13 @@ do
end
end

G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 180, 2 )
G.UnitFrames.Player.Statue:Point( "TOPRIGHT", G.UnitFrames.Player.Power, "BOTTOMRIGHT", 0, -7 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
if( C["unitframes"]["showstatuebar"] == true ) then
G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 180, 2 )
G.UnitFrames.Player.Statue:Point( "TOPRIGHT", G.UnitFrames.Player.Power, "BOTTOMRIGHT", 0, -7 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
end
end
end

Expand Down Expand Up @@ -422,11 +424,13 @@ do
end
end

G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 180, 2 )
G.UnitFrames.Player.Statue:Point( "TOPRIGHT", G.UnitFrames.Player.Power, "BOTTOMRIGHT", 0, -7 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
if( C["unitframes"]["showstatuebar"] == true ) then
G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 180, 2 )
G.UnitFrames.Player.Statue:Point( "TOPRIGHT", G.UnitFrames.Player.Power, "BOTTOMRIGHT", 0, -7 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
end
end
end

Expand Down Expand Up @@ -472,11 +476,13 @@ do
end
end

G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 180, 2 )
G.UnitFrames.Player.Statue:Point( "TOPRIGHT", G.UnitFrames.Player.Power, "BOTTOMRIGHT", 0, -7 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
if( C["unitframes"]["showstatuebar"] == true ) then
G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 180, 2 )
G.UnitFrames.Player.Statue:Point( "TOPRIGHT", G.UnitFrames.Player.Power, "BOTTOMRIGHT", 0, -7 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
end
end
end

Expand Down Expand Up @@ -507,11 +513,13 @@ do
------------------------------
if( S.myclass == "WARRIOR" ) then
if( C["unitframes"]["classbar"] == true ) then
G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 180, 2 )
G.UnitFrames.Player.Statue:Point( "TOPRIGHT", G.UnitFrames.Player.Power, "BOTTOMRIGHT", 0, -7 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
if( C["unitframes"]["showstatuebar"] == true ) then
G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 180, 2 )
G.UnitFrames.Player.Statue:Point( "TOPRIGHT", G.UnitFrames.Player.Power, "BOTTOMRIGHT", 0, -7 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
end
end
end
end
Expand Down
48 changes: 28 additions & 20 deletions AsphyxiaUI/Unitframes/Layouts/Asphyxia/Asphyxia4.lua
Original file line number Diff line number Diff line change
Expand Up @@ -368,11 +368,13 @@ do
end
end

G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 243, 2 )
G.UnitFrames.Player.Statue:Point( "TOPRIGHT", G.UnitFrames.Player.Power, "BOTTOMRIGHT", 0, -7 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
if( C["unitframes"]["showstatuebar"] == true ) then
G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 243, 2 )
G.UnitFrames.Player.Statue:Point( "TOPRIGHT", G.UnitFrames.Player.Power, "BOTTOMRIGHT", 0, -7 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
end
end
end

Expand Down Expand Up @@ -417,11 +419,13 @@ do
end
end

G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 243, 2 )
G.UnitFrames.Player.Statue:Point( "TOPRIGHT", G.UnitFrames.Player.Power, "BOTTOMRIGHT", 0, -7 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
if( C["unitframes"]["showstatuebar"] == true ) then
G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 243, 2 )
G.UnitFrames.Player.Statue:Point( "TOPRIGHT", G.UnitFrames.Player.Power, "BOTTOMRIGHT", 0, -7 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
end
end
end

Expand Down Expand Up @@ -467,11 +471,13 @@ do
end
end

G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 243, 2 )
G.UnitFrames.Player.Statue:Point( "TOPRIGHT", G.UnitFrames.Player.Power, "BOTTOMRIGHT", 0, -7 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
if( C["unitframes"]["showstatuebar"] == true ) then
G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 243, 2 )
G.UnitFrames.Player.Statue:Point( "TOPRIGHT", G.UnitFrames.Player.Power, "BOTTOMRIGHT", 0, -7 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
end
end
end

Expand Down Expand Up @@ -502,11 +508,13 @@ do
------------------------------
if( S.myclass == "WARRIOR" ) then
if( C["unitframes"]["classbar"] == true ) then
G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 243, 2 )
G.UnitFrames.Player.Statue:Point( "TOPRIGHT", G.UnitFrames.Player.Power, "BOTTOMRIGHT", 0, -7 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
if( C["unitframes"]["showstatuebar"] == true ) then
G.UnitFrames.Player.Statue:ClearAllPoints()
G.UnitFrames.Player.Statue:Size( 243, 2 )
G.UnitFrames.Player.Statue:Point( "TOPRIGHT", G.UnitFrames.Player.Power, "BOTTOMRIGHT", 0, -7 )
G.UnitFrames.Player.Statue:CreateBackdrop( "Default" )
G.UnitFrames.Player.Statue.backdrop:CreateShadow( "Default" )
end
end
end
end
Expand Down
Loading

0 comments on commit 0c9492a

Please sign in to comment.