1997-11-25 06:05:25 +08:00
|
|
|
#ifndef __XCF_H__
|
|
|
|
#define __XCF_H__
|
|
|
|
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct _XcfInfo XcfInfo;
|
|
|
|
|
|
|
|
struct _XcfInfo
|
|
|
|
{
|
|
|
|
FILE *fp;
|
|
|
|
guint cp;
|
|
|
|
char *filename;
|
1998-01-22 15:02:57 +08:00
|
|
|
Layer * active_layer;
|
|
|
|
Channel * active_channel;
|
|
|
|
GimpDrawable * floating_sel_drawable;
|
|
|
|
Layer * floating_sel;
|
1997-11-25 06:05:25 +08:00
|
|
|
guint floating_sel_offset;
|
|
|
|
int swap_num;
|
|
|
|
int *ref_count;
|
|
|
|
int compression;
|
|
|
|
int file_version;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
void xcf_init (void);
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* __XCF_H__ */
|