]> git.lyx.org Git - lyx.git/blob - development/autotests/xvkbd/resources.h
Added custom xvkbd for avoiding typing into other windows.
[lyx.git] / development / autotests / xvkbd / resources.h
1 /*
2  * xvkbd - Virtual Keyboard for X Window System
3  *
4  * Copyright (C) 2000 by Tom Sato <VEF00200@nifty.ne.jp>
5  * http://homepage3.nifty.com/tsato/
6  *
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.
11  *
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.
16  */
17
18 #ifndef PROGRAM_NAME
19 # define PROGRAM_NAME "xvkbd"
20 #endif
21
22 struct appres_struct {
23   String description;
24   String show_manual_command;
25
26   String geometry;
27   Boolean inherit_geometry;
28   Boolean version;
29   Boolean debug;
30   Boolean xtest;
31   Boolean no_sync;
32   Boolean always_on_top;
33   Boolean wm_toolbar;
34   Boolean jump_pointer;
35   Boolean jump_pointer_always;
36   Boolean jump_pointer_back;
37   Boolean quick_modifiers;
38   Boolean altgr_lock;
39   Boolean shift_lock;
40   Boolean modifiers_lock;
41   Boolean num_lock_state;
42   Boolean auto_repeat;
43   Boolean modal_keytop;
44   Boolean minimizable;
45   Boolean secure;
46   Boolean no_root;
47   Boolean nonexitable;
48   int modal_threshold;
49   Boolean keypad;
50   Boolean function_key;
51   Boolean compact;
52   Boolean keypad_only;
53   Boolean keypad_keysym;
54   Boolean auto_add_keysym;
55   Boolean list_widgets;
56   String positive_modifiers;
57   String text;
58   String file;
59   String window;
60   String instance;
61   String widget;
62   XFontStruct *general_font;
63   XFontStruct *letter_font;
64   XFontStruct *special_font;
65   XFontStruct *keypad_font;
66 #ifdef USE_I18N
67   XFontSet special_fontset;
68 #endif
69   Pixel general_background;
70   Pixel special_background;
71   Pixel special_foreground;
72   Pixel highlight_background;
73   Pixel highlight_foreground;
74   Pixel focus_background;
75   Pixel remote_focus_background;
76   Pixel balloon_background;
77   Pixel launch_balloon_background;
78
79   String keys_normal;
80   String keys_shift;
81   String keys_altgr;
82   String keys_shift_altgr;
83   String key_labels;
84   String normal_key_labels;
85   String shift_key_labels;
86   String altgr_key_labels;
87   String shift_altgr_key_labels;
88
89   String keypad_normal;
90   String keypad_shift;
91   String keypad_labels;
92
93   String deadkeys;
94   int altgr_keycode;
95
96   String key_file;
97   String dict_file;
98   String customizations;
99   int editable_function_keys;
100
101   float max_width_ratio;
102   float max_height_ratio;
103   int text_delay;
104   int key_click_pitch;
105   int key_click_duration;
106   int autoclick_delay;
107 } appres;
108
109
110 /* FindWidget() is defined in findwidget.c */
111 extern Window FindWidget(Widget w, Window client, const char *name);