Parent Directory
|
Revision Log
Release 2.0.7 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 #define DECODE_YCOCG_PROC "color-decode-ycocg" 60 #define DECODE_YCOCG_SCALED_PROC "color-decode-ycocg-scaled" 61 #define DECODE_ALPHA_EXP_PROC "color-decode-alpha-exp" 62 63 #endif
| ViewVC Help | |
| Powered by ViewVC 1.0.4 |