Commit 1d591e95 authored by GMT 1998 Andy Thomas's avatar GMT 1998 Andy Thomas Committed by Andy Thomas
Browse files

Changed the palette dialog. New functionality. Better previews. Can


Fri Dec 18 23:46:11 GMT 1998 Andy Thomas <alt@picnic.demon.co.uk>

	Changed the palette dialog. New functionality. Better previews.
	Can display larger palettes. Can import palettes from images and from
	gradients. Fixed colour selection so that the hightlighted
	square says in sync on redraws.

	* app/convert.h
	* app/palette.h
	* app/palette.c
	* app/gradient.c
	* app/gradient_select.c
	* app/gimage.c
	* app/gimpimage.c
	* app/gimpimage.h

	New file:-

	* app/palette_entries.h
parent c848afaf
Fri Dec 18 23:46:11 GMT 1998 Andy Thomas <alt@picnic.demon.co.uk>
Changed the palette dialog. New functionality. Better previews.
Can display larger palettes. Can import palettes from images and from
gradients. Fixed colour selection so that the hightlighted
square says in sync on redraws.
* app/convert.h
* app/palette.h
* app/palette.c
* app/gradient.c
* app/gradient_select.c
* app/gimage.c
* app/gimpimage.c
* app/gimpimage.h
New file:-
* app/palette_entries.h
Thu Dec 17 03:50:51 PST 1998 Manish Singh <yosh@gimp.org>
* app/Makefile.am: added some missing files
......
......@@ -20,6 +20,8 @@
#include "procedural_db.h"
#include "gimpimageF.h"
#include "palette_entries.h"
/* convert functions */
void convert_to_rgb (GimpImage *);
void convert_to_grayscale (GimpImage *);
......
......@@ -20,6 +20,8 @@
#include "procedural_db.h"
#include "gimpimageF.h"
#include "palette_entries.h"
/* convert functions */
void convert_to_rgb (GimpImage *);
void convert_to_grayscale (GimpImage *);
......
......@@ -2894,7 +2894,7 @@ gimp_image_composite_bytes (GimpImage *gimage)
return gimp_image_projection_bytes (gimage);
}
static TempBuf *
TempBuf *
gimp_image_construct_composite_preview (GimpImage *gimage, int width, int height)
{
Layer * layer;
......
......@@ -223,5 +223,6 @@ int gimp_image_preview_valid (GimpImage *, ChannelType);
void gimp_image_invalidate_preview (GimpImage *);
void gimp_image_invalidate_previews (void);
TempBuf * gimp_image_construct_composite_preview (GimpImage *gimage, int width, int height);
#endif
......@@ -2894,7 +2894,7 @@ gimp_image_composite_bytes (GimpImage *gimage)
return gimp_image_projection_bytes (gimage);
}
static TempBuf *
TempBuf *
gimp_image_construct_composite_preview (GimpImage *gimage, int width, int height)
{
Layer * layer;
......
......@@ -223,5 +223,6 @@ int gimp_image_preview_valid (GimpImage *, ChannelType);
void gimp_image_invalidate_preview (GimpImage *);
void gimp_image_invalidate_previews (void);
TempBuf * gimp_image_construct_composite_preview (GimpImage *gimage, int width, int height);
#endif
......@@ -2894,7 +2894,7 @@ gimp_image_composite_bytes (GimpImage *gimage)
return gimp_image_projection_bytes (gimage);
}
static TempBuf *
TempBuf *
gimp_image_construct_composite_preview (GimpImage *gimage, int width, int height)
{
Layer * layer;
......
......@@ -223,5 +223,6 @@ int gimp_image_preview_valid (GimpImage *, ChannelType);
void gimp_image_invalidate_preview (GimpImage *);
void gimp_image_invalidate_previews (void);
TempBuf * gimp_image_construct_composite_preview (GimpImage *gimage, int width, int height);
#endif
......@@ -2894,7 +2894,7 @@ gimp_image_composite_bytes (GimpImage *gimage)
return gimp_image_projection_bytes (gimage);
}
static TempBuf *
TempBuf *
gimp_image_construct_composite_preview (GimpImage *gimage, int width, int height)
{
Layer * layer;
......
......@@ -223,5 +223,6 @@ int gimp_image_preview_valid (GimpImage *, ChannelType);
void gimp_image_invalidate_preview (GimpImage *);
void gimp_image_invalidate_previews (void);
TempBuf * gimp_image_construct_composite_preview (GimpImage *gimage, int width, int height);
#endif
......@@ -2894,7 +2894,7 @@ gimp_image_composite_bytes (GimpImage *gimage)
return gimp_image_projection_bytes (gimage);
}
static TempBuf *
TempBuf *
gimp_image_construct_composite_preview (GimpImage *gimage, int width, int height)
{
Layer * layer;
......
......@@ -223,5 +223,6 @@ int gimp_image_preview_valid (GimpImage *, ChannelType);
void gimp_image_invalidate_preview (GimpImage *);
void gimp_image_invalidate_previews (void);
TempBuf * gimp_image_construct_composite_preview (GimpImage *gimage, int width, int height);
#endif
......@@ -2894,7 +2894,7 @@ gimp_image_composite_bytes (GimpImage *gimage)
return gimp_image_projection_bytes (gimage);
}
static TempBuf *
TempBuf *
gimp_image_construct_composite_preview (GimpImage *gimage, int width, int height)
{
Layer * layer;
......
......@@ -223,5 +223,6 @@ int gimp_image_preview_valid (GimpImage *, ChannelType);
void gimp_image_invalidate_preview (GimpImage *);
void gimp_image_invalidate_previews (void);
TempBuf * gimp_image_construct_composite_preview (GimpImage *gimage, int width, int height);
#endif
......@@ -2894,7 +2894,7 @@ gimp_image_composite_bytes (GimpImage *gimage)
return gimp_image_projection_bytes (gimage);
}
static TempBuf *
TempBuf *
gimp_image_construct_composite_preview (GimpImage *gimage, int width, int height)
{
Layer * layer;
......
......@@ -223,5 +223,6 @@ int gimp_image_preview_valid (GimpImage *, ChannelType);
void gimp_image_invalidate_preview (GimpImage *);
void gimp_image_invalidate_previews (void);
TempBuf * gimp_image_construct_composite_preview (GimpImage *gimage, int width, int height);
#endif
......@@ -53,6 +53,8 @@ gimage_new(int width, int height, GimpImageBaseType base_type)
gimp_set_add(image_context, gimage);
indexed_palette_update_image_list ();
palette_import_image_new(gimage);
return gimage;
}
......@@ -107,6 +109,8 @@ gimage_destroy_handler (GimpImage* gimage)
undo_free (gimage);
indexed_palette_update_image_list ();
palette_import_image_destroyed(gimage);
}
static void
......@@ -115,6 +119,8 @@ gimage_rename_handler (GimpImage* gimage)
gdisplays_update_title (gimage);
lc_dialog_update_image_list ();
indexed_palette_update_image_list ();
palette_import_image_renamed(gimage);
}
static void
......
......@@ -20,6 +20,8 @@
#include "procedural_db.h"
#include "gimpimageF.h"
#include "palette_entries.h"
/* convert functions */
void convert_to_rgb (GimpImage *);
void convert_to_grayscale (GimpImage *);
......
......@@ -2894,7 +2894,7 @@ gimp_image_composite_bytes (GimpImage *gimage)
return gimp_image_projection_bytes (gimage);
}
static TempBuf *
TempBuf *
gimp_image_construct_composite_preview (GimpImage *gimage, int width, int height)
{
Layer * layer;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment