r50691 - trunk/PitBull

0 views
Skip to first unread message

svnco...@wowace.com

unread,
Oct 2, 2007, 3:55:06 PM10/2/07
to wowace-gar...@googlegroups.com
Author: nandini
Date: Tue Oct 2 15:55:05 2007
New Revision: 50691

Log:
PitBull
- Added support in PitBull_MetaLayout.lua for FullBar

Modified:
trunk/PitBull/PitBull_MetaLayout.lua

Modified: trunk/PitBull/PitBull_MetaLayout.lua
==============================================================================
--- trunk/PitBull/PitBull_MetaLayout.lua (original)
+++ trunk/PitBull/PitBull_MetaLayout.lua Tue Oct 2 15:55:05 2007
@@ -16,6 +16,7 @@
["Size of the icon."] = "아이콘의 크기",
["Font size of the text."] = "문자의 글꼴 크기",
["Portrait"] = "초상화",
+ ["Full bar"] = "Full 바",
["Health bar"] = "생명력바",
["Power bar"] = "마력바",
["Reputation bar"] = "평판바",
@@ -274,6 +275,10 @@
castBar = {
position = 8,
},
+ fullBar = {
+ height = 5,
+ position = 9,
+ },
},
},
player = {
@@ -335,6 +340,7 @@
local barList = {
blankSpace = true,
healthBar = true,
+ fullBar = true,
powerBar = true,
castBar = true,
repBar = true,
@@ -427,6 +433,7 @@
function MetaLayout.positions.blankSpace(unit, frame)
return blankSpaceFunc(unit, frame)
end
+MetaLayout.positions.fullBar = barPosition('fullBar')
MetaLayout.positions.healthBar = barPosition('healthBar')
MetaLayout.positions.powerBar = barPosition('powerBar')
MetaLayout.positions.threatBar = barPosition('threatBar')
@@ -1410,6 +1417,7 @@

local barNameToLocal = {
portrait = L["Portrait"],
+ fullBar = L["Full bar"],
healthBar = L["Health bar"],
powerBar = L["Power bar"],
repBar = L["Reputation bar"],
@@ -1532,6 +1540,7 @@
end
end

+MetaLayout.options.fullBar = barOptions('fullBar')
MetaLayout.options.healthBar = barOptions('healthBar')
MetaLayout.options.powerBar = barOptions('powerBar')
MetaLayout.options.threatBar = barOptions('threatBar')
@@ -2024,6 +2033,12 @@
end})

local basePositionValidate = {
+ ["fullBar-left"] = ("%s/%s"):format(L["Full"], L["Left"]),
+ ["fullBar-center"] = ("%s/%s"):format(L["Full"], L["Middle"]),
+ ["fullBar-right"] = ("%s/%s"):format(L["Full"], L["Right"]),
+ ["fullBar-outright"] = ("%s/%s"):format(L["Full"], L["Outside, Right"]),
+ ["fullBar-outleft"] = ("%s/%s"):format(L["Full"], L["Outside, Left"]),
+
["healthBar-left"] = ("%s/%s"):format(L["Health"], L["Left"]),
["healthBar-center"] = ("%s/%s"):format(L["Health"], L["Middle"]),
["healthBar-right"] = ("%s/%s"):format(L["Health"], L["Right"]),

Reply all
Reply to author
Forward
0 new messages