app/color_area.[ch] pass masks for the "default" and "swap" pixmaps to the

2000-02-22  Michael Natterer  <mitch@gimp.org>

	* app/color_area.[ch]
	* app/interface.c: pass masks for the "default" and "swap" pixmaps
	to the color_area constructor and use them to create a clip mask
	in color_area_draw().

	* app/datafiles.[ch]: some harmless cleanups.

	* libgimp/gimppixmap.c: use gtk_pixmap_set_build_insensitive()
	instead of accessing the field directly.
This commit is contained in:
Michael Natterer
2000-02-22 15:14:54 +00:00
committed by Michael Natterer
parent dcf85066c9
commit a4f6d59af0
18 changed files with 362 additions and 191 deletions

View File

@ -25,12 +25,14 @@
#include <time.h>
#include <glib.h>
#define INCLUDE_TEMP_DIR 0x1
#define MODE_EXECUTABLE 0x2
/***** Types *****/
typedef enum
{
INCLUDE_TEMP_DIR = 1 << 0,
MODE_EXECUTABLE = 1 << 1
} GimpDataFileFlags;
typedef void (* GimpDataFileLoaderFunc) (gchar *filename);
@ -38,7 +40,7 @@ typedef void (* GimpDataFileLoaderFunc) (gchar *filename);
void datafiles_read_directories (gchar *path_str,
GimpDataFileLoaderFunc loader_func,
gint flags);
GimpDataFileFlags flags);
/* Return the current datafiles access, modification
* or change time. The current datafile is the one for