- Changed thw way to set the broker text.

- Fixed a problem while reporting a custom display.

- New API: _detalhes:GetOpenedWindowsAmount()
This commit is contained in:
tercio
2014-09-18 13:57:28 -03:00
parent eafaab068d
commit 5adf84da6b
10 changed files with 1564 additions and 1196 deletions
+10
View File
@@ -231,6 +231,16 @@ function _detalhes:GetFreeInstancesAmount()
return _detalhes.instances_amount - #_detalhes.tabela_instancias
end
function _detalhes:GetOpenedWindowsAmount()
local amount = 0
for _, instance in _detalhes:ListInstances() do
if (instance:IsEnabled()) then
amount = amount + 1
end
end
return amount
end
function _detalhes:GetNumRows()
return self.rows_fit_in_window
end