Qingping Hou
1fcb5281a0
use touchmenu widget in readermenu
2013-03-14 13:58:42 +08:00
Qingping Hou
22c3043959
add calling item.callback() as default onMenuChoice action
2013-02-03 03:35:25 +08:00
Qingping Hou
69260aaac8
cosmetic changes to menu wording
2013-01-22 06:37:08 +08:00
Qingping Hou
874890aaec
save and restore gamma_index for crengine
2013-01-13 12:07:20 +08:00
Qingping Hou
5abf3cb92d
save header_font_face
2013-01-13 11:38:36 +08:00
Qingping Hou
b7ced36957
read LineSpace from config
2013-01-13 11:37:28 +08:00
Qingping Hou
02ea5f1fbf
read header font from config
2013-01-13 11:23:30 +08:00
Qingping Hou
687aabc173
adapt ui to loadDocument before setFont
2013-01-13 10:22:33 +08:00
Qingping Hou
8c973457a0
save and restore line_space_percent in ReaderFont
2013-01-08 01:06:56 -05:00
Qingping Hou
e03963f4f2
replace InfoMessage with Notification in readerfont.lua
2013-01-07 16:51:37 -05:00
Qingping Hou
61613323fe
add ReaderFont:onChangeFontGamma()
2013-01-07 16:42:23 -05:00
Qingping Hou
204cfb2b17
return true in event handlers
...
we should do that when we know a event handler is only used in
that widget
2013-01-07 12:51:25 -05:00
Qingping Hou
e573fcf2de
add ReaderFont:onToggleFontBolder
2013-01-07 12:17:34 -05:00
Qingping Hou
fdc05b066c
add readerconfig to document supported by crengine
...
* now font size can be changed by readerconfig
2013-01-06 23:21:11 -05:00
Qingping Hou
93abd2fee7
add page status to readerrolling for better page view_mode support
...
* now when rendering in page view mode, we only keep track of page
number instead of pos inside document. Because using pos inside
document for page view mode is really a bad idea and will lead to
many unsovlabe bugs...
2012-12-22 13:27:46 +08:00
Qingping Hou
efa37c97ab
bug fix in readerfont
...
After set font in ReaderFont:onReadSettings, we have to send UpdatePos
event in order to set m_is_rendered(member of LVDocView) to true.
Otherwise position inside document will be reset to 0 on first view
render, this makes the first page of document is always displayed on
document open.
So far, I don't know why this call will alter the value of m_is_rendered.
It just works...
2012-12-21 06:00:51 +08:00
Qingping Hou
5a57ef84d3
remove default_font in readerfont because it is defined in credocument.
2012-12-17 15:01:31 +08:00
Qingping Hou
e27b99f770
read font_face and font_size from document settings
...
This is done in readerfont.lua
2012-12-17 14:51:50 +08:00
Qingping Hou
dbd27cd600
rename ReaderMenu:addToMainMenuCallback to registerToMainMenu
...
since we are actully inserting widgets, not callbacks
2012-12-15 09:30:48 +08:00
Qingping Hou
9a439f5dc4
register ReaderFont's font menu in ReaderMenu
2012-12-15 09:23:02 +08:00
Qingping Hou
476733dc87
register font menu to main reader menu for touch device
2012-12-14 02:32:16 +08:00
Qingping Hou
59592e862e
read font settings on readsettings event
2012-06-27 00:59:47 +08:00
Qingping Hou
45e9198ab2
add document fontface and fontsize settings support
2012-06-26 17:05:49 +08:00
Qingping Hou
51ed793d14
add screen rotate support
2012-06-13 00:14:23 +08:00
Qingping Hou
bad329811d
add line space control feature for credocument
2012-06-12 21:12:04 +08:00
Qingping Hou
b3cdbeee19
add font size control feature for credocument
...
also rename getFont to getFontFace
2012-06-12 20:59:56 +08:00
Qingping Hou
0ddc9f6e99
add back readerfont.lua
2012-06-12 18:04:08 +08:00