add screen rotate support

This commit is contained in:
Qingping Hou
2012-06-13 00:14:23 +08:00
parent 4c71c628d3
commit 51ed793d14
6 changed files with 60 additions and 10 deletions

View File

@@ -30,6 +30,10 @@ function ReaderFont:init()
self.font_size = self.ui.document:getFontSize()
end
function ReaderFont:onSetDimensions(dimen)
self.dimen = dimen
end
function ReaderFont:onShowFontMenu()
-- build menu item_table
local face_list = cre.getFontFaces()