home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / Share / Editores / Perl5 / perl / lib / site / Tk / pTk / tixWinPort.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-08-10  |  956 b   |  46 lines

  1. /*
  2.  * tixWinPort.h --
  3.  *
  4.  *    This header file handles porting issues that occur because of
  5.  *    differences between systems.  It reads in platform specific
  6.  *    portability files.
  7.  *
  8.  * Copyright (c) 1996, Expert Interface Technologies
  9.  *
  10.  * See the file "license.terms" for information on usage and redistribution
  11.  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  12.  *
  13.  */
  14.  
  15. #ifndef _TIX_WINPORT_H_
  16. #define _TIX_WINPORT_H_
  17.  
  18. #include <malloc.h>
  19. #include <stdio.h>
  20.  
  21. #include <stdlib.h>
  22. #include <string.h>
  23. #include <errno.h>
  24. #include <sys/stat.h>
  25. #include <sys/timeb.h>
  26. #include <time.h>
  27. #include <io.h>
  28. #include <fcntl.h>
  29.  
  30. #define WIN32_LEAN_AND_MEAN
  31. #    ifndef __PM__
  32. #         include <windows.h>
  33. #    endif
  34. #undef WIN32_LEAN_AND_MEAN
  35.  
  36. struct _TixpSubRegion {
  37.     Pixmap pixmap;
  38.     int origX, origY;
  39.     int x, y;
  40.     int width, height;
  41. };
  42.  
  43. typedef unsigned char UNSIGNED_CHAR;
  44.  
  45. #endif /* _TIX_WINPORT_H_ */
  46.