2 * xvkbd - Virtual Keyboard for X Window System
4 * Copyright (C) 2000 by Tom Sato <VEF00200@nifty.ne.jp>
5 * http://homepage3.nifty.com/tsato/
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 * See the GNU General Public License for more details.
19 # define PROGRAM_NAME "xvkbd"
22 struct appres_struct {
24 String show_manual_command;
27 Boolean inherit_geometry;
32 Boolean always_on_top;
35 Boolean jump_pointer_always;
36 Boolean jump_pointer_back;
37 Boolean quick_modifiers;
40 Boolean modifiers_lock;
41 Boolean num_lock_state;
53 Boolean keypad_keysym;
54 Boolean auto_add_keysym;
56 String positive_modifiers;
63 XFontStruct *general_font;
64 XFontStruct *letter_font;
65 XFontStruct *special_font;
66 XFontStruct *keypad_font;
68 XFontSet special_fontset;
70 Pixel general_background;
71 Pixel special_background;
72 Pixel special_foreground;
73 Pixel highlight_background;
74 Pixel highlight_foreground;
75 Pixel focus_background;
76 Pixel remote_focus_background;
77 Pixel balloon_background;
78 Pixel launch_balloon_background;
83 String keys_shift_altgr;
85 String normal_key_labels;
86 String shift_key_labels;
87 String altgr_key_labels;
88 String shift_altgr_key_labels;
99 String customizations;
100 int editable_function_keys;
102 float max_width_ratio;
103 float max_height_ratio;
106 int key_click_duration;
111 /* FindWidget() is defined in findwidget.c */
112 extern Window FindWidget(Widget w, Window client, const char *name);