syndilights/blib-1.1.7/blib/gif-types.h

77 lines
2.6 KiB
C

/* blib - Library of useful things to hack the Blinkenlights
*
* Copyright (c) 2001-2002 The Blinkenlights Crew
* Sven Neumann <sven@gimp.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* GIF loading routines stripped out of the GIF loading filter for The GIMP.
*
* Modified for blinkentools in 2001 by Sven Neumann.
* Included into blib in 2002 by Sven Neumann.
*
* GIMP plug-in written by Adam D. Moss <adam@gimp.org> <adam@foxbox.org>
*
* Based around original GIF code by David Koblas.
*
* This filter uses code taken from the "giftopnm" and "ppmtogif" programs
* which are part of the "netpbm" package.
*
* "The Graphics Interchange Format(c) is the Copyright property of
* CompuServe Incorporated. GIF(sm) is a Service Mark property of
* CompuServe Incorporated."
*/
/* Copyright notice for code which this plugin was long ago derived from */
/* +-------------------------------------------------------------------+ */
/* | Copyright 1990, 1991, 1993, David Koblas. (koblas@netcom.com) | */
/* | Permission to use, copy, modify, and distribute this software | */
/* | and its documentation for any purpose and without fee is hereby | */
/* | granted, provided that the above copyright notice appear in all | */
/* | copies and that both that copyright notice and this permission | */
/* | notice appear in supporting documentation. This software is | */
/* | provided "as is" without express or implied warranty. | */
/* +-------------------------------------------------------------------+ */
#ifndef __GIF_TYPES_H__
#define __GIF_TYPES_H__
#ifdef __cplusplus
extern "C" {
#endif
typedef enum
{
DISPOSE_UNSPECIFIED,
DISPOSE_COMBINE,
DISPOSE_REPLACE
} GIFDisposeType;
typedef enum
{
IMAGE,
GRAPHIC_CONTROL_EXTENSION,
COMMENT_EXTENSION,
UNKNOWN_EXTENSION,
TERMINATOR
} GIFRecordType;
#ifdef __cplusplus
}
#endif
#endif /* __GIF_TYPES_H__ */