home *** CD-ROM | disk | FTP | other *** search
/ vsiftp.vmssoftware.com / VSIPUBLIC@vsiftp.vmssoftware.com.tar / FREEWARE / FREEWARE40.ZIP / xtron-1_1a / wintype.h < prev    next >
C/C++ Source or Header  |  1995-04-16  |  1KB  |  49 lines

  1. /* wintype.h - xtron v1.1 header for wintype.c
  2.  *
  3.  *   Copyright (C) 1995 Rhett D. Jacobs <rhett@hotel.canberra.edu.au>
  4.  *
  5.  *  This program is free software; you can redistribute it and/or modify
  6.  *  it under the terms of the GNU General Public License as published by
  7.  *  the Free Software Foundation; either version 1, or (at your option)
  8.  *  any later version.
  9.  *
  10.  *  This program is distributed in the hope that it will be useful,
  11.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.  *  GNU General Public License for more details.
  14.  *
  15.  *  You should have received a copy of the GNU General Public License
  16.  *  along with this program; if not, write to the Free Software
  17.  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  *
  19.  *  Last Modified: 16/4/95
  20.  */
  21.  
  22. #ifndef _WINTYPE_H
  23. #define _WINTYPE_H
  24.  
  25. #include <stdio.h>
  26. #include <stdlib.h>
  27. #include <X11/Xlib.h>    
  28. #include <X11/Xutil.h>    
  29. #include <X11/keysym.h>
  30.  
  31. #include "xpm2pixmap.h"
  32.  
  33. extern Display *display;
  34. extern int screen;
  35. extern Window main_window;
  36. extern GC gc;
  37. extern unsigned long foreground;
  38. extern unsigned long background;
  39.  
  40. void win_setup(void);
  41. void win_shutdown(void);
  42. GC win_getGC(void);
  43. unsigned long ColourSet(char *name);
  44. Window win_open(int x, int y, int width, int height, int border_width,
  45.         Window parent, int istoplevel, int argc, char *argv[],
  46.         char *win_name);
  47.  
  48. #endif
  49.