- Added keybinds to reset segments and scroll up/down.
- Added Spell Customization options where icon and the name of a spell can be changed. - Added option to change the micro displays side, now it can be shown on the window top side. - Added options to change the transparency when out of combat and out of a group. - Added and Still under development the panel for create data captures for charts. - Fixed a issue with flat skin where the close button was just too big. - New API: _detalhes:InstanceCall (function, params ...) runs a function into all opened instances. - New Framework: gump:NewSpellEntry() create a textfield for choose a spell. - New Framework: gump:NewSpecialLuaEditorEntry() create a textbox with lua syntaxes highlight. - New FrameWork: gump:NewFillPanel() create a panel with rows.
This commit is contained in:
@@ -89,7 +89,7 @@ function combate:NovaTabela (iniciada, _tabela_overall, combatId, ...)
|
||||
esta_tabela.frags_need_refresh = false
|
||||
|
||||
--> time data container
|
||||
esta_tabela.TimeData = _detalhes.timeContainer:CreateTimeTable()
|
||||
esta_tabela.TimeData = _detalhes:TimeDataCreateCombatTables()
|
||||
|
||||
--> Skill cache (not used)
|
||||
esta_tabela.CombatSkillCache = {}
|
||||
@@ -165,10 +165,10 @@ function combate:NovaTabela (iniciada, _tabela_overall, combatId, ...)
|
||||
return esta_tabela
|
||||
end
|
||||
|
||||
function combate:GetTimeData (dataType)
|
||||
--if (not dataType) then
|
||||
return self.TimeData
|
||||
--end
|
||||
function combate:GetTimeData (name)
|
||||
|
||||
return self.TimeData [name]
|
||||
|
||||
end
|
||||
|
||||
function combate:TravarTempos()
|
||||
@@ -236,6 +236,8 @@ function combate:GetCombatTime()
|
||||
end
|
||||
end
|
||||
|
||||
--[[global]] DETAILS_TOTALS_ONLYGROUP = true
|
||||
|
||||
function combate:GetTotal (attribute, subAttribute, onlyGroup)
|
||||
if (attribute == 1 or attribute == 2) then
|
||||
if (onlyGroup) then
|
||||
|
||||
@@ -61,7 +61,16 @@ local segmentos = _detalhes.segmentos
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
--> chama a função para ser executada em todas as instâncias
|
||||
--> API: call a function to all enabled instances
|
||||
function _detalhes:InstanceCall (funcao, ...)
|
||||
for index, instance in _ipairs (_detalhes.tabela_instancias) do
|
||||
if (instance:IsAtiva()) then --> only enabled
|
||||
funcao (instance, ...)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
--> chama a função para ser executada em todas as instâncias (internal)
|
||||
function _detalhes:InstanciaCallFunction (funcao, ...)
|
||||
for index, instancia in _ipairs (_detalhes.tabela_instancias) do
|
||||
if (instancia:IsAtiva()) then --> só reabre se ela estiver ativa
|
||||
@@ -70,7 +79,7 @@ function _detalhes:InstanciaCallFunction (funcao, ...)
|
||||
end
|
||||
end
|
||||
|
||||
--> chama a função para ser executada em todas as instâncias
|
||||
--> chama a função para ser executada em todas as instâncias (internal)
|
||||
function _detalhes:InstanciaCallFunctionOffline (funcao, ...)
|
||||
for index, instancia in _ipairs (_detalhes.tabela_instancias) do
|
||||
funcao (_, instancia, ...)
|
||||
@@ -330,6 +339,12 @@ end
|
||||
end
|
||||
end
|
||||
|
||||
self:SetCombatAlpha (nil, nil, true)
|
||||
|
||||
--if (self.hide_out_of_combat and not UnitAffectingCombat ("player")) then
|
||||
-- self:SetWindowAlphaForCombat (true, true)
|
||||
--end
|
||||
|
||||
if (not temp and not _detalhes.initializing) then
|
||||
_detalhes:SendEvent ("DETAILS_INSTANCE_OPEN", nil, self)
|
||||
end
|
||||
|
||||
@@ -54,6 +54,8 @@ _detalhes.instance_defaults = {
|
||||
hide_icon = false,
|
||||
--anchor side of main window toolbar (1 = top 2 = bottom)
|
||||
toolbar_side = 1,
|
||||
--micro displays side
|
||||
micro_displays_side = 2,
|
||||
--stretch button anchor side (1 = top 2 = bottom)
|
||||
stretch_button_side = 1,
|
||||
--where plugins icon will be placed on main window toolbar (1 = left 2 = right)
|
||||
@@ -139,6 +141,9 @@ _detalhes.instance_defaults = {
|
||||
color_buttons = {1, 1, 1, 1},
|
||||
--hide in combat
|
||||
hide_in_combat = false,
|
||||
hide_out_of_combat = false,
|
||||
|
||||
hide_in_combat_type = 1,
|
||||
hide_in_combat_alpha = 0,
|
||||
--strata
|
||||
strata = "LOW",
|
||||
|
||||
Reference in New Issue
Block a user