home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
x
/
volume8
/
ball2
/
part01
/
xball
/
DrawingAP.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-06-26
|
1KB
|
56 lines
/* DrawingArea Private header file */
/* Copyright 1990, David Nedde
/*
/* This software is released into the public domain.
/* 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 _XtDrawingAreaP_h
#define _XtDrawingAreaP_h
#include "DrawingA.h"
#ifdef X11_R3
#include <X11/LabelP.h>
#else
#include <X11/Xaw/LabelP.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;
LabelClassPart label_class;
DrawingAreaClassPart drawing_area;
} DrawingAreaClassRec;
extern DrawingAreaClassRec drawingAreaClassRec;
/* Resources added and status of drawing area widget */
typedef struct _XsDrawingAreaPart {
/* Resources */
XtCallbackList expose_callbacks;
XtCallbackList input_callbacks;
XtCallbackList motion_callbacks;
XtCallbackList resize_callbacks;
} DrawingAreaPart;
/* Drawing area's instance record */
typedef struct _DrawingAreaRec {
CorePart core;
SimplePart simple;
LabelPart label;
DrawingAreaPart drawing_area;
} DrawingAreaRec;
#endif /* _XawDrawingAreaP_h */