Making tests with LibWindow-1.1

This commit is contained in:
Tercio
2015-01-20 20:01:43 -02:00
parent 9b160cd591
commit a1e5bcf3ce
10 changed files with 544 additions and 213 deletions
+5 -2
View File
@@ -379,7 +379,8 @@ function _detalhes:ApplyProfile (profile_name, nosave, is_copy)
--> load data saved for this character only
instance:LoadLocalInstanceConfig()
if (skin.__was_opened) then
if (skin.__was_opened) then
--tinsert (_detalhes.resize_debug, #_detalhes.resize_debug+1, "libwindow X (383): " .. (instance.libwindow.x or 0))
instance:AtivarInstancia()
else
instance.ativa = false
@@ -421,9 +422,11 @@ function _detalhes:ApplyProfile (profile_name, nosave, is_copy)
end
instance:LockInstance (instance.isLocked)
--tinsert (_detalhes.resize_debug, #_detalhes.resize_debug+1, "libwindow X (427): " .. (instance.libwindow.x or 0))
instance:RestoreMainWindowPosition()
instance:ReajustaGump()
instance:SaveMainWindowPosition()
--instance:SaveMainWindowPosition()
instance:ChangeSkin()
else