diff options
author | perepujal <perepujal> | 2011-03-01 09:34:09 (GMT) |
---|---|---|
committer | perepujal <perepujal> | 2011-03-01 09:34:09 (GMT) |
commit | d20e82ab0fd662d8a23323fa7db04eaee08e4abe (patch) | |
tree | 05bd6139e6e4f1b3711fbf3f4263748b470fa028 | |
parent | 0430a75775108a8081370dbe58befc493e9289c7 (diff) |
Enabling accessibility and onscreen keyboard via config files and command line
-rw-r--r-- | src/parse.gperf | 2 | ||||
-rw-r--r-- | src/parse.h | 2 | ||||
-rw-r--r-- | src/tuxpaint.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/src/parse.gperf b/src/parse.gperf index 6c4e71e..1c0b5cd 100644 --- a/src/parse.gperf +++ b/src/parse.gperf @@ -153,6 +153,8 @@ 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) diff --git a/src/parse.h b/src/parse.h index 8b11a05..7ba8fc6 100644 --- a/src/parse.h +++ b/src/parse.h @@ -51,6 +51,8 @@ struct cfginfo const char *use_print_config; const char *use_sound; const char *wheely; + const char *mouseaccessibility; + const char *onscreen_keyboard; }; #define CFGINFO_MAXOFFSET (sizeof(struct cfginfo)) diff --git a/src/tuxpaint.c b/src/tuxpaint.c index 588142a..1131094 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -21339,6 +21339,8 @@ static void setup_config(char *argv[]) SETBOOL(use_print_config); SETBOOL(use_sound); SETBOOL(wheely); + SETBOOL(mouseaccessibility); + SETBOOL(onscreen_keyboard); #undef SETBOOL if(tmpcfg.parsertmp_windowsize) |