|
|
|
@ -2,6 +2,19 @@ CreOptions = {
|
|
|
|
|
prefix = 'copt',
|
|
|
|
|
default_options = {
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
icon = "resources/icons/appbar.column.two.large.png",
|
|
|
|
|
options = {
|
|
|
|
|
{
|
|
|
|
|
name = "line_spacing",
|
|
|
|
|
name_text = "Line Spacing",
|
|
|
|
|
item_text = {"decrease", "increase"},
|
|
|
|
|
args = {"decrease", "increase"},
|
|
|
|
|
default_arg = nil,
|
|
|
|
|
event = "ChangeLineSpace",
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
icon = "resources/icons/appbar.text.size.large.png",
|
|
|
|
|
options = {
|
|
|
|
@ -17,5 +30,33 @@ CreOptions = {
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
icon = "resources/icons/appbar.grade.b.large.png",
|
|
|
|
|
options = {
|
|
|
|
|
{
|
|
|
|
|
name = "font_weight",
|
|
|
|
|
name_text = "Font weight",
|
|
|
|
|
item_text = {"toggle bolder"},
|
|
|
|
|
-- args is indeed not used, we put here just to keep the
|
|
|
|
|
-- UI happy.
|
|
|
|
|
args = {1},
|
|
|
|
|
default_arg = nil,
|
|
|
|
|
event = "ToggleFontBolder",
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
icon = "resources/icons/appbar.settings.large.png",
|
|
|
|
|
options = {
|
|
|
|
|
{
|
|
|
|
|
name = "view_mode",
|
|
|
|
|
name_text = "View mode",
|
|
|
|
|
item_text = {"scroll", "page"},
|
|
|
|
|
args = {"scroll", "page"},
|
|
|
|
|
default_arg = "page",
|
|
|
|
|
event = "SetViewMode",
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|