changes
This commit is contained in:
@@ -567,7 +567,7 @@ local movement_onupdate = function (self, elapsed)
|
||||
show_instance_ids()
|
||||
instance_ids_shown = nil
|
||||
|
||||
if (need_show_group_guide and not DetailsFramework.IsClassicWow()) then
|
||||
if (need_show_group_guide and not DetailsFramework.IsTimewalkWoW()) then
|
||||
_detalhes.MicroButtonAlert.Text:SetText (Loc ["STRING_WINDOW1ATACH_DESC"])
|
||||
_detalhes.MicroButtonAlert:SetPoint ("bottom", need_show_group_guide.baseframe, "top", 0, 30)
|
||||
_detalhes.MicroButtonAlert:SetHeight (320)
|
||||
@@ -703,7 +703,7 @@ local movement_onupdate = function (self, elapsed)
|
||||
instancia_alvo:SnapAlert()
|
||||
_detalhes.snap_alert.playing = true
|
||||
|
||||
if (not DetailsFramework.IsClassicWow()) then
|
||||
if (not DetailsFramework.IsTimewalkWoW()) then
|
||||
_detalhes.MicroButtonAlert.Text:SetText (string.format (Loc ["STRING_ATACH_DESC"], self.instance.meu_id, instancia_alvo.meu_id))
|
||||
_detalhes.MicroButtonAlert:SetPoint ("bottom", instancia_alvo.baseframe.cabecalho.modo_selecao.widget, "top", 0, 18)
|
||||
_detalhes.MicroButtonAlert:SetHeight (200)
|
||||
@@ -975,7 +975,7 @@ local function move_janela (baseframe, iniciando, instancia, just_updating)
|
||||
_detalhes.snap_alert.animIn:Stop()
|
||||
_detalhes.snap_alert.animOut:Play()
|
||||
|
||||
if (not DetailsFramework.IsClassicWow()) then
|
||||
if (not DetailsFramework.IsTimewalkWoW()) then
|
||||
_detalhes.MicroButtonAlert:Hide()
|
||||
end
|
||||
|
||||
|
||||
@@ -3278,8 +3278,13 @@ function gump:CriaJanelaInfo()
|
||||
--main player - seta no primeiro box
|
||||
local spellid = data [1].id
|
||||
local name, _, icon = _GetSpellInfo (spellid)
|
||||
|
||||
if (not name) then
|
||||
--no spell found? - tbc problem
|
||||
return
|
||||
end
|
||||
|
||||
local petName = data [3]
|
||||
|
||||
bar [1]:SetTexture (icon) --bar[1] = spellicon bar[2] = statusbar
|
||||
bar [1]:SetTexCoord (unpack (IconTexCoord)) --bar[1] = spellicon bar[2] = statusbar
|
||||
|
||||
|
||||
+12
-10
@@ -354,17 +354,19 @@ local function cria_drop_down (este_gump)
|
||||
reportChannelsTable [#reportChannelsTable + 1] = {iconsize = iconsize, value = "CHANNEL|"..channels [i+1], label = channels [i]..". "..channels [i+1], onclick = on_click, icon = [[Interface\FriendsFrame\UI-Toast-ToastIcons]], texcoord = {0.3046875, 0.4453125, 0.109375, 0.390625}, iconcolor = {149/255, 112/255, 112/255}}
|
||||
end
|
||||
|
||||
local _, numBNetOnline = BNGetNumFriends()
|
||||
for i = 1, numBNetOnline do
|
||||
local accountInfo = C_BattleNet.GetFriendAccountInfo(i)
|
||||
local gameAccountInfo = accountInfo and accountInfo.gameAccountInfo
|
||||
if (not DetailsFramework.IsTimewalkWoW()) then
|
||||
local _, numBNetOnline = BNGetNumFriends()
|
||||
for i = 1, numBNetOnline do
|
||||
local accountInfo = C_BattleNet.GetFriendAccountInfo(i)
|
||||
local gameAccountInfo = accountInfo and accountInfo.gameAccountInfo
|
||||
|
||||
if (gameAccountInfo) then
|
||||
local isOnline = gameAccountInfo.isOnline
|
||||
if (isOnline) then
|
||||
local bTag = accountInfo.battleTag
|
||||
local bTagNoNumber = bTag:gsub("#.*", "")
|
||||
reportChannelsTable[#reportChannelsTable + 1] = {iconsize = iconsize, value = "REALID|" .. accountInfo.bnetAccountID, label = bTagNoNumber, onclick = on_click, icon = [[Interface\FriendsFrame\Battlenet-Battleneticon]], texcoord = {0.125, 0.875, 0.125, 0.875}, iconcolor = {1, 1, 1}}
|
||||
if (gameAccountInfo) then
|
||||
local isOnline = gameAccountInfo.isOnline
|
||||
if (isOnline) then
|
||||
local bTag = accountInfo.battleTag
|
||||
local bTagNoNumber = bTag:gsub("#.*", "")
|
||||
reportChannelsTable[#reportChannelsTable + 1] = {iconsize = iconsize, value = "REALID|" .. accountInfo.bnetAccountID, label = bTagNoNumber, onclick = on_click, icon = [[Interface\FriendsFrame\Battlenet-Battleneticon]], texcoord = {0.125, 0.875, 0.125, 0.875}, iconcolor = {1, 1, 1}}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user