- 7.1.0 patch update.
- framework update. - renamed 'report history' to 'latest reports'.
This commit is contained in:
+1
-11
@@ -1,4 +1,4 @@
|
||||
## Interface: 70000
|
||||
## Interface: 70100
|
||||
## Title: Details
|
||||
## Notes: Computes detailed infos about combats.
|
||||
## SavedVariables: _detalhes_global
|
||||
@@ -9,16 +9,6 @@ Libs\libs.xml
|
||||
#@end-no-lib-strip@
|
||||
|
||||
locales\Details-enUS.lua
|
||||
locales\Details-deDE.lua
|
||||
locales\Details-esES.lua
|
||||
locales\Details-esMX.lua
|
||||
locales\Details-frFR.lua
|
||||
locales\Details-itIT.lua
|
||||
locales\Details-koKR.lua
|
||||
locales\Details-ptBR.lua
|
||||
locales\Details-ruRU.lua
|
||||
locales\Details-zhCN.lua
|
||||
locales\Details-zhTW.lua
|
||||
|
||||
boot.lua
|
||||
indent.lua
|
||||
|
||||
+3
-3
@@ -1,5 +1,5 @@
|
||||
|
||||
local dversion = 46
|
||||
local dversion = 48
|
||||
local major, minor = "DetailsFramework-1.0", dversion
|
||||
local DF, oldminor = LibStub:NewLibrary (major, minor)
|
||||
|
||||
@@ -222,9 +222,9 @@ local symbol_1K, symbol_10K, symbol_1B
|
||||
if (GetLocale() == "koKR") then
|
||||
symbol_1K, symbol_10K, symbol_1B = "천", "만", "억"
|
||||
elseif (GetLocale() == "zhCN") then
|
||||
symbol_1K, symbol_10K, symbol_1B = "천", "万", "亿"
|
||||
symbol_1K, symbol_10K, symbol_1B = "千", "万", "亿"
|
||||
elseif (GetLocale() == "zhTW") then
|
||||
symbol_1K, symbol_10K, symbol_1B = "천", "萬", "億"
|
||||
symbol_1K, symbol_10K, symbol_1B = "千", "萬", "億"
|
||||
end
|
||||
|
||||
if (symbol_1K) then
|
||||
|
||||
@@ -582,6 +582,7 @@ local align_rows = function (self)
|
||||
tinsert (self._anchors, cur_width)
|
||||
cur_width = cur_width + self._raw_rows [index].width + 1
|
||||
end
|
||||
|
||||
row:Show()
|
||||
|
||||
local type = row.type
|
||||
@@ -597,6 +598,9 @@ local align_rows = function (self)
|
||||
tinsert (line.text_inuse, text)
|
||||
text:SetPoint ("left", line, "left", self._anchors [#self._anchors], 0)
|
||||
text:SetWidth (row.width)
|
||||
|
||||
DF:SetFontSize (text, row.textsize or 10)
|
||||
text:SetJustifyH (row.textalign or "left")
|
||||
end
|
||||
elseif (type == "entry") then
|
||||
for i = 1, #self.scrollframe.lines do
|
||||
@@ -692,12 +696,19 @@ local update_rows = function (self, updated_rows)
|
||||
else
|
||||
raw.name = t.name
|
||||
raw.hidden = t.hidden or false
|
||||
raw.textsize = t.textsize
|
||||
raw.textalign = t.textalign
|
||||
|
||||
local widget = self.rows [i]
|
||||
widget.name = t.name
|
||||
widget.textsize = t.textsize
|
||||
widget.textalign = t.textalign
|
||||
widget.hidden = t.hidden or false
|
||||
|
||||
widget.text:SetText (t.name)
|
||||
DF:SetFontSize (widget.text, raw.textsize or 10)
|
||||
widget.text:SetJustifyH (raw.textalign or "left")
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
@@ -908,6 +919,10 @@ function DF:NewFillPanel (parent, rows, name, member, w, h, total_lines, fill_ro
|
||||
fontstring:SetText (results [index])
|
||||
fontstring.index = real_index
|
||||
fontstring:Show()
|
||||
|
||||
if (true) then
|
||||
--print (t.hello)
|
||||
end
|
||||
|
||||
elseif (t.type == "entry") then
|
||||
local entrywidget = row.entry_inuse [entry]
|
||||
|
||||
@@ -943,6 +943,16 @@ local function cria_drop_down (este_gump)
|
||||
--recently reported:
|
||||
window.recently_report_buttons = {}
|
||||
|
||||
local history_Background = window:CreateTexture (nil, "background")
|
||||
history_Background:SetColorTexture (0, 0, 0, .3)
|
||||
history_Background:SetSize (160, 158)
|
||||
history_Background:SetPoint ("topleft", window, "topleft", 3, -25)
|
||||
|
||||
local separador = window:CreateTexture (nil, "border")
|
||||
separador:SetColorTexture (0, 0, 0, .6)
|
||||
separador:SetSize (2, 158)
|
||||
separador:SetPoint ("topleft", history_Background, "topright", 0, 0)
|
||||
|
||||
function window:RefreshRecentlyReported()
|
||||
for i = 1, window.max_last_buttons do
|
||||
local b = window.recently_report_buttons [i]
|
||||
|
||||
Reference in New Issue
Block a user