- Added scale options.

- New API: instance:GetRealSize() return the width and height scaled.
- New API: instance:GetPositionOnScreen() return the window x, y position on screen.
- New API: instance:SetWindowScale (scale) set the window scale.
- New API: instance:IsGroupedWith (instance) return if self is groupped with instance.
- New API: instance:GetInstanceGroup([,instance id]) return a table with instance in the group.
This commit is contained in:
tercio
2014-10-03 16:53:42 -03:00
parent 635d3eba65
commit 28de6a9065
10 changed files with 227 additions and 58 deletions
+4
View File
@@ -655,6 +655,10 @@ end
--> todo: remove the function creation everytime this function run.
function gump:Fade (frame, tipo, velocidade, parametros)
--if (frame.GetObjectType and frame:GetObjectType() == "Frame" and frame.GetName and type (frame:GetName()) == "string" and frame:GetName():find ("DetailsBaseFrame")) then
-- print (debugstack())
--end
if (_type (frame) == "table") then
if (frame.meu_id) then --> ups, é uma instância
if (parametros == "barras") then --> hida todas as barras da instância