File: resources.h

package info (click to toggle)
xvkbd 2.7a-3.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 484 kB
  • ctags: 910
  • sloc: ansic: 3,207; makefile: 1,059
file content (94 lines) | stat: -rw-r--r-- 2,361 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/*
 * xvkbd - Virtual Keyboard for X Window System
 *
 * Copyright (C) 2000 by Tom Sato <VEF00200@nifty.ne.jp>
 * http://homepage3.nifty.com/tsato/
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details.
 */

#ifndef PROGRAM_NAME
# define PROGRAM_NAME "xvkbd"
#endif

struct appres_struct {
  String description;
  String show_manual_command;

  String geometry;
  Boolean debug;
  Boolean xtest;
  Boolean always_on_top;
  Boolean jump_pointer;
  Boolean jump_pointer_always;
  Boolean quick_modifiers;
  Boolean altgr_lock;
  Boolean shift_lock;
  Boolean modifiers_lock;
  Boolean num_lock_state;
  Boolean auto_repeat;
  Boolean modal_keytop;
  Boolean minimizable;
  Boolean secure;
  Boolean nonexitable;
  int modal_threshold;
  Boolean keypad;
  Boolean function_key;
  Boolean compact;
  Boolean keypad_only;
  Boolean keypad_keysym;
  Boolean auto_add_keysym;
  Boolean list_widgets;
  String text;
  String file;
  String window;
  String widget;
  XFontStruct *general_font;
  XFontStruct *letter_font;
  XFontStruct *special_font;
  XFontStruct *keypad_font;
#ifdef USE_I18N
  XFontSet special_fontset;
#endif
  Pixel general_background;
  Pixel special_background;
  Pixel special_foreground;
  Pixel highlight_background;
  Pixel highlight_foreground;
  Pixel focus_background;
  Pixel remote_focus_background;
  Pixel balloon_background;
  Pixel launch_balloon_background;

  String keys_normal;
  String keys_shift;
  String keys_altgr;
  String keys_shift_altgr;
  String key_labels;
  String normal_key_labels;
  String shift_key_labels;
  String altgr_key_labels;
  String shift_altgr_key_labels;
  String deadkeys;
  int altgr_keycode;

  String key_file;
  String dict_file;
  String customizations;
  int editable_function_keys;

  float max_width_ratio;
  float max_height_ratio;
} appres;


/* FindWidget() is defined in findwidget.c */
extern Window FindWidget(Widget w, Window client, const char *name);