Documenting mouse accessibility and onscreen keyboard options.
Normalizing those options ('-' instead of '_' in their names, like other opts.)
This commit is contained in:
parent
c314c49927
commit
2715f918e9
7 changed files with 130 additions and 81 deletions
130
src/parse.gperf
130
src/parse.gperf
|
|
@ -90,71 +90,71 @@ static void imm_copying(void)
|
|||
struct cfg
|
||||
|
||||
%%
|
||||
alllocalefonts, POSBOOL(all_locale_fonts)
|
||||
allowscreensaver, NEGBOOL(disable_screensaver)
|
||||
altprint, MULTI(alt_print_command_default)
|
||||
altprintalways, MULTI(alt_print_command_default)
|
||||
altprintcommand, MULTI(altprintcommand)
|
||||
altprintmod, MULTI(alt_print_command_default)
|
||||
altprintnever, MULTI(alt_print_command_default)
|
||||
autosave, POSBOOL(autosave_on_quit)
|
||||
buttondistinction, NEGBOOL(no_button_distinction)
|
||||
colorfile, MULTI(colorfile)
|
||||
complexshapes, NEGBOOL(simple_shapes)
|
||||
copying, IMM(copying)
|
||||
currentlocalefont, NEGBOOL(all_locale_fonts)
|
||||
datadir, MULTI(datadir)
|
||||
disablescreensaver, POSBOOL(disable_screensaver)
|
||||
dontgrab, NEGBOOL(grab_input)
|
||||
dontmirrorstamps, NEGBOOL(mirrorstamps)
|
||||
fancycursors, NEGBOOL(no_fancy_cursors)
|
||||
fullscreen, MULTI(parsertmp_fullscreen_native)
|
||||
grab, POSBOOL(grab_input)
|
||||
help, IMM(help)
|
||||
hidecursor, POSBOOL(hide_cursor)
|
||||
keyboard, POSBOOL(keymouse)
|
||||
label, NEGBOOL(disable_label)
|
||||
lang, MULTI(parsertmp_lang)
|
||||
locale, MULTI(parsertmp_locale)
|
||||
lockfile, POSBOOL(ok_to_use_lockfile)
|
||||
magiccontrols, NEGBOOL(disable_magic_controls)
|
||||
mirrorstamps, POSBOOL(mirrorstamps)
|
||||
mixedcase, NEGBOOL(only_uppercase)
|
||||
mouse, NEGBOOL(keymouse)
|
||||
native, POSBOOL(native_screensize)
|
||||
orient, MULTI(rotate_orientation)
|
||||
outlines, NEGBOOL(dont_do_xor)
|
||||
papersize, MULTI(papersize)
|
||||
print, NEGBOOL(disable_print)
|
||||
printcfg, POSBOOL(use_print_config)
|
||||
printcommand, MULTI(printcommand)
|
||||
printdelay, MULTI(print_delay)
|
||||
quit, NEGBOOL(disable_quit)
|
||||
save, NEGBOOL(disable_save)
|
||||
savedir, MULTI(savedir)
|
||||
saveover, MULTI(promptless_save)
|
||||
saveoverask, MULTI(promptless_save)
|
||||
saveovernew, MULTI(promptless_save)
|
||||
shortcuts, NEGBOOL(noshortcuts)
|
||||
showcursor, NEGBOOL(hide_cursor)
|
||||
simpleshapes, POSBOOL(simple_shapes)
|
||||
sound, POSBOOL(use_sound)
|
||||
stampcontrols, NEGBOOL(disable_stamp_controls)
|
||||
stamps, NEGBOOL(dont_load_stamps)
|
||||
stampsize, MULTI(stamp_size_override)
|
||||
startblank, POSBOOL(start_blank)
|
||||
startlast, NEGBOOL(start_blank)
|
||||
sysconfig, POSBOOL(parsertmp_sysconfig)
|
||||
sysfonts, NEGBOOL(no_system_fonts)
|
||||
uppercase, POSBOOL(only_uppercase)
|
||||
usage, IMM(usage)
|
||||
verbose-version, IMM(verbose_version)
|
||||
version, IMM(version)
|
||||
wheelmouse, POSBOOL(wheely)
|
||||
windowed, NEGBOOL(fullscreen)
|
||||
windowsize, MULTI(parsertmp_windowsize)
|
||||
mouse_accessibility, POSBOOL(mouseaccessibility)
|
||||
onscreen_keyboard, POSBOOL(onscreen_keyboard)
|
||||
alllocalefonts, POSBOOL(all_locale_fonts)
|
||||
allowscreensaver, NEGBOOL(disable_screensaver)
|
||||
altprint, MULTI(alt_print_command_default)
|
||||
altprintalways, MULTI(alt_print_command_default)
|
||||
altprintcommand, MULTI(altprintcommand)
|
||||
altprintmod, MULTI(alt_print_command_default)
|
||||
altprintnever, MULTI(alt_print_command_default)
|
||||
autosave, POSBOOL(autosave_on_quit)
|
||||
buttondistinction, NEGBOOL(no_button_distinction)
|
||||
colorfile, MULTI(colorfile)
|
||||
complexshapes, NEGBOOL(simple_shapes)
|
||||
copying, IMM(copying)
|
||||
currentlocalefont, NEGBOOL(all_locale_fonts)
|
||||
datadir, MULTI(datadir)
|
||||
disablescreensaver, POSBOOL(disable_screensaver)
|
||||
dontgrab, NEGBOOL(grab_input)
|
||||
dontmirrorstamps, NEGBOOL(mirrorstamps)
|
||||
fancycursors, NEGBOOL(no_fancy_cursors)
|
||||
fullscreen, MULTI(parsertmp_fullscreen_native)
|
||||
grab, POSBOOL(grab_input)
|
||||
help, IMM(help)
|
||||
hidecursor, POSBOOL(hide_cursor)
|
||||
keyboard, POSBOOL(keymouse)
|
||||
label, NEGBOOL(disable_label)
|
||||
lang, MULTI(parsertmp_lang)
|
||||
locale, MULTI(parsertmp_locale)
|
||||
lockfile, POSBOOL(ok_to_use_lockfile)
|
||||
magiccontrols, NEGBOOL(disable_magic_controls)
|
||||
mirrorstamps, POSBOOL(mirrorstamps)
|
||||
mixedcase, NEGBOOL(only_uppercase)
|
||||
mouse, NEGBOOL(keymouse)
|
||||
native, POSBOOL(native_screensize)
|
||||
orient, MULTI(rotate_orientation)
|
||||
outlines, NEGBOOL(dont_do_xor)
|
||||
papersize, MULTI(papersize)
|
||||
print, NEGBOOL(disable_print)
|
||||
printcfg, POSBOOL(use_print_config)
|
||||
printcommand, MULTI(printcommand)
|
||||
printdelay, MULTI(print_delay)
|
||||
quit, NEGBOOL(disable_quit)
|
||||
save, NEGBOOL(disable_save)
|
||||
savedir, MULTI(savedir)
|
||||
saveover, MULTI(promptless_save)
|
||||
saveoverask, MULTI(promptless_save)
|
||||
saveovernew, MULTI(promptless_save)
|
||||
shortcuts, NEGBOOL(noshortcuts)
|
||||
showcursor, NEGBOOL(hide_cursor)
|
||||
simpleshapes, POSBOOL(simple_shapes)
|
||||
sound, POSBOOL(use_sound)
|
||||
stampcontrols, NEGBOOL(disable_stamp_controls)
|
||||
stamps, NEGBOOL(dont_load_stamps)
|
||||
stampsize, MULTI(stamp_size_override)
|
||||
startblank, POSBOOL(start_blank)
|
||||
startlast, NEGBOOL(start_blank)
|
||||
sysconfig, POSBOOL(parsertmp_sysconfig)
|
||||
sysfonts, NEGBOOL(no_system_fonts)
|
||||
uppercase, POSBOOL(only_uppercase)
|
||||
usage, IMM(usage)
|
||||
verbose-version, IMM(verbose_version)
|
||||
version, IMM(version)
|
||||
wheelmouse, POSBOOL(wheely)
|
||||
windowed, NEGBOOL(fullscreen)
|
||||
windowsize, MULTI(parsertmp_windowsize)
|
||||
mouse-accessibility, POSBOOL(mouseaccessibility)
|
||||
onscreen-keyboard, POSBOOL(onscreen_keyboard)
|
||||
%%
|
||||
|
||||
void parse_one_option(struct cfginfo *restrict tmpcfg, const char *str, const char *opt, const char *restrict src)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue