add readerconfig to document supported by crengine

* now font size can be changed by readerconfig
This commit is contained in:
Qingping Hou
2013-01-06 23:21:11 -05:00
parent ba00dcc701
commit fdc05b066c
4 changed files with 44 additions and 7 deletions

View File

@@ -0,0 +1,21 @@
CreOptions = {
prefix = 'copt',
default_options = {
},
{
icon = "resources/icons/appbar.text.size.large.png",
options = {
{
name = "font_size",
item_text = {"Aa", "Aa", "Aa", "Aa", "Aa", "Aa", "Aa", "Aa"},
item_align_center = 1.0,
spacing = Screen:getWidth()*0.03,
item_font_size = {18, 20, 22, 24, 29, 33, 39, 44},
values = {18, 20, 22, 24, 29, 33, 39, 44},
default_value = 1,
event = "SetFontSize",
},
}
},
}