WoWInterface SVN Aloft

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /branches/border/Aloft/AloftCastBar
    from Rev 1848 to Rev 1853
    Reverse comparison

Rev 1848 → Rev 1853

AloftCastBarOptions.lua
169,6 → 169,30
end,
values = SML:List("border"),
},
edgeSize =
{
type = 'range',
width = "full",
name = L["Border Edge Size"],
desc = L["Sets the thickness of the border"],
min = 1,
max = 32,
step = 1,
get = function(i) return AloftCastBar.db.profile.borderEdgeSize end,
set = function(i, v) AloftCastBar.db.profile.borderEdgeSize = v AloftCastBar:UpdateAll() end
},
inset =
{
type = 'range',
width = "full",
name = L["Border Inset"],
desc = L["Sets the padding aroundthe border"],
min = 0,
max = 32,
step = 1,
get = function(i) return AloftCastBar.db.profile.borderInset end,
set = function(i, v) AloftCastBar.db.profile.borderInset = v AloftCastBar:UpdateAll() end
},
borderColor =
{
type = 'color',
254,6 → 278,30
end,
values = SML:List("border"),
},
edgeSize =
{
type = 'range',
width = "full",
name = L["Border Edge Size"],
desc = L["Sets the thickness of the border"],
min = 1,
max = 32,
step = 1,
get = function(i) return AloftCastBar.db.profile.nointerBorderEdgeSize end,
set = function(i, v) AloftCastBar.db.profile.nointerBorderEdgeSize = v AloftCastBar:UpdateAll() end
},
inset =
{
type = 'range',
width = "full",
name = L["Border Inset"],
desc = L["Sets the padding aroundthe border"],
min = 0,
max = 32,
step = 1,
get = function(i) return AloftCastBar.db.profile.nointerBorderInset end,
set = function(i, v) AloftCastBar.db.profile.nointerBorderInset = v AloftCastBar:UpdateAll() end
},
borderColor =
{
type = 'color',
AloftCastBar.lua
22,12 → 22,16
height = 10,
 
border = "None",
borderEdgeSize = 16,
borderInset = 4,
borderColor = { 1, 1, 1, 1 },
backdropColor = { 0.25, 0.25, 0.25, 0.5 },
color = { 1.0, 0.7, 0.0, 1.0 },
texture = "Blizzard",
 
nointerBorder = "None",
nointerBorderEdgeSize = 16,
nointerBorderInset = 4,
nointerBorderColor = { 1, 1, 1, 1 },
nointerBackdropColor = { 0.25, 0.25, 0.25, 0.5 },
nointerTexture = "Blizzard",
167,10 → 171,10
 
function AloftCastBar:GetBorder(aloftData, noInterrupt)
if noInterrupt then
return ((self.db.profile.border ~= "None") and 4) or 0, SML:Fetch("border", self.db.profile.border)
return ((self.db.profile.border ~= "None") and self.db.profile.nointerBorderInset) or 0, SML:Fetch("border", self.db.profile.nointerBorder)
-- return 0, SML:Fetch("border", "None")
else
return ((self.db.profile.nointerBorder ~= "None") and 4) or 0, SML:Fetch("border", self.db.profile.nointerBorder)
return ((self.db.profile.nointerBorder ~= "None") and self.db.profile.borderInset) or 0, SML:Fetch("border", self.db.profile.border)
-- return 0, SML:Fetch("border", "None")
end
end
212,6 → 216,7
backdropTable.insets.top = inset
backdropTable.insets.bottom = inset
backdropTable.edgeFile = edgeFile
backdropTable.edgeSize = (castFrame.noInterrupt and self.db.profile.nointerBorderEdgeSize) or self.db.profile.borderEdgeSize
backdropTable.bgFile = texture
 
castFrame:SetBackdrop(backdropTable)
AloftCastBarLocale.lua
37,6 → 37,10
--[[ enUS ]] bL["Sets the color of the cast bar"] = "Sets the color of the cast bar"
--[[ enUS ]] bL["Backdrop Color"] = "Backdrop Color"
--[[ enUS ]] bL["Sets the backdrop color of the cast bar"] = "Sets the backdrop color of the cast bar"
--[[ enUS ]] bL["Border Edge Size"] = "Border Edge Size"
--[[ enUS ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border"
--[[ enUS ]] bL["Border Inset"] = "Border Inset"
--[[ enUS ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border"
--[[ enUS ]] bL["Border Color"] = "Border Color"
--[[ enUS ]] bL["Sets the border color of the cast bar"] = "Sets the border color of the cast bar"
--[[ enUS ]] bL["Border Style"] = "Border Style"
231,6 → 235,10
--[[ koKR ]] bL["Sets the color of the cast bar"] = "Sets the color of the cast bar"
--[[ koKR ]] bL["Backdrop Color"] = "배경 색상"
--[[ koKR ]] bL["Sets the backdrop color of the cast bar"] = "시전바의 배경 색상을 설정합니다."
--[[ koKR ]] bL["Border Edge Size"] = "Border Edge Size"
--[[ koKR ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border"
--[[ koKR ]] bL["Border Inset"] = "Border Inset"
--[[ koKR ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border"
--[[ koKR ]] bL["Border Color"] = "테두리 색상"
--[[ koKR ]] bL["Sets the border color of the cast bar"] = "Sets the border color of the cast bar"
--[[ koKR ]] bL["Border Style"] = "테두리 스타일"
410,6 → 418,10
--[[ ruRU ]] bL["Sets the color of the cast bar"] = "Задает цвет полоски заклинания"
--[[ ruRU ]] bL["Backdrop Color"] = "Цвет тени"
--[[ ruRU ]] bL["Sets the backdrop color of the cast bar"] = "Задает цвет тени полоски заклинания"
--[[ ruRU ]] bL["Border Edge Size"] = "Border Edge Size"
--[[ ruRU ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border"
--[[ ruRU ]] bL["Border Inset"] = "Border Inset"
--[[ ruRU ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border"
--[[ ruRU ]] bL["Border Color"] = "Цвет рамки"
--[[ ruRU ]] bL["Sets the border color of the cast bar"] = "Установка цвета краев полосы применения"
--[[ ruRU ]] bL["Border Style"] = "Стиль рамки"
588,6 → 600,10
--[[ zhCN ]] bL["Sets the color of the cast bar"] = "设置施法条颜色"
--[[ zhCN ]] bL["Backdrop Color"] = "背景颜色"
--[[ zhCN ]] bL["Sets the backdrop color of the cast bar"] = "设定施法条的背景颜色"
--[[ zhCN ]] bL["Border Edge Size"] = "Border Edge Size"
--[[ zhCN ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border"
--[[ zhCN ]] bL["Border Inset"] = "Border Inset"
--[[ zhCN ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border"
--[[ zhCN ]] bL["Border Color"] = "边框颜色"
--[[ zhCN ]] bL["Sets the border color of the cast bar"] = "设置施法条边框颜色"
--[[ zhCN ]] bL["Border Style"] = "边框样式"
766,6 → 782,10
--[[ zhTW ]] bL["Sets the color of the cast bar"] = "設置施法條顏色"
--[[ zhTW ]] bL["Backdrop Color"] = "背景顏色"
--[[ zhTW ]] bL["Sets the backdrop color of the cast bar"] = "施法條背景顏色"
--[[ zhTW ]] bL["Border Edge Size"] = "Border Edge Size"
--[[ zhTW ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border"
--[[ zhTW ]] bL["Border Inset"] = "Border Inset"
--[[ zhTW ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border"
--[[ zhTW ]] bL["Border Color"] = "邊框顏色"
--[[ zhTW ]] bL["Sets the border color of the cast bar"] = "設置施法條邊框顏色"
--[[ zhTW ]] bL["Border Style"] = "邊框樣式"