File: base_data.c

package info (click to toggle)
xview 3.2p1.4-4
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 20,068 kB
  • ctags: 24,304
  • sloc: ansic: 241,105; yacc: 1,392; sh: 1,140; makefile: 273; lex: 76; perl: 54; asm: 50; cpp: 15
file content (43 lines) | stat: -rw-r--r-- 1,051 bytes parent folder | download | duplicates (9)
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
#ifndef lint
#ifdef sccs
static char     sccsid[] = "@(#)base_data.c 1.13 90/03/06";
#endif
#endif
#include <xview_private/draw_impl.h>
#include <xview/generic.h>
/*
 *	(c) Copyright 1989 Sun Microsystems, Inc. Sun design patents 
 *	pending in the U.S. and foreign countries. See LEGAL NOTICE 
 *	file for terms of the license.
 */
extern int      generic_init(), generic_destroy();
extern Xv_opaque generic_get(), generic_set_avlist();

Xv_pkg          xv_generic_pkg = {
    "Generic",
    ATTR_PKG_GENERIC,
    sizeof(Xv_generic_struct),
    NULL,			/* No parent package */
    generic_init,
    generic_set_avlist,
    generic_get,
    generic_destroy,
    NULL			/* No find procedure */
};

Xv_pkg          xv_drawable_pkg = {
    "Drawable",
    ATTR_PKG_DRAWABLE,
    sizeof(Xv_drawable_struct),
    &xv_generic_pkg,
    drawable_init,
    NULL,			/* No set allowed */
    drawable_get_attr,
    drawable_destroy,
    NULL,			/* No find procedure */
};


/* if 0; ignore Key-press/mouse-press synthetic events */
int  defeat_event_security;