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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 106 - (download) (as text) (annotate)
Thu May 8 01:29:25 2008 UTC (18 months, 2 weeks ago) by cocidius
File size: 1565 byte(s)
Release 2.0.4 tag
    1 /*
    2    DDS GIMP plugin
    3 
    4    Copyright (C) 2004-2008 Shawn Kirst <skirst@insightbb.com>,
    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 mipmap_filter;
   36    int show_adv_opt;
   37 } DDSWriteVals;
   38 
   39 typedef struct
   40 {
   41    int show_dialog;
   42    int mipmaps;
   43 } DDSReadVals;
   44 
   45 extern DDSWriteVals dds_write_vals;
   46 extern DDSReadVals dds_read_vals;
   47 
   48 extern GimpPDBStatusType read_dds(gchar *filename, gint32 *imageID);
   49 extern GimpPDBStatusType write_dds(gchar *, gint32, gint32);
   50 
   51 extern gint interactive_dds;
   52 extern gchar *prog_name;
   53 extern gchar *filename;
   54 extern FILE *errorFile;
   55 
   56 #define LOAD_PROC "file-dds-load"
   57 #define SAVE_PROC "file-dds-save"
   58 
   59 #endif

ViewVC Help
Powered by ViewVC 1.0.4