Fixes to horizontal scrollarea, improve charlist flexibility

This commit is contained in:
Henrique Santiago
2012-08-31 01:56:10 -03:00
parent c517f7b745
commit 18a0d7ab94
12 changed files with 133 additions and 60 deletions

View File

@@ -28,7 +28,7 @@ local function onMotd(protocol, motd)
motdButton:show()
end
local function onCharacterList(protocol, characters, account)
local function onCharacterList(protocol, characters, account, otui)
if enterGame:getChildById('rememberPasswordBox'):isChecked() then
g_settings.set('account', g_crypt.encrypt(G.account))
g_settings.set('password', g_crypt.encrypt(G.password))
@@ -40,7 +40,7 @@ local function onCharacterList(protocol, characters, account)
loadBox:destroy()
loadBox = nil
CharacterList.create(characters, account)
CharacterList.create(characters, account, otui)
CharacterList.show()
local lastMotdNumber = g_settings.getNumber("motd")