plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl Added channel

2003-12-02  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/Makefile.am
        * plug-ins/common/plugin-defs.pl
        * plug-ins/common/channel_mixer.c: Added channel mixer plugin.
        Needs some work still, notably the settings load/save handling.
        Addresses bug #113901.
This commit is contained in:
Manish Singh 2003-12-03 02:36:04 +00:00 committed by Manish Singh
parent 51b7911428
commit 870c19523b
6 changed files with 1474 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2003-12-02 Manish Singh <yosh@gimp.org>
* plug-ins/common/Makefile.am
* plug-ins/common/plugin-defs.pl
* plug-ins/common/channel_mixer.c: Added channel mixer plugin.
Needs some work still, notably the settings load/save handling.
Addresses bug #113901.
2003-12-02 Sven Neumann <sven@gimp.org>
* plug-ins/common/tiff.c: applied a modified version of a patch

View File

@ -20,6 +20,7 @@ bumpmap
bz2
c_astretch
ccanalyze
channel_mixer
checkerboard
color_enhance
colorify

View File

@ -373,7 +373,7 @@ static void CML_save_to_file_callback (GtkWidget *widget,
static void CML_save_to_file_response (GtkFileSelection *fs,
gint response_id,
gpointer data);
static gint force_overwrite (const gchar *filename,
static gboolean force_overwrite (const gchar *filename,
GtkWidget *parent);
static void CML_preview_update_callback (GtkWidget *widget,
@ -2065,7 +2065,6 @@ CML_save_to_file_callback (GtkWidget *widget,
g_signal_connect (filesel, "delete_event",
G_CALLBACK (gtk_true),
NULL);
}
if (strlen (VALS.last_file_name) > 0)
@ -2186,7 +2185,7 @@ CML_save_to_file_response (GtkFileSelection *fs,
gtk_widget_hide (GTK_WIDGET (fs));
}
static gint
static gboolean
force_overwrite (const gchar *filename,
GtkWidget *parent)
{
@ -2247,6 +2246,9 @@ CML_load_from_file_callback (GtkWidget *widget,
g_signal_connect (filesel, "response",
G_CALLBACK (CML_load_from_file_response),
NULL);
g_signal_connect (filesel, "delete_event",
G_CALLBACK (gtk_true),
NULL);
}
if ((selective_load_source == 0) || (selective_load_destination == 0))
@ -2303,7 +2305,7 @@ CML_load_from_file_response (GtkFileSelection *fs,
}
}
gtk_widget_destroy (GTK_WIDGET (fs));
gtk_widget_hide (GTK_WIDGET (fs));
}
static gint

View File

@ -40,6 +40,7 @@ libexec_PROGRAMS = \
$(BZ2) \
c_astretch \
ccanalyze \
channel_mixer \
checkerboard \
color_enhance \
colorify \
@ -393,6 +394,18 @@ ccanalyze_LDADD = \
@GTK_LIBS@ \
@INTLLIBS@
channel_mixer_SOURCES = \
channel_mixer.c
channel_mixer_LDADD = \
$(top_builddir)/libgimp/libgimpui-$(LT_RELEASE).la \
$(top_builddir)/libgimpwidgets/libgimpwidgets-$(LT_RELEASE).la \
$(top_builddir)/libgimp/libgimp-$(LT_RELEASE).la \
$(top_builddir)/libgimpcolor/libgimpcolor-$(LT_RELEASE).la \
$(top_builddir)/libgimpbase/libgimpbase-$(LT_RELEASE).la \
@GTK_LIBS@ \
@INTLLIBS@
checkerboard_SOURCES = \
checkerboard.c

File diff suppressed because it is too large Load Diff

View File

@ -17,6 +17,7 @@
'bz2' => { libdep => 'glib', optional => 1 },
'c_astretch' => { libdep => 'glib' },
'ccanalyze' => { libdep => 'gtk', ui => 1 },
'channel_mixer' => { libdep => 'gtk', ui => 1 },
'checkerboard' => { libdep => 'gtk', ui => 1 },
'color_enhance' => { libdep => 'gtk', ui => 1 },
'colortoalpha' => { libdep => 'gtk', ui => 1 },