- All the changes required for the Chart Viewer 2.0.

- Fixed the options panel open bug.
This commit is contained in:
Tercio
2015-02-06 20:34:21 -02:00
parent 43996cf0d7
commit ad76abfd00
6 changed files with 119 additions and 51 deletions
+14
View File
@@ -177,6 +177,8 @@
local exec = {}
_detalhes.timeContainer.Exec = exec
_detalhes:SendEvent ("COMBAT_CHARTTABLES_CREATING")
--> build the exec table
for index, t in ipairs (_detalhes.savedTimeCaptures) do
if (t [INDEX_ENABLED]) then
@@ -197,6 +199,8 @@
end
end
_detalhes:SendEvent ("COMBAT_CHARTTABLES_CREATED")
tick_time = 0
@@ -477,4 +481,14 @@
function _detalhes:BrokerTick()
_detalhes.databroker.text = parse_broker_text()
end
function _detalhes:SetDataBrokerText (text)
if (type (text) == "string") then
_detalhes.data_broker_text = text
_detalhes:BrokerTick()
elseif (text == nil or (type (text) == "boolean" and not text)) then
_detalhes.data_broker_text = ""
_detalhes:BrokerTick()
end
end