home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
x
/
xtici.zip
/
xtici
/
widgets
/
Zoom.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-08-28
|
4KB
|
115 lines
/*
* Code and supporting documentation (c) Copyright 1990 1991 Tektronix, Inc.
* All Rights Reserved
*
* This file is a component of an X Window System client which uses the Xcms
* Color Management System. TekColor is a trademark of Tektronix, Inc. The
* TekColor Editor is the subject of U.S. and foreign patents pending. The
* term "TekHVC" designates a particular color space that is the subject of
* U.S. Patent No. 4,985,853 (equivalent foreign patents pending).
* Permission is hereby granted to use, copy, modify, sell, and otherwise
* distribute this software and its documentation for the X Window System
* environment, for any purpose and without fee, provided that:
*
* 1. The code and documentation are only used to implement a
* TekColor Editor in an X Window System environment; and
* 2. This copyright and permission notice is reproduced in all copies
* of the code and in supporting documentation.
*
* Permission is granted to modify this code as required to allow it to
* be compiled on any host computer, provided that the functionality of
* the TekColor Editor is not modified in any way. A description of any
* modifications must be sent to Tektronix, Inc. Contact
* Tektronix Inc., P.O. Box 1000, Mail Station 60-850,
* Network Displays Division Engineering, Wilsonville, OR 97070.
*
* Tektronix makes no representation about the suitability of this software
* for any purpose. It is provided "as is" and with all faults.
*
* TEKTRONIX DISCLAIMS ALL WARRANTIES APPLICABLE TO THIS SOFTWARE,
* INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
* PARTICULAR PURPOSE. IN NO EVENT SHALL TEKTRONIX BE LIABLE FOR ANY
* SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
* RESULTING FROM LOSS OF USE, DATA, OR PROFITS, WHETHER IN AN ACTION OF
* CONTRACT, NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR THE PERFORMANCE OF THIS SOFTWARE.
*
* NAME
* Zoom.h -- definitions for Zoom.c
*
* DESCRIPTION
*
*
* HISTORY
*
* HISTORY END
*
*/
#ifndef LINT
#ifdef RCS_ID
static char *rcsid= "$Header: Zoom.h,v 1.1 91/08/22 11:22:19 adamsc Exp $";
#endif /* RCS_ID */
#endif /* LINT */
#ifndef _Zoom_h
#define _Zoom_h
#include "xticiSD.h"
#include <X11/Xmu/Converters.h>
/****************************************************************
*
* Zoom gadget
*
****************************************************************/
/* Resources:
Name Class RepType Default Value
---- ----- ------- -------------
leftMin Minimum int 0
rightMin Minimum int 0
leftMax Maximum int 100
rightMax Maximum int 100
leftLow Value int leftMin
leftHigh Value int leftMax
leftValue Value int 0
rightLow Value int rightMin
rightHigh Value int rightMax
rightValue Value int 0
orientation Orientation XtOrientation XtNorientVertical
foreground Foreground Pixel XtDefaultForeground
*/
/* this might belong in xticiSD.h */
#define XtNleftMin "leftMin"
#define XtNleftMax "leftMax"
#define XtNleftLow "leftLow"
#define XtNleftHigh "leftHigh"
#define XtNleftValue "leftValue"
#define XtNrightMin "rightMin"
#define XtNrightMax "rightMax"
#define XtNrightLow "rightLow"
#define XtNrightHigh "rightHigh"
#define XtNrightValue "rightValue"
#define XtCMinimum "Minimum"
#define XtCMaximum "Maximum"
/* declare specific ZoomWidget class and instance datatypes */
typedef struct _ZoomWidgetClassRec* ZoomWidgetClass;
typedef struct _ZoomWidgetRec* ZoomWidget;
/* declare the class constant */
extern WidgetClass zoomWidgetClass;
#ifndef IsZoom
#define IsZoom(w) XtIsSubclass(w, zoomWidgetClass)
#endif /* IsZoom */
#endif /* _Zoom_h */