[gimp-dds] / tags / release-2.0.2 / ddsplugin.h Repository:
ViewVC logotype

View of /tags/release-2.0.2/ddsplugin.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 95 - (download) (as text) (annotate)
Thu Nov 29 23:58:16 2007 UTC (23 months, 3 weeks ago) by cocidius
File size: 1385 byte(s)
Release 2.0.2 tag
    1 /*
    2    DDS GIMP plugin
    3 
    4    Copyright (C) 2004 Shawn Kirst <skirst@fuse.net>,
    5    with parts (C) 2003 Arne Reuter <homepage@arnereuter.de> where specified.
    6 
    7    This program is free software; you can redistribute it and/or
    8    modify it under the terms of the GNU General Public
    9    License as published by the Free Software Foundation; either
   10    version 2 of the License, or (at your option) any later version.
   11 
   12    This program is distributed in the hope that it will be useful,
   13    but WITHOUT ANY WARRANTY; without even the implied warranty of
   14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   15    General Public License for more details.
   16 
   17    You should have received a copy of the GNU General Public License
   18    along with this program; see the file COPYING.  If not, write to
   19    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
   20    Boston, MA 02111-1307, USA.
   21 */
   22 
   23 #ifndef __DDSPLUGIN_H
   24 #define __DDSPLUGIN_H
   25 
   26 typedef struct
   27 {
   28    int compression;
   29    int mipmaps;
   30    int savetype;
   31    int format;
   32    int transindex;
   33    int color_type;
   34    int dither;
   35    int show_adv_opt;
   36 } DDSSaveVals;
   37 
   38 extern DDSSaveVals ddsvals;
   39 
   40 extern gint32 read_dds(gchar *);
   41 extern GimpPDBStatusType write_dds(gchar *, gint32, gint32);
   42 
   43 extern gint interactive_dds;
   44 extern gchar *prog_name;
   45 extern gchar *filename;
   46 extern FILE *errorFile;
   47 
   48 #define LOAD_PROC "file-dds-load"
   49 #define SAVE_PROC "file-dds-save"
   50 
   51 #endif

ViewVC Help
Powered by ViewVC 1.0.4