home *** CD-ROM | disk | FTP | other *** search
/ pc.louisiana.edu/pub/unix/ / Louisiana_UNIX.tar / Louisiana_UNIX / xspread3.0.zoo / plot.h < prev    next >
C/C++ Source or Header  |  1994-06-02  |  3KB  |  92 lines

  1. /*
  2.  * Copyright (C) 1992  Board of Regents of the University of Wisconsin
  3.  * on behalf of the Department of Electrical Engineering and Computer
  4.  * Science, University of Wisconsin-Milwaukee, Milwaukee, WI 53201.
  5.  *
  6.  * This program is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License as published by
  8.  * the Free Software Foundation; either version 2 of the License, or
  9.  * (at your option) any later version.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * a copy of which is included here in file "GNU_GENERAL"
  18.  * along with this program; if not, write to the Free Software
  19.  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20.  *
  21.  * The programs in this directory were developed by software engineering 
  22.  * teams as part of the course "Introduction to Software Engineering" 
  23.  * under the supervision of Professor G. Davida.
  24.  * This is a modification of a program written or modified by
  25.  * others.  The original copyrights, as per GNU General Public License,
  26.  * may still be applicable.  The UWM copyright is applicable only
  27.  * the those parts generated at UWM.
  28.  *
  29.  * Please send all changes, enhancements, and other comments about this
  30.  * software to
  31.  *             soft-eng@cs.uwm.edu
  32.  *
  33.  * No Warranty, expressed or implied, comes with this software.
  34.  * This software is intended to be used by not-for-profit
  35.  * organizations or by individuals for personal HOME use. 
  36.  * This software, or any of its parts, may not be used by for-profit
  37.  * organization, regardless of application or intended product or
  38.  * customer, without the permission of the Board of Regents of the 
  39.  * University  of Wisconsin is strictly forbidden. 
  40.  *
  41.  * Contact:    soft-eng@cs.uwm.edu
  42.  *            or
  43.  *        
  44.  *        Software Engineering Coordinator
  45.  *        Computer Science
  46.  *            Department of EECS
  47.  *        University of Wisconsin - Milwaukee
  48.  *        Milwaukee, WI  53201
  49.  *        414-229-4677
  50.  *
  51.  *        HISTORY,CLAIMS and CONTRIBUTIONS
  52.  */
  53. #define BORDER    1
  54. /* #define FONT    "fixed" */
  55. #define Max(a, b) ((a)>(b) ? (a) : (b))
  56. #define Min(a, b) ((a)<(b) ? (a) : (b))
  57. #define RECT_X   100
  58. #define RECT_Y   100
  59. #define RECT_W   450
  60. #define RECT_H   350
  61. #define WIN_W    650
  62. #define WIN_H    550
  63.  
  64.  
  65.    Window      win;        /* Window ID */
  66.    unsigned long pad;            /* Font size parameter */
  67.    unsigned long fg, bg, bd;    /* Pixel values */
  68.    unsigned long bw;        /* Border width */
  69.    XEvent      event;        /* Event received */
  70.    XSizeHints  xsh;        /* Size hints for window manager */
  71.    XSetWindowAttributes xswa;    /* Temporary Set Window Attribute struct */
  72.    XWindowAttributes xwa;    /* Temporary Window Attribute struct */
  73.  
  74.  
  75. extern double pow10();
  76. extern char *rm_tail_zero();
  77. extern void DrawOpenSquare();
  78. extern void DrawCloseSquare();
  79. extern void DrawOpenDiamon();
  80. extern void DrawCloseDiamon();
  81. extern void DrawCross();
  82. extern void DrawOpenTriangle();
  83.  
  84. extern double Lpow10();
  85. extern char *Lrm_tail_zero();
  86. extern void LDrawOpenSquare();
  87. extern void LDrawCloseSquare();
  88. extern void LDrawOpenDiamon();
  89. extern void LDrawCloseDiamon();
  90. extern void LDrawCross();
  91. extern void LDrawOpenTriangle();
  92.