Pt translations, some helper functions

This commit is contained in:
Henrique Santiago
2013-01-24 14:01:28 -02:00
parent c3eede9872
commit bc55cbbbd1
9 changed files with 90 additions and 68 deletions

View File

@@ -178,6 +178,11 @@ function hide()
terminalWindow:hide()
end
function disable()
terminalButton:hide()
g_keyboard.unbindKeyDown('Ctrl+T')
end
function addLine(text, color)
-- delete old lines if needed
local numLines = terminalBuffer:getChildCount() + 1