home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / wps / graphic / xicon / src / xpm3writ.h < prev   
Encoding:
C/C++ Source or Header  |  1994-01-04  |  1.2 KB  |  40 lines

  1. /* This file is xmp3write.h (part of XIcon)
  2.  *
  3.  * Copyright (C) 1993 by Norman Walsh
  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 2 of the License, or
  8.  *   (at your option) 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.  
  20. #ifndef XPM3WRITE_H
  21. #define XPM3WRITE_H
  22.  
  23. #include "icondata.h"
  24.  
  25. typedef struct _rgb_color {
  26.   BYTE blue;
  27.   BYTE green;
  28.   BYTE red;
  29.   char *name;
  30. } rgb_color;
  31.  
  32. void write_xpm3_file(int count);
  33. rgb_color *read_rgb_txt(char *fn);
  34.  
  35. #endif /* not XPM3WRITE_H */
  36.  
  37.  
  38.  
  39.  
  40.