Merge branch 'rotate'

Conflicts:
	filechooser.lua

* merge rotate branch with search branch
* fix font display bug in font menu

not fully tested the new rotation implemention yet.
This commit is contained in:
Qingping Hou
2012-02-19 15:29:51 +08:00
5 changed files with 85 additions and 56 deletions

View File

@@ -96,8 +96,8 @@ function InputBox:input(ypos, height, title, d_text)
local ev = input.waitForEvent()
if ev.type == EV_KEY and ev.value == EVENT_VALUE_KEY_PRESS then
print("key code:"..ev.code)
--ev.code = adjustFWKey(ev.code)
--print("key code:"..ev.code)
ev.code = adjustFWKey(ev.code)
if ev.code == KEY_FW_UP then
elseif ev.code == KEY_FW_DOWN then
elseif ev.code == KEY_A then