File: DrawingAP.h

package info (click to toggle)
3dchess 0.8.1-23
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 548 kB
  • sloc: ansic: 3,035; makefile: 45
file content (52 lines) | stat: -rw-r--r-- 1,366 bytes parent folder | download | duplicates (14)
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
/* DrawingArea Private header file */

/* Copyright 1990, David Nedde
 *
 * Permission to use, copy, modify, and distribute this
 * software and its documentation for any purpose and without fee
 * is granted provided that the above copyright notice appears in all copies.
 * It is provided "as is" without express or implied warranty.
 */

#ifndef _XawDrawingAreaP_h
#define _XawDrawingAreaP_h

#include "DrawingA.h"
#ifdef X11_R3
#include <X11/SimpleP.h>
#else
#include <X11/Xaw/SimpleP.h>
#endif

/* The drawing area's contribution to the class record */
typedef struct _DrawingAreaClassPart {
  int ignore;
} DrawingAreaClassPart;

/* Drawing area's full class record */
typedef struct _DrawingAreaClassRec {
    CoreClassPart	core_class;
    SimpleClassPart	simple_class;
    DrawingAreaClassPart drawing_area;
} DrawingAreaClassRec;

extern DrawingAreaClassRec drawingAreaClassRec;

/* Resources added and status of drawing area widget */
typedef struct _XsDrawingAreaPart {
  /* Resources */
  XtCallbackList	expose_callback;
  XtCallbackList	input_callback;
  XtCallbackList	motion_callback;
  XtCallbackList	resize_callback;
} DrawingAreaPart;


/* Drawing area's instance record */
typedef struct _DrawingAreaRec {
    CorePart         core;
    SimplePart	     simple;
    DrawingAreaPart  drawing_area;
} DrawingAreaRec;

#endif /* _XawDrawingAreaP_h */