MCPcopy Create free account
hub / github.com/buggins/coolreader / CRSettingsMenu

Method CRSettingsMenu

cr3gui/src/settings.cpp:307–754  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305
306
307CRSettingsMenu::CRSettingsMenu( CRGUIWindowManager * wm, CRPropRef newProps, int id, LVFontRef font, CRGUIAcceleratorTableRef menuAccelerators, lvRect &rc )
308: CRFullScreenMenu( wm, id, lString16(_("Settings")), 8, rc ),
309 props( newProps ),
310 _menuAccelerators( menuAccelerators )
311{
312 setSkinName(lString16(L"#settings"));
313
314 _fullscreen = true;
315
316 item_def_t antialiasing_modes[] = {
317 {_("On for all fonts"), "2"},
318 {_("On for big fonts only"), "1"},
319 {_("Off"), "0"},
320 {NULL, NULL},
321 };
322
323 item_def_t embedded_styles[] = {
324 {_("On"), "1"},
325 {_("Off"), "0"},
326 {NULL, NULL},
327 };
328
329 item_def_t bookmark_icons[] = {
330 {_("On"), "1"},
331 {_("Off"), "0"},
332 {NULL, NULL},
333 };
334
335 item_def_t kerning_options[] = {
336 {_("On"), "1"},
337 {_("Off"), "0"},
338 {NULL, NULL},
339 };
340
341 item_def_t floating_punctuation_options[] = {
342 {_("On"), "1"},
343 {_("Off"), "0"},
344 {NULL, NULL},
345 };
346
347 item_def_t footnotes[] = {
348 {_("On"), "1"},
349 {_("Off"), "0"},
350 {NULL, NULL},
351 };
352
353 item_def_t showtime[] = {
354 {_("On"), "1"},
355 {_("Off"), "0"},
356 {NULL, NULL},
357 };
358
359 item_def_t preformatted_text[] = {
360 {_("On"), "1"},
361 {_("Off"), "0"},
362 {NULL, NULL},
363 };
364

Callers

nothing calls this directly

Calls 15

lString16Class · 0.85
lString8Class · 0.85
UnicodeToUtf8Function · 0.85
setSkinNameMethod · 0.80
getFontFaceMethod · 0.80
getItemSkinMethod · 0.80
getScreenMethod · 0.80
setValueFontMethod · 0.80
getCountMethod · 0.45
GetFontMethod · 0.45
setAcceleratorsMethod · 0.45
getFaceListMethod · 0.45

Tested by

no test coverage detected