reordered the GimpFillType enum, unfortunately this will cause a lot of

Tue Jul 28 15:04:39 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/gimpdrawable.h: reordered the GimpFillType enum,
	unfortunately this will cause a lot of recompilation for the
	rest of you.
This commit is contained in:
CDT 1998 Larry Ewing 1998-07-28 20:04:11 +00:00 committed by Larry Ewing
parent 46df3df747
commit ef3e0fa7ba
3 changed files with 40 additions and 20 deletions

View File

@ -1,3 +1,9 @@
Tue Jul 28 15:04:39 CDT 1998 Larry Ewing <lewing@gimp.org>
* app/gimpdrawable.h: reordered the GimpFillType enum,
unfortunately this will cause a lot of recompilation for the
rest of you.
Tue Jul 28 14:14:43 CDT 1998 Larry Ewing <lewing@gimp.org> Tue Jul 28 14:14:43 CDT 1998 Larry Ewing <lewing@gimp.org>
* app/drawable.c (drawable_fill): added a case for * app/drawable.c (drawable_fill): added a case for

View File

@ -32,21 +32,24 @@ GtkType gimp_drawable_get_type (void);
typedef enum typedef enum
{ {
FOREGROUND_FILL,
BACKGROUND_FILL, BACKGROUND_FILL,
WHITE_FILL, WHITE_FILL,
TRANSPARENT_FILL, TRANSPARENT_FILL,
NO_FILL, NO_FILL
FOREGROUND_FILL
} GimpFillType; } GimpFillType;
/* drawable access functions */ /* drawable access functions */
void gimp_drawable_merge_shadow (GimpDrawable *, int); void gimp_drawable_merge_shadow (GimpDrawable *, int);
void gimp_drawable_fill (GimpDrawable *drawable, guchar r, guchar g, void gimp_drawable_fill (GimpDrawable *drawable,
guchar r, guchar g,
guchar b, guchar a); guchar b, guchar a);
int gimp_drawable_mask_bounds (GimpDrawable *, int gimp_drawable_mask_bounds (GimpDrawable *,
int *, int *, int *, int *); int *, int *,
int *, int *);
void gimp_drawable_invalidate_preview (GimpDrawable *); void gimp_drawable_invalidate_preview (GimpDrawable *);
int gimp_drawable_dirty (GimpDrawable *); int gimp_drawable_dirty (GimpDrawable *);
int gimp_drawable_clean (GimpDrawable *); int gimp_drawable_clean (GimpDrawable *);
@ -62,7 +65,9 @@ int gimp_drawable_bytes (GimpDrawable *);
int gimp_drawable_width (GimpDrawable *); int gimp_drawable_width (GimpDrawable *);
int gimp_drawable_height (GimpDrawable *); int gimp_drawable_height (GimpDrawable *);
int gimp_drawable_visible (GimpDrawable *); int gimp_drawable_visible (GimpDrawable *);
void gimp_drawable_offsets (GimpDrawable *, int *, int *); void gimp_drawable_offsets (GimpDrawable *,
int *, int *);
unsigned char * gimp_drawable_cmap (GimpDrawable *); unsigned char * gimp_drawable_cmap (GimpDrawable *);
char * gimp_drawable_name (GimpDrawable *); char * gimp_drawable_name (GimpDrawable *);
@ -71,3 +76,5 @@ void gimp_drawable_deallocate (GimpDrawable *);
GimpImage * gimp_drawable_gimage (GimpDrawable*); GimpImage * gimp_drawable_gimage (GimpDrawable*);
#endif /* __GIMPDRAWABLE_H__ */ #endif /* __GIMPDRAWABLE_H__ */

View File

@ -32,21 +32,24 @@ GtkType gimp_drawable_get_type (void);
typedef enum typedef enum
{ {
FOREGROUND_FILL,
BACKGROUND_FILL, BACKGROUND_FILL,
WHITE_FILL, WHITE_FILL,
TRANSPARENT_FILL, TRANSPARENT_FILL,
NO_FILL, NO_FILL
FOREGROUND_FILL
} GimpFillType; } GimpFillType;
/* drawable access functions */ /* drawable access functions */
void gimp_drawable_merge_shadow (GimpDrawable *, int); void gimp_drawable_merge_shadow (GimpDrawable *, int);
void gimp_drawable_fill (GimpDrawable *drawable, guchar r, guchar g, void gimp_drawable_fill (GimpDrawable *drawable,
guchar r, guchar g,
guchar b, guchar a); guchar b, guchar a);
int gimp_drawable_mask_bounds (GimpDrawable *, int gimp_drawable_mask_bounds (GimpDrawable *,
int *, int *, int *, int *); int *, int *,
int *, int *);
void gimp_drawable_invalidate_preview (GimpDrawable *); void gimp_drawable_invalidate_preview (GimpDrawable *);
int gimp_drawable_dirty (GimpDrawable *); int gimp_drawable_dirty (GimpDrawable *);
int gimp_drawable_clean (GimpDrawable *); int gimp_drawable_clean (GimpDrawable *);
@ -62,7 +65,9 @@ int gimp_drawable_bytes (GimpDrawable *);
int gimp_drawable_width (GimpDrawable *); int gimp_drawable_width (GimpDrawable *);
int gimp_drawable_height (GimpDrawable *); int gimp_drawable_height (GimpDrawable *);
int gimp_drawable_visible (GimpDrawable *); int gimp_drawable_visible (GimpDrawable *);
void gimp_drawable_offsets (GimpDrawable *, int *, int *); void gimp_drawable_offsets (GimpDrawable *,
int *, int *);
unsigned char * gimp_drawable_cmap (GimpDrawable *); unsigned char * gimp_drawable_cmap (GimpDrawable *);
char * gimp_drawable_name (GimpDrawable *); char * gimp_drawable_name (GimpDrawable *);
@ -71,3 +76,5 @@ void gimp_drawable_deallocate (GimpDrawable *);
GimpImage * gimp_drawable_gimage (GimpDrawable*); GimpImage * gimp_drawable_gimage (GimpDrawable*);
#endif /* __GIMPDRAWABLE_H__ */ #endif /* __GIMPDRAWABLE_H__ */