/*
static char *sid_xvideo_c = "@(#)xvideo.c	1.3 8/7/88 Parallax Graphics Inc";
"$Header: VVideoP.h,v 1.2 88/08/19 14:53:05 kit Exp $";
"$Athena: VVideoP.h,v 1.2 88/08/19 14:53:05 kit Exp $";
*/

/*  This is the video widget, Used for displaying live video into an
 *  X window.
 *
 *	Created: 	8/19/88
 *	By:		Chris D. Peterson
 *                      MIT - Project Athena
 *
 *      $Source: /site/mit/vtk/Video/RCS/VVideoP.h,v $
 *      $Author: kit $
 *      $Header: VVideoP.h,v 1.2 88/08/19 14:53:05 kit Exp $
 *	
 */

/*
 * Copyright 1988 by the Massachusetts Institute of Technology
 * 
 * Permission to use, copy, modify, and distribute this
 * software and its documentation for any purpose and without
 * fee is hereby granted, provided that the above copyright
 * notice appear in all copies and that both that copyright
 * notice and this permission notice appear in supporting
 * documentation, and that the name of M.I.T. not be used in
 * advertising or publicity pertaining to distribution of the
 * software without specific, written prior permission.
 * M.I.T. makes no representations about the suitability of
 * this software for any purpose.  It is provided "as is"
 * without express or implied warranty.
 */
 
/*   Copyright (c) 1988 by
 *   PARALLAX GRAPHICS, INCORPORATED, Santa Clara, California.
 *
 *   This software is furnished on an as-is basis, and may be used and copied
 *   only with the inclusion of the above copyright notice.
 *
 *   The information in this software is subject to change without notice.
 *   No committment is made as to the usability or reliability of this
 *   software.
 *
 *   Parallax Graphics, Inc.
 *   2500 Condensa Street
 *   Santa Clara, California  95051
 */


#ifndef _XtVideoP_h
#define _XtVideoP_h

/***********************************************************************
 *
 * Video Widget Private Data
 *
 ***********************************************************************/

#include "VVideo.h"
#include <X11/SimpleP.h>

#define XtRVideoMode            "VideoMode"

/* New fields for the Video widget class record */

typedef struct {int foo;} VideoClassPart;

/* Full class record declaration */
typedef struct _VideoClassRec {
    CoreClassPart	core_class;
    SimpleClassPart	simple_class;
    VideoClassPart	video_class;
} VideoClassRec;

extern VideoClassRec videoClassRec;

/* New fields for the Video widget record */
typedef struct {
    /* resources */
    XtVideoMode	mode;

    /* private state */
    Boolean     clear;
    Colormap    colormap;
    XRectangle  input;
    GC          gc;
} VideoPart;

/****************************************************************
 *
 * Full instance record declaration
 *
 ****************************************************************/

typedef struct _VideoRec {
    CorePart	core;
    SimplePart	simple;
    VideoPart	video;
} VideoRec;

#endif _XtVideoP_h
