mirror of https://github.com/GNOME/gimp.git
added help IDs for the libgimp export and unit dialogs.
2004-01-20 Michael Natterer <mitch@gimp.org> * app/widgets/gimphelp-ids.h: added help IDs for the libgimp export and unit dialogs. * libgimp/gimpexport.c * libgimpwidgets/gimpunitmenu.c: replaced html links by the new help IDs. * plug-ins/*/*.c: replaced all html help links by help IDs. A plug-in's help ID is its procedure name with '_' relaced by '-'. (e.g. file_tiff_save's help ID is file-tiff-save) Did some random indentation and whitespace cleanup.
This commit is contained in:
parent
fa4c87d959
commit
0418750367
16
ChangeLog
16
ChangeLog
|
@ -1,3 +1,19 @@
|
|||
2004-01-20 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/widgets/gimphelp-ids.h: added help IDs for the libgimp
|
||||
export and unit dialogs.
|
||||
|
||||
* libgimp/gimpexport.c
|
||||
* libgimpwidgets/gimpunitmenu.c: replaced html links by the new
|
||||
help IDs.
|
||||
|
||||
* plug-ins/*/*.c: replaced all html help links by help IDs. A
|
||||
plug-in's help ID is its procedure name with '_' relaced by '-'.
|
||||
|
||||
(e.g. file_tiff_save's help ID is file-tiff-save)
|
||||
|
||||
Did some random indentation and whitespace cleanup.
|
||||
|
||||
2004-01-20 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* tools/gimp-remote.c: when starting a new gimp, pass it the
|
||||
|
|
|
@ -406,6 +406,10 @@
|
|||
#define GIMP_HELP_TIPS_DIALOG "gimp-tips-dialog"
|
||||
#define GIMP_HELP_UNDO_DIALOG "gimp-undo-dialog"
|
||||
|
||||
#define GIMP_HELP_EXPORT_DIALOG "gimp-export-dialog"
|
||||
#define GIMP_HELP_EXPORT_CONFIRM_DIALOG "gimp-export-confirm-dialog"
|
||||
#define GIMP_HELP_UNIT_DIALOG "gimp-unit-dialog"
|
||||
|
||||
#define GIMP_HELP_HELP "gimp-help"
|
||||
#define GIMP_HELP_HELP_CONTEXT "gimp-help-context"
|
||||
|
||||
|
|
|
@ -381,7 +381,8 @@ confirm_save_dialog (const gchar *message,
|
|||
|
||||
dialog = gimp_dialog_new (_("Confirm Save"), "gimp-export-image-confirm",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "dialogs/confirm_save.html",
|
||||
gimp_standard_help_func,
|
||||
"gimp-export-confirm-dialog",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
_("Confirm"), GTK_RESPONSE_OK,
|
||||
|
@ -455,7 +456,7 @@ export_dialog (GSList *actions,
|
|||
|
||||
dialog = gimp_dialog_new (_("Export File"), "gimp-export-image",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "dialogs/export_file.html",
|
||||
gimp_standard_help_func, "gimp-export-dialog",
|
||||
|
||||
_("_Ignore"), GTK_RESPONSE_NO,
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
|
|
|
@ -117,7 +117,7 @@ gimp_db_browser (GimpDBBrowserApplyCallback apply_callback)
|
|||
dbbrowser->dialog =
|
||||
gimp_dialog_new (_("DB Browser"), "dbbrowser",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/dbbrowser.html",
|
||||
gimp_standard_help_func, "plug-in-db-browser",
|
||||
|
||||
_("Search by _Name"), RESPONSE_SEARCH_NAME,
|
||||
_("Search by _Blurb"), RESPONSE_SEARCH_BLURB,
|
||||
|
@ -131,7 +131,7 @@ gimp_db_browser (GimpDBBrowserApplyCallback apply_callback)
|
|||
dbbrowser->dialog =
|
||||
gimp_dialog_new (_("DB Browser"), "dbbrowser",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/dbbrowser.html",
|
||||
gimp_standard_help_func, "plug-in-db-browser",
|
||||
|
||||
_("Search by _Name"), RESPONSE_SEARCH_NAME,
|
||||
_("Search by _Blurb"), RESPONSE_SEARCH_BLURB,
|
||||
|
|
|
@ -117,7 +117,7 @@ gimp_db_browser (GimpDBBrowserApplyCallback apply_callback)
|
|||
dbbrowser->dialog =
|
||||
gimp_dialog_new (_("DB Browser"), "dbbrowser",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/dbbrowser.html",
|
||||
gimp_standard_help_func, "plug-in-db-browser",
|
||||
|
||||
_("Search by _Name"), RESPONSE_SEARCH_NAME,
|
||||
_("Search by _Blurb"), RESPONSE_SEARCH_BLURB,
|
||||
|
@ -131,7 +131,7 @@ gimp_db_browser (GimpDBBrowserApplyCallback apply_callback)
|
|||
dbbrowser->dialog =
|
||||
gimp_dialog_new (_("DB Browser"), "dbbrowser",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/dbbrowser.html",
|
||||
gimp_standard_help_func, "plug-in-db-browser",
|
||||
|
||||
_("Search by _Name"), RESPONSE_SEARCH_NAME,
|
||||
_("Search by _Blurb"), RESPONSE_SEARCH_BLURB,
|
||||
|
|
|
@ -614,8 +614,7 @@ gimp_unit_menu_create_selection (GimpUnitMenu *menu)
|
|||
menu->selection = gimp_dialog_new (_("Unit Selection"), "gimp-unit-selection",
|
||||
GTK_WIDGET (menu),
|
||||
GTK_DIALOG_DESTROY_WITH_PARENT,
|
||||
gimp_standard_help_func,
|
||||
"dialogs/unit_selection.html",
|
||||
gimp_standard_help_func, "gimp-unit-dialog",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -548,7 +548,7 @@ explorer_dialog (void)
|
|||
dialog = maindlg =
|
||||
gimp_dialog_new ("Fractal Explorer", "fractalexplorer",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/fractalexplorer.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
|
||||
_("About"), RESPONSE_ABOUT,
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
|
@ -1636,7 +1636,7 @@ explorer_logo_dialog (GtkWidget *parent)
|
|||
xdlg = logodlg =
|
||||
gimp_dialog_new (_("About"), "fractalexplorer",
|
||||
parent, 0,
|
||||
gimp_standard_help_func, "filters/fractalexplorer.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
|
||||
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
|
||||
|
||||
|
|
|
@ -766,8 +766,7 @@ delete_fractal_callback (GtkWidget *widget,
|
|||
|
||||
delete_dialog = gimp_query_boolean_box (_("Delete Fractal"),
|
||||
gtk_widget_get_toplevel (list),
|
||||
gimp_standard_help_func,
|
||||
"filters/fractalexplorer.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
GTK_STOCK_DIALOG_QUESTION,
|
||||
str,
|
||||
GTK_STOCK_DELETE, GTK_STOCK_CANCEL,
|
||||
|
@ -1345,7 +1344,7 @@ fractalexplorer_rescan_list (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Rescan for Fractals"), "fractalexplorer",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/fractalexplorer.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
#define MAXNCOLORS 8192
|
||||
#define MAXSTRLEN 256
|
||||
|
||||
#define HELP_ID "plug-in-fractalexplorer"
|
||||
|
||||
#define FRACTAL_HEADER "Fractal Explorer Plug-In Version 2 - (c) 1997 <cotting@mygale.org>\n"
|
||||
#define fractalexplorer_HEADER "Fractal Explorer Plug-In Version 2 - (c) 1997 <cotting@mygale.org>\n"
|
||||
|
||||
|
|
|
@ -1107,8 +1107,7 @@ main_dialog (GimpDrawable *drawable)
|
|||
|
||||
appwin = gimp_dialog_new (_("Lighting Effects"), "Lighting",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func,
|
||||
"filters/lighting.html",
|
||||
gimp_standard_help_func, "plug-in-lighting",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -1377,8 +1377,7 @@ main_dialog (GimpDrawable *drawable)
|
|||
|
||||
appwin = gimp_dialog_new (_("Map to Object"), "MapObject",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func,
|
||||
"filters/mapobject.html",
|
||||
gimp_standard_help_func, "plug-in-map-object",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -553,7 +553,7 @@ save_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Save as BMP"), "bmp",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/bmp.html",
|
||||
gimp_standard_help_func, "file-bmp-save",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -1144,7 +1144,7 @@ alienmap_dialog (void)
|
|||
|
||||
dialog = gimp_dialog_new (_("AlienMap"), "alienmap",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/alienmap.html",
|
||||
gimp_standard_help_func, "plug-in-alienmap",
|
||||
|
||||
_("About"), RESPONSE_ABOUT,
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
|
@ -1359,7 +1359,7 @@ alienmap_logo_dialog (GtkWidget *parent)
|
|||
|
||||
logodlg = gimp_dialog_new (_("About AlienMap"), "alienmap",
|
||||
parent, GTK_DIALOG_DESTROY_WITH_PARENT,
|
||||
gimp_standard_help_func, "filters/alienmap.html",
|
||||
gimp_standard_help_func, "plug-in-alienmap",
|
||||
|
||||
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
|
||||
|
||||
|
|
|
@ -1147,7 +1147,7 @@ alienmap2_dialog (void)
|
|||
|
||||
dialog = gimp_dialog_new (_("AlienMap2"), "alienmap2",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/alienmap2.html",
|
||||
gimp_standard_help_func, "plug-in-alienmap2",
|
||||
|
||||
_("About"), RESPONSE_ABOUT,
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
|
@ -1394,7 +1394,7 @@ alienmap2_logo_dialog (GtkWidget *parent)
|
|||
|
||||
logodlg = gimp_dialog_new (_("About AlienMap2"), "alienmap2",
|
||||
parent, GTK_DIALOG_DESTROY_WITH_PARENT,
|
||||
gimp_standard_help_func, "filters/alienmap2.html",
|
||||
gimp_standard_help_func, "plug-in-alienmap2",
|
||||
|
||||
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
|
||||
|
||||
|
|
|
@ -211,7 +211,7 @@ run (const gchar *name,
|
|||
{
|
||||
image_ID = param[1].data.d_int32;
|
||||
drawable_ID = param[2].data.d_int32;
|
||||
|
||||
|
||||
/* eventually export the image */
|
||||
switch (run_mode)
|
||||
{
|
||||
|
@ -221,7 +221,7 @@ run (const gchar *name,
|
|||
export = gimp_export_image (&image_ID, &drawable_ID, "CEL",
|
||||
(GIMP_EXPORT_CAN_HANDLE_RGB |
|
||||
GIMP_EXPORT_CAN_HANDLE_ALPHA |
|
||||
GIMP_EXPORT_CAN_HANDLE_INDEXED
|
||||
GIMP_EXPORT_CAN_HANDLE_INDEXED
|
||||
));
|
||||
if (export == GIMP_EXPORT_CANCEL)
|
||||
{
|
||||
|
@ -689,8 +689,7 @@ palette_dialog (const gchar *title)
|
|||
gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_MOUSE);
|
||||
gtk_file_selection_set_filename (GTK_FILE_SELECTION (dialog), palette_file);
|
||||
|
||||
gimp_help_connect (dialog, gimp_standard_help_func,
|
||||
"filters/cel.html", NULL);
|
||||
gimp_help_connect (dialog, gimp_standard_help_func, "file-cel-load", NULL);
|
||||
|
||||
gtk_widget_show (dialog);
|
||||
|
||||
|
|
|
@ -91,6 +91,7 @@
|
|||
#define PARAM_FILE_FORMAT_VERSION 1.0
|
||||
#define PLUG_IN_NAME "plug_in_CML_explorer"
|
||||
#define SHORT_NAME "CML_explorer"
|
||||
#define HELP_ID "plug-in-cml-explorer"
|
||||
#define VALS CML_explorer_vals
|
||||
#define PROGRESS_UPDATE_NUM 100
|
||||
#define CML_LINE_SIZE 1024
|
||||
|
@ -1173,7 +1174,7 @@ CML_explorer_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Coupled-Map-Lattice Explorer"), "cml_explorer",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/cml_explorer.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
@ -1901,7 +1902,7 @@ function_graph_new (GtkWidget *widget,
|
|||
|
||||
dlg = gimp_dialog_new (_("Graph of the current settings"), "cml_explorer",
|
||||
gtk_widget_get_toplevel (widget), 0,
|
||||
gimp_standard_help_func, "filters/cml_explorer.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
||||
|
@ -2076,8 +2077,7 @@ CML_save_to_file_callback (GtkWidget *widget,
|
|||
gtk_window_set_transient_for (GTK_WINDOW (filesel),
|
||||
GTK_WINDOW (gtk_widget_get_toplevel (widget)));
|
||||
|
||||
gimp_help_connect (filesel, gimp_standard_help_func,
|
||||
"filters/cml_explorer.html", NULL);
|
||||
gimp_help_connect (filesel, gimp_standard_help_func, HELP_ID, NULL);
|
||||
|
||||
g_signal_connect (filesel, "response",
|
||||
G_CALLBACK (CML_save_to_file_response),
|
||||
|
@ -2209,7 +2209,7 @@ force_overwrite (const gchar *filename,
|
|||
|
||||
dlg = gimp_dialog_new (_("CML File Operation Warning"), "cml_explorer",
|
||||
parent, GTK_DIALOG_MODAL,
|
||||
gimp_standard_help_func, "filters/cml_explorer.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
@ -2253,8 +2253,7 @@ CML_load_from_file_callback (GtkWidget *widget,
|
|||
gtk_window_set_transient_for (GTK_WINDOW (filesel),
|
||||
GTK_WINDOW (gtk_widget_get_toplevel (widget)));
|
||||
|
||||
gimp_help_connect (filesel, gimp_standard_help_func,
|
||||
"filters/cml_explorer.html", NULL);
|
||||
gimp_help_connect (filesel, gimp_standard_help_func, HELP_ID, NULL);
|
||||
|
||||
g_signal_connect (filesel, "response",
|
||||
G_CALLBACK (CML_load_from_file_response),
|
||||
|
|
|
@ -340,7 +340,7 @@ type_dialog (gint selected)
|
|||
/* Create the actual window. */
|
||||
dlg = gimp_dialog_new (_("Save as Text"), "aa",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/aa.html",
|
||||
gimp_standard_help_func, "file-aa-save",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
|
||||
#define PLUG_IN_NAME "plug_in_align_layers"
|
||||
#define SHORT_NAME "align_layers"
|
||||
#define HELP_ID "plug-in-align-layers"
|
||||
#define SCALE_WIDTH 150
|
||||
|
||||
enum
|
||||
|
@ -399,7 +400,7 @@ align_layers_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Align Visible Layers"), SHORT_NAME,
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/align_layers.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -480,7 +480,7 @@ build_dialog (GimpImageBaseType basetype,
|
|||
|
||||
dlg = gimp_dialog_new (windowname, "animationplay",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/animationplay.html",
|
||||
gimp_standard_help_func, "plug-in-animationplay",
|
||||
|
||||
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
|
||||
|
||||
|
|
|
@ -368,7 +368,7 @@ lens_dialog (GimpDrawable *drawable)
|
|||
|
||||
dlg = gimp_dialog_new (_("Lens Effect"), "apply_lens",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/apply_lens.html",
|
||||
gimp_standard_help_func, "plug-in-applylens",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -272,7 +272,7 @@ blinds_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Blinds"), "blinds",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/blinds.html",
|
||||
gimp_standard_help_func, "plug-in-blinds",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -79,6 +79,7 @@
|
|||
#define PROG_UPDATE_TIME ((row % 10) == 0)
|
||||
|
||||
#define PLUG_IN_NAME "plug_in_blur"
|
||||
#define HELP_ID "plug-in-blur"
|
||||
|
||||
#define SEED_DEFAULT 10
|
||||
#define SEED_USER 11
|
||||
|
@ -584,7 +585,7 @@ blur_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Blur"), "blur",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/blur.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -358,7 +358,7 @@ borderaverage_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Borderaverage"), "borderaverage",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/borderaverage.html",
|
||||
gimp_standard_help_func, "plug-in-borderaverage",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -874,7 +874,7 @@ bumpmap_dialog (void)
|
|||
|
||||
dialog = gimp_dialog_new (_("Bump Map"), "bumpmap",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/bumpmap.html",
|
||||
gimp_standard_help_func, "plug-in-bump-map",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -558,7 +558,7 @@ doDialog (void)
|
|||
/* set up the dialog */
|
||||
dialog = gimp_dialog_new (_("Colorcube Analysis"), "ccanalyze",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/ccanalyze.html",
|
||||
gimp_standard_help_func, "plug-in-ccanalyze",
|
||||
|
||||
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
|
||||
|
||||
|
|
|
@ -52,6 +52,7 @@
|
|||
|
||||
#define PLUG_IN_NAME "plug_in_colors_channel_mixer"
|
||||
#define PLUG_IN_VERSION "Channel Mixer 0.8"
|
||||
#define HELP_ID "plug-in-colors-channel-mixer"
|
||||
#define PROGRESS_UPDATE_NUM 20
|
||||
#define CM_LINE_SIZE 1024
|
||||
|
||||
|
@ -528,9 +529,7 @@ cm_dialog (void)
|
|||
|
||||
dialog = gimp_dialog_new (_("Channel Mixer"), "mixer",
|
||||
NULL, 0,
|
||||
|
||||
gimp_standard_help_func,
|
||||
"filters/channel_mixer.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
@ -1038,8 +1037,7 @@ cm_load_file_callback (GtkWidget *widget,
|
|||
gtk_window_set_transient_for (GTK_WINDOW (filesel),
|
||||
GTK_WINDOW (gtk_widget_get_toplevel (widget)));
|
||||
|
||||
gimp_help_connect (filesel, gimp_standard_help_func,
|
||||
"filters/channel_mixer.html", NULL);
|
||||
gimp_help_connect (filesel, gimp_standard_help_func, HELP_ID, NULL);
|
||||
|
||||
g_signal_connect (filesel, "response",
|
||||
G_CALLBACK (cm_load_file_response_callback),
|
||||
|
@ -1175,8 +1173,7 @@ cm_save_file_callback (GtkWidget *widget,
|
|||
gtk_window_set_transient_for (GTK_WINDOW (filesel),
|
||||
GTK_WINDOW (gtk_widget_get_toplevel (widget)));
|
||||
|
||||
gimp_help_connect (filesel, gimp_standard_help_func,
|
||||
"filters/channel_mixer.html", NULL);
|
||||
gimp_help_connect (filesel, gimp_standard_help_func, HELP_ID, NULL);
|
||||
|
||||
g_signal_connect (filesel, "response",
|
||||
G_CALLBACK (cm_save_file_response_callback),
|
||||
|
@ -1267,7 +1264,7 @@ cm_force_overwrite (const gchar *filename,
|
|||
dlg = gimp_dialog_new (_("Channel Mixer File Operation Warning"),
|
||||
"channel_mixer",
|
||||
parent, GTK_DIALOG_MODAL,
|
||||
gimp_standard_help_func, "filters/channel_mixer.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -303,7 +303,7 @@ do_checkerboard_dialog (gint32 image_ID,
|
|||
|
||||
dlg = gimp_dialog_new (_("Checkerboard"), "checkerboard",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/checkerboard.html",
|
||||
gimp_standard_help_func, "plug-in-checkerboard",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
|
||||
#define PLUG_IN_NAME "plug_in_colorify"
|
||||
#define PLUG_IN_VERSION "1.1"
|
||||
#define HELP_ID "plug-in-colorify"
|
||||
|
||||
#define COLOR_SIZE 30
|
||||
|
||||
|
@ -247,7 +248,7 @@ colorify_dialog (GimpRGB *color)
|
|||
|
||||
dialog = gimp_dialog_new (_("Colorify"), "colorify",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/colorify.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -315,7 +315,7 @@ colortoalpha_dialog (GimpDrawable *drawable)
|
|||
|
||||
dlg = gimp_dialog_new (_("Color to Alpha"), "colortoalpha",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/colortoalpha.html",
|
||||
gimp_standard_help_func, "plug-in-colortoalpha",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -1088,7 +1088,7 @@ compose_dialog (const gchar *compose_type,
|
|||
|
||||
dlg = gimp_dialog_new (_("Compose"), "compose",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/compose.html",
|
||||
gimp_standard_help_func, "plug-in-compose",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -870,7 +870,7 @@ dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Convolution Matrix"), "convmatrix",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/convmatrix.html",
|
||||
gimp_standard_help_func, "plug-in-convmatrix",
|
||||
|
||||
GIMP_STOCK_RESET, RESPONSE_RESET,
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
|
|
|
@ -634,7 +634,7 @@ run_save_dialog (Config *config)
|
|||
|
||||
dialog = gimp_dialog_new (_("Save as C-Source"), "csource",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/csource.html",
|
||||
gimp_standard_help_func, "file-csource-save",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -252,7 +252,7 @@ cubism_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Cubism"), "cubism",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/cubism.html",
|
||||
gimp_standard_help_func, "plug-in-cubism",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -58,6 +58,7 @@
|
|||
#define PLUG_IN_AUTHOR "Wolfgang Hofer (hof@hotbot.com)"
|
||||
#define PLUG_IN_COPYRIGHT "Wolfgang Hofer"
|
||||
#define PLUG_IN_DESCRIPTION "Bends a layer using 2 spline-curves"
|
||||
#define HELP_ID "plug-in-curve-bend"
|
||||
|
||||
#define PLUG_IN_ITER_NAME "plug_in_curve_bend_Iterator"
|
||||
#define PLUG_IN_DATA_ITER_FROM "plug_in_curve_bend_ITER_FROM"
|
||||
|
@ -1212,8 +1213,7 @@ bender_new_dialog (GimpDrawable *drawable)
|
|||
/* The shell and main vbox */
|
||||
cd->shell = gimp_dialog_new (_("Curve Bend"), "curve_bend",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func,
|
||||
"filters/curve_bend.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
|
||||
/* cbrt() is a GNU extension, which C99 accepted */
|
||||
#if !defined (__GLIBC__) && !(defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L)
|
||||
#define cbrt(x) (pow(x, 1.0/3.0))
|
||||
#define cbrt(x) (pow(x, 1.0/3.0))
|
||||
#endif
|
||||
|
||||
/* Declare local functions
|
||||
|
@ -1181,7 +1181,7 @@ decompose_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Decompose"), "decompose",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/decompose.html",
|
||||
gimp_standard_help_func, "plug-in-decompose",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -283,7 +283,7 @@ deinterlace_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Deinterlace"), "deinterlace",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/deinterlace.html",
|
||||
gimp_standard_help_func, "plug-in-deinterlace",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
|
||||
#define PLUG_IN_NAME "plug_in_depth_merge"
|
||||
#define PLUG_IN_VERSION "1.0.0; 14 August 1998"
|
||||
#define HELP_ID "plug-in-depth-merge"
|
||||
|
||||
#define PREVIEW_SIZE 256
|
||||
|
||||
|
@ -637,7 +638,7 @@ DepthMerge_dialog (DepthMerge *dm)
|
|||
dm->interface->dialog =
|
||||
gimp_dialog_new (_("Depth Merge"), "depthmerge",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/depthmerge.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -66,6 +66,7 @@
|
|||
|
||||
#define PLUG_IN_NAME "plug_in_despeckle"
|
||||
#define PLUG_IN_VERSION "1.3.2 - 17 May 1998"
|
||||
#define HELP_ID "plug-in-despeckle"
|
||||
#define PREVIEW_SIZE 128
|
||||
#define SCALE_WIDTH 100
|
||||
#define ENTRY_WIDTH 3
|
||||
|
@ -614,7 +615,7 @@ despeckle_dialog (void)
|
|||
|
||||
dialog = gimp_dialog_new (_("Despeckle"), "despeckle",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/despeckle.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -62,6 +62,7 @@
|
|||
|
||||
#define PLUG_IN_NAME "plug_in_destripe"
|
||||
#define PLUG_IN_VERSION "0.2"
|
||||
#define HELP_ID "plug-in-destripe"
|
||||
#define PREVIEW_SIZE 200
|
||||
#define SCALE_WIDTH 140
|
||||
#define MAX_AVG 100
|
||||
|
@ -558,7 +559,7 @@ destripe_dialog (void)
|
|||
|
||||
dialog = gimp_dialog_new (_("Destripe"), "destripe",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/destripe.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -439,7 +439,7 @@ diffraction_dialog (void)
|
|||
|
||||
dialog = gimp_dialog_new (_("Diffraction Patterns"), "diffraction",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/diffraction.html",
|
||||
gimp_standard_help_func, "plug-in-diffraction",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -266,7 +266,7 @@ displace_dialog (GimpDrawable *drawable)
|
|||
|
||||
dlg = gimp_dialog_new (_("Displace"), "displace",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/displace.html",
|
||||
gimp_standard_help_func, "plug-in-displace",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -635,7 +635,7 @@ edge_dialog (GimpDrawable *drawable)
|
|||
|
||||
dlg = gimp_dialog_new (_("Edge Detection"), "edge",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/edge.html",
|
||||
gimp_standard_help_func, "plug-in-edge",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -489,7 +489,7 @@ pluginCoreIA (piArgs *argp)
|
|||
|
||||
dlg = gimp_dialog_new (_("Emboss"), "emboss",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/emboss.html",
|
||||
gimp_standard_help_func, "plug-in-emboss",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -205,7 +205,7 @@ engrave_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Engrave"), "engrave",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/engrave.html",
|
||||
gimp_standard_help_func, "plug-in-engrave",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -318,7 +318,7 @@ exchange_dialog (void)
|
|||
/* set up the dialog */
|
||||
dialog = gimp_dialog_new (_("Color Exchange"), "exchange",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/exchange.html",
|
||||
gimp_standard_help_func, "plug-in-exchange",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -1483,7 +1483,7 @@ film_dialog (gint32 image_ID)
|
|||
|
||||
dlg = gimp_dialog_new (_("Film"), "film",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/film.html",
|
||||
gimp_standard_help_func, "plug-in-film",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -299,7 +299,7 @@ flare_dialog (GimpDrawable *drawable)
|
|||
|
||||
dlg = gimp_dialog_new (_("FlareFX"), "flarefx",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/flarefx.html",
|
||||
gimp_standard_help_func, "plug-in-flarefx",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -82,7 +82,7 @@ query (void)
|
|||
{ GIMP_PDB_IMAGE, "image", "Input image (used for indexed images)" },
|
||||
{ GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
|
||||
};
|
||||
|
||||
|
||||
gimp_install_procedure ("plug_in_filter_pack",
|
||||
"Allows the user to change H, S, or C with many previews",
|
||||
"No help available",
|
||||
|
@ -107,11 +107,11 @@ run (const gchar *name,
|
|||
{
|
||||
GimpParam values[1];
|
||||
GimpPDBStatusType status = GIMP_PDB_SUCCESS;
|
||||
|
||||
|
||||
*nreturn_vals = 1;
|
||||
*return_vals = values;
|
||||
|
||||
INIT_I18N ();
|
||||
INIT_I18N ();
|
||||
|
||||
values[0].type = GIMP_PDB_STATUS;
|
||||
values[0].data.d_status = status;
|
||||
|
@ -129,14 +129,14 @@ run (const gchar *name,
|
|||
}
|
||||
else if (gimp_drawable_is_rgb (drawable->drawable_id) && fp_dialog())
|
||||
{
|
||||
gimp_progress_init (_("Applying the Filter Pack..."));
|
||||
gimp_progress_init (_("Applying the Filter Pack..."));
|
||||
gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width () + 1));
|
||||
fp (drawable);
|
||||
gimp_displays_flush ();
|
||||
}
|
||||
else status = GIMP_PDB_EXECUTION_ERROR;
|
||||
|
||||
|
||||
|
||||
|
||||
values[0].data.d_status = status;
|
||||
if (status==GIMP_PDB_SUCCESS)
|
||||
gimp_drawable_detach (drawable);
|
||||
|
@ -158,7 +158,7 @@ fp_row (const guchar *src_row,
|
|||
|
||||
for (col = 0; col < row_width ; col++)
|
||||
{
|
||||
|
||||
|
||||
backupP[0] = P[0] = src_row[col * bytes + 0];
|
||||
backupP[0] = P[1] = src_row[col * bytes + 1];
|
||||
backupP[0] = P[2] = src_row[col * bytes + 2];
|
||||
|
@ -188,7 +188,7 @@ fp_row (const guchar *src_row,
|
|||
|
||||
|
||||
/* It's important to take care of Saturation first!!! */
|
||||
|
||||
|
||||
m = MIN (MIN (P[0], P[1]), P[2]);
|
||||
M = MAX (MAX (P[0], P[1]), P[2]);
|
||||
middle = (M + m) / 2;
|
||||
|
@ -196,14 +196,14 @@ fp_row (const guchar *src_row,
|
|||
for (k = 0; k < 3; k++)
|
||||
if (P[k] != m && P[k] != M)
|
||||
middle = P[k];
|
||||
|
||||
for (k = 0; k < 3; k++)
|
||||
|
||||
for (k = 0; k < 3; k++)
|
||||
if (M != m)
|
||||
{
|
||||
if (P[k] == M)
|
||||
P[k] = MAX (P[k] + Current.satAdj[JudgeBy][Intensity], middle);
|
||||
else if (P[k] == m)
|
||||
P[k] = MIN (P[k] - Current.satAdj[JudgeBy][Intensity], middle);
|
||||
P[k] = MIN (P[k] - Current.satAdj[JudgeBy][Intensity], middle);
|
||||
}
|
||||
|
||||
P[0] += Current.redAdj[JudgeBy][Intensity];
|
||||
|
@ -234,7 +234,7 @@ void fp (GimpDrawable *drawable)
|
|||
guchar *src_row, *dest_row;
|
||||
gint row;
|
||||
gint x1, y1, x2, y2;
|
||||
|
||||
|
||||
gimp_drawable_mask_bounds (drawable->drawable_id, &x1, &y1, &x2, &y2);
|
||||
|
||||
width = drawable->width;
|
||||
|
@ -259,7 +259,7 @@ void fp (GimpDrawable *drawable)
|
|||
);
|
||||
|
||||
gimp_pixel_rgn_set_row (&destPR, dest_row, x1, row, (x2 - x1));
|
||||
|
||||
|
||||
if ((row % 10) == 0)
|
||||
gimp_progress_update ((double) row / (double) (y2 - y1));
|
||||
}
|
||||
|
@ -270,8 +270,8 @@ void fp (GimpDrawable *drawable)
|
|||
gimp_drawable_flush (drawable);
|
||||
gimp_drawable_merge_shadow (drawable->drawable_id, TRUE);
|
||||
gimp_drawable_update (drawable->drawable_id, x1, y1, (x2 - x1), (y2 - y1));
|
||||
|
||||
|
||||
free (src_row);
|
||||
free (dest_row);
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
|
||||
#define PLUG_IN_NAME "plug_in_fractal_trace"
|
||||
#define PLUG_IN_VERSION "v0.4 test version (Dec. 25 1997)"
|
||||
#define HELP_ID "plug-in-fractal-trace"
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
|
@ -158,7 +159,7 @@ typedef struct
|
|||
|
||||
static selection_t selection;
|
||||
static image_t image;
|
||||
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
static void
|
||||
|
@ -193,7 +194,7 @@ run (const gchar *name,
|
|||
|
||||
pixels_init (drawable);
|
||||
|
||||
if (!gimp_drawable_is_rgb(drawable->drawable_id) &&
|
||||
if (!gimp_drawable_is_rgb(drawable->drawable_id) &&
|
||||
!gimp_drawable_is_gray(drawable->drawable_id))
|
||||
{
|
||||
status = GIMP_PDB_EXECUTION_ERROR;
|
||||
|
@ -739,7 +740,7 @@ dialog_show (void)
|
|||
|
||||
dialog = gimp_dialog_new (_("Fractal Trace"), "fractaltrace",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/fractaltrace.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -342,7 +342,7 @@ gauss_iir_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("IIR Gaussian Blur"), "gauss_iir",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/gauss_iir.html",
|
||||
gimp_standard_help_func, "plug-in-gauss-iir",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
@ -422,7 +422,7 @@ gauss_iir2_dialog (gint32 image_ID,
|
|||
|
||||
dlg = gimp_dialog_new (_("IIR Gaussian Blur"), "gauss_iir",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/gauss_iir.html",
|
||||
gimp_standard_help_func, "plug-in-gauss-iir2",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -336,7 +336,7 @@ gauss_rle_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("RLE Gaussian Blur"), "gauss_rle",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/gauss_rle.html",
|
||||
gimp_standard_help_func, "plug-in-gauss-rle",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
@ -416,7 +416,7 @@ gauss_rle2_dialog (gint32 image_ID,
|
|||
|
||||
dlg = gimp_dialog_new (_("RLE Gaussian Blur"), "gauss_rle",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/gauss_rle.html",
|
||||
gimp_standard_help_func, "plug-in-gauss-rle2",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -615,7 +615,7 @@ save_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Save as Brush"), "gbr",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/gbr.html",
|
||||
gimp_standard_help_func, "file-gbr-save",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -165,7 +165,7 @@ build_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("GEE-SLIME"), "gee",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/gee.html",
|
||||
gimp_standard_help_func, "plug-in-the-slimy-egg",
|
||||
NULL);
|
||||
|
||||
button = gtk_dialog_add_button (GTK_DIALOG (dlg),
|
||||
|
|
|
@ -199,7 +199,7 @@ build_dialog (void)
|
|||
"\"The GIMP E'er Egg\""),
|
||||
"gee_zoom",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/gee_zoom.html",
|
||||
gimp_standard_help_func, "plug-in-the-old-egg",
|
||||
NULL);
|
||||
|
||||
button = gtk_dialog_add_button (GTK_DIALOG (dlg),
|
||||
|
|
|
@ -185,13 +185,13 @@ run (const gchar *name,
|
|||
image_ID = param[1].data.d_int32;
|
||||
drawable_ID = param[2].data.d_int32;
|
||||
|
||||
/* eventually export the image */
|
||||
/* eventually export the image */
|
||||
switch (run_mode)
|
||||
{
|
||||
case GIMP_RUN_INTERACTIVE:
|
||||
case GIMP_RUN_WITH_LAST_VALS:
|
||||
gimp_ui_init ("gicon", FALSE);
|
||||
export = gimp_export_image (&image_ID, &drawable_ID, "GIcon",
|
||||
export = gimp_export_image (&image_ID, &drawable_ID, "GIcon",
|
||||
(GIMP_EXPORT_CAN_HANDLE_GRAY |
|
||||
GIMP_EXPORT_CAN_HANDLE_ALPHA ));
|
||||
if (export == GIMP_EXPORT_CANCEL)
|
||||
|
@ -425,7 +425,7 @@ save_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Save as GIcon"), "gicon",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/gicon.html",
|
||||
gimp_standard_help_func, "file-gicon-save",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -1196,7 +1196,7 @@ badbounds_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("GIF Warning"), "gif_warning",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/gif.html#warning",
|
||||
gimp_standard_help_func, "file-gif-save",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
@ -1261,7 +1261,7 @@ save_dialog (gint32 image_ID)
|
|||
|
||||
dlg = gimp_dialog_new (_("Save as GIF"), "gif",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/gif.html",
|
||||
gimp_standard_help_func, "file-gif-save",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -832,7 +832,7 @@ gih_save_dialog (gint32 image_ID)
|
|||
|
||||
dlg = gimp_dialog_new (_("Save as Brush Pipe"), "gih",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/gih.html",
|
||||
gimp_standard_help_func, "file-gih-save",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -229,7 +229,7 @@ glass_dialog (GimpDrawable *drawable)
|
|||
|
||||
dlg = gimp_dialog_new (_("Glass Tile"), "glasstile",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/glasstile.html",
|
||||
gimp_standard_help_func, "plug-in-glasstile",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -79,6 +79,7 @@
|
|||
|
||||
#define PLUG_IN_NAME "plug_in_qbist"
|
||||
#define PLUG_IN_VERSION "January 2001, 1.12"
|
||||
#define HELP_ID "plug-in-qbist"
|
||||
|
||||
/** types *******************************************************************/
|
||||
|
||||
|
@ -744,8 +745,7 @@ dialog_load (GtkWidget *widget,
|
|||
gtk_window_set_transient_for (GTK_WINDOW (file_select),
|
||||
GTK_WINDOW (gtk_widget_get_toplevel (widget)));
|
||||
|
||||
gimp_help_connect (file_select, gimp_standard_help_func,
|
||||
"filters/gqbist.html", NULL);
|
||||
gimp_help_connect (file_select, gimp_standard_help_func, HELP_ID, NULL);
|
||||
|
||||
gtk_file_selection_set_filename (GTK_FILE_SELECTION (file_select),
|
||||
qbist_info.path);
|
||||
|
@ -769,8 +769,7 @@ dialog_save (GtkWidget *widget,
|
|||
gtk_window_set_transient_for (GTK_WINDOW (file_select),
|
||||
GTK_WINDOW (gtk_widget_get_toplevel (widget)));
|
||||
|
||||
gimp_help_connect (file_select, gimp_standard_help_func,
|
||||
"filters/gqbist.html", NULL);
|
||||
gimp_help_connect (file_select, gimp_standard_help_func, HELP_ID, NULL);
|
||||
|
||||
gtk_file_selection_set_filename (GTK_FILE_SELECTION (file_select),
|
||||
qbist_info.path);
|
||||
|
@ -805,7 +804,7 @@ dialog_create (void)
|
|||
|
||||
dialog = gimp_dialog_new (_("G-Qbist"), "gqbist",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/gqbist.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -633,8 +633,7 @@ dialog (gint32 image_ID,
|
|||
|
||||
main_dialog = dlg = gimp_dialog_new (_("Grid"), "grid",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func,
|
||||
"filters/grid.html",
|
||||
gimp_standard_help_func, "plug-in-grid",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -399,7 +399,7 @@ save_dialog (gint32 image_ID)
|
|||
|
||||
dlg = gimp_dialog_new (_("GIMP Table Magic"), "gtm",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/gtm.html",
|
||||
gimp_standard_help_func, "file-gtm-save",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -567,7 +567,7 @@ pluginCoreIA (piArgs *argp)
|
|||
|
||||
dlg = gimp_dialog_new (_("Hot"), "hot",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/hot.html",
|
||||
gimp_standard_help_func, "plug-in-hot",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -521,7 +521,7 @@ save_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Save as HRZ"), "hrz",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/hrz.html",
|
||||
gimp_standard_help_func, "file-hrz-save",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
|
||||
#define PLUG_IN_NAME "plug_in_illusion"
|
||||
#define PLUG_IN_VERSION "v0.8 (May 14 2000)"
|
||||
#define HELP_ID "plug-in-illusion"
|
||||
|
||||
|
||||
static void query (void);
|
||||
|
@ -393,7 +394,7 @@ dialog (GimpDrawable *mangle)
|
|||
|
||||
dlg = gimp_dialog_new (_("Illusion"), "illusion",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/illusion.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -1197,7 +1197,7 @@ iwarp_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("IWarp"), "iwarp",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/iwarp.html",
|
||||
gimp_standard_help_func, "plug-in-iwarp",
|
||||
|
||||
GIMP_STOCK_RESET, RESPONSE_RESET,
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
|
|
|
@ -2542,7 +2542,7 @@ dialog_box (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Jigsaw"), "jigsaw",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/jigsaw.html",
|
||||
gimp_standard_help_func, "plug-in-jigsaw",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -1672,7 +1672,7 @@ save_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Save as JPEG"), "jpeg",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/jpeg.html",
|
||||
gimp_standard_help_func, "file-jpeg-save",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -704,7 +704,7 @@ create_main_dialog (void)
|
|||
|
||||
dialog = gimp_dialog_new (_("Van Gogh (LIC)"), "lic",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/lic.html",
|
||||
gimp_standard_help_func, "plug-in-lic",
|
||||
GTK_WIN_POS_MOUSE,
|
||||
FALSE, TRUE, FALSE,
|
||||
|
||||
|
|
|
@ -430,7 +430,7 @@ save_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Send to Mail"), "mail",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/mail.html",
|
||||
gimp_standard_help_func, "plug-in-mail-image",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -534,7 +534,7 @@ dialog (gint32 drawable_ID)
|
|||
|
||||
dlg = gimp_dialog_new (_("Map Color Range"), "mapcolor",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/mapcolor.html",
|
||||
gimp_standard_help_func, "plug-in-color-map",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -39,9 +39,11 @@
|
|||
|
||||
#include "gimpoldpreview.h"
|
||||
|
||||
/* Replace them with the right ones */
|
||||
#define PLUG_IN_NAME "plug_in_max_rgb"
|
||||
#define SHORT_NAME "max_rgb"
|
||||
|
||||
#define PLUG_IN_NAME "plug_in_max_rgb"
|
||||
#define SHORT_NAME "max_rgb"
|
||||
#define HELP_ID "plug-in-max-rgb"
|
||||
|
||||
|
||||
static void query (void);
|
||||
static void run (const gchar *name,
|
||||
|
@ -248,7 +250,7 @@ dialog (GimpDrawable *drawable)
|
|||
|
||||
dlg = gimp_dialog_new (_("Max RGB"), "max_rgb",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/max_rgb.html",
|
||||
gimp_standard_help_func, "plug-in-max-rgb",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -63,6 +63,7 @@
|
|||
|
||||
#define PLUG_IN_NAME "plug_in_mblur"
|
||||
#define PLUG_IN_VERSION "Sep 1997, 1.2"
|
||||
#define HELP_ID "plug-in-mblur"
|
||||
|
||||
#define MBLUR_LINEAR 0
|
||||
#define MBLUR_RADIAL 1
|
||||
|
@ -735,7 +736,7 @@ mblur_dialog (void)
|
|||
|
||||
dialog = gimp_dialog_new (_("Motion Blur"), "mblur",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/mblur.html",
|
||||
gimp_standard_help_func, "plug-in-mblur",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -1186,7 +1186,7 @@ mng_save_dialog (gint32 image_id)
|
|||
|
||||
dlg = gimp_dialog_new (_("Save as MNG"), "mng",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/mng.html",
|
||||
gimp_standard_help_func, "file-mng-save",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -507,7 +507,7 @@ mosaic_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Mosaic"), "mosaic",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/mosaic.html",
|
||||
gimp_standard_help_func, "plug-in-mosaic",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -1192,7 +1192,7 @@ newsprint_dialog (GimpDrawable *drawable)
|
|||
|
||||
st.dlg = gimp_dialog_new (_("Newsprint"), "newsprint",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/newsprint.html",
|
||||
gimp_standard_help_func, "plug-in-newsprint",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -321,7 +321,7 @@ pluginCoreIA (piArgs *argp, GimpDrawable *drawable)
|
|||
|
||||
dlg = gimp_dialog_new (_("NL Filter"), "nlfilt",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/nlfilt.html",
|
||||
gimp_standard_help_func, "plug-in-nlfilt",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -308,7 +308,7 @@ noisify_dialog (GimpDrawable *drawable,
|
|||
|
||||
dlg = gimp_dialog_new (_("Noisify"), "noisify",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/noisify.html",
|
||||
gimp_standard_help_func, "plug-in-noisify",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -317,7 +317,7 @@ nova_dialog (GimpDrawable *drawable)
|
|||
|
||||
dlg = gimp_dialog_new (_("SuperNova"), "nova",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/nova.html",
|
||||
gimp_standard_help_func, "plug-in-nova",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -441,7 +441,7 @@ oilify_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Oilify"), "oilify",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/oilify.html",
|
||||
gimp_standard_help_func, "plug-in-oilify",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -35,7 +35,8 @@
|
|||
/* DEFINES */
|
||||
/*===========================================================================*/
|
||||
|
||||
#define PLUGIN_PROCEDURE_NAME "plug_in_papertile"
|
||||
#define PLUGIN_PROCEDURE_NAME "plug_in_papertile"
|
||||
#define HELP_ID "plug-in-papertile"
|
||||
|
||||
/*===========================================================================*/
|
||||
/* TYPES */
|
||||
|
@ -235,7 +236,7 @@ open_dialog (void)
|
|||
|
||||
dialog = gimp_dialog_new (_("Paper Tile"), "papertile",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/papertile.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -448,7 +448,7 @@ save_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Save as Pattern"), "pat",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/pat.html",
|
||||
gimp_standard_help_func, "file-pat-save",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -308,7 +308,7 @@ pixelize_dialog (GimpDrawable *drawable)
|
|||
|
||||
dlg = gimp_dialog_new (_("Pixelize"), "pixelize",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/pixelize.html",
|
||||
gimp_standard_help_func, "plug-in-pixelize",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -300,7 +300,7 @@ plasma_dialog (GimpDrawable *drawable,
|
|||
|
||||
dlg = gimp_dialog_new (_("Plasma"), "plasma",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/plasma.html",
|
||||
gimp_standard_help_func, "plug-in-plasma",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -972,7 +972,7 @@ gimp_plugin_desc (void)
|
|||
plugindesc->dlg =
|
||||
gimp_dialog_new (_("Plugin Descriptions"), "plugindetails",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/plugindetails.html",
|
||||
gimp_standard_help_func, "plug-in-plug-in-details",
|
||||
|
||||
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
|
||||
_("Search by Name"), GTK_RESPONSE_OK,
|
||||
|
|
|
@ -972,7 +972,7 @@ gimp_plugin_desc (void)
|
|||
plugindesc->dlg =
|
||||
gimp_dialog_new (_("Plugin Descriptions"), "plugindetails",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/plugindetails.html",
|
||||
gimp_standard_help_func, "plug-in-plug-in-details",
|
||||
|
||||
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
|
||||
_("Search by Name"), GTK_RESPONSE_OK,
|
||||
|
|
|
@ -1552,7 +1552,7 @@ save_dialog (gint32 image_ID,
|
|||
|
||||
dlg = gimp_dialog_new (_("Save as PNG"), "png",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/png.html",
|
||||
gimp_standard_help_func, "file-png-save-defaults",
|
||||
|
||||
_("_Load Defaults"), RESPONSE_LOAD_DEFAULTS,
|
||||
_("_Save Defaults"), RESPONSE_SAVE_DEFAULTS,
|
||||
|
|
|
@ -910,7 +910,7 @@ save_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Save as PNM"), "pnm",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/pnm.html",
|
||||
gimp_standard_help_func, "file-pnm-save",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -79,6 +79,7 @@
|
|||
|
||||
#define PLUG_IN_NAME "plug_in_polar_coords"
|
||||
#define PLUG_IN_VERSION "July 1997, 0.5"
|
||||
#define HELP_ID "plug-in-polar-coords"
|
||||
|
||||
#define SCALE_WIDTH 200
|
||||
#define ENTRY_WIDTH 60
|
||||
|
@ -582,7 +583,7 @@ polarize_dialog (void)
|
|||
|
||||
dialog = gimp_dialog_new (_("Polarize"), "polar",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/polar.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -2622,7 +2622,7 @@ load_dialog (void)
|
|||
|
||||
dialog = gimp_dialog_new (_("Load PostScript"), "ps",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/ps.html",
|
||||
gimp_standard_help_func, "file-ps-load",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
@ -2787,7 +2787,7 @@ save_dialog (void)
|
|||
|
||||
dialog = gimp_dialog_new (_("Save as PostScript"), "ps",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/ps.html",
|
||||
gimp_standard_help_func, "file-ps-save",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/*
|
||||
* dbbrowser
|
||||
* 0.08 26th sept 97 by Thomas NOEL <thomas@minet.net>
|
||||
/*
|
||||
* dbbrowser
|
||||
* 0.08 26th sept 97 by Thomas NOEL <thomas@minet.net>
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -29,7 +29,7 @@
|
|||
*
|
||||
* NOTE :
|
||||
* this is only a exercice for me (my first "plug-in" (extension))
|
||||
* so it's very (very) dirty.
|
||||
* so it's very (very) dirty.
|
||||
* Btw, hope it gives you some ideas about gimp possibilities.
|
||||
*
|
||||
* The core of the plugin is not here. See dbbrowser_utils (shared
|
||||
|
@ -110,11 +110,11 @@ run (const gchar *name,
|
|||
values[0].type = GIMP_PDB_STATUS;
|
||||
values[0].data.d_status = GIMP_PDB_SUCCESS;
|
||||
|
||||
INIT_I18N ();
|
||||
INIT_I18N ();
|
||||
|
||||
switch (run_mode)
|
||||
{
|
||||
case GIMP_RUN_INTERACTIVE:
|
||||
case GIMP_RUN_INTERACTIVE:
|
||||
{
|
||||
gimp_ui_init ("dbbrowser", FALSE);
|
||||
|
||||
|
@ -124,7 +124,7 @@ run (const gchar *name,
|
|||
gdk_flush ();
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
case GIMP_RUN_WITH_LAST_VALS:
|
||||
case GIMP_RUN_NONINTERACTIVE:
|
||||
g_warning ("dbbrowser allows only interactive invocation");
|
||||
|
|
|
@ -2622,7 +2622,7 @@ load_dialog (void)
|
|||
|
||||
dialog = gimp_dialog_new (_("Load PostScript"), "ps",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/ps.html",
|
||||
gimp_standard_help_func, "file-ps-load",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
@ -2787,7 +2787,7 @@ save_dialog (void)
|
|||
|
||||
dialog = gimp_dialog_new (_("Save as PostScript"), "ps",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/ps.html",
|
||||
gimp_standard_help_func, "file-ps-save",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -403,7 +403,7 @@ save_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Save as PSP"), "psp",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/psp.html",
|
||||
gimp_standard_help_func, "file-psp-load",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -109,6 +109,13 @@ gchar *RNDM_VERSION[] =
|
|||
N_("Random Slur 1.7"),
|
||||
};
|
||||
|
||||
gchar *HELP_ID[] =
|
||||
{
|
||||
"plug-in-randomize-hurl",
|
||||
"plug-in-randomize-pick",
|
||||
"plug-in-randomize-slur",
|
||||
};
|
||||
|
||||
#define RNDM_HURL 1
|
||||
#define RNDM_PICK 2
|
||||
#define RNDM_SLUR 3
|
||||
|
@ -694,7 +701,7 @@ randomize_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (gettext (RNDM_VERSION[rndm_type - 1]), "randomize",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/randomize.html",
|
||||
gimp_standard_help_func, HELP_ID[rndm_type - 1],
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -420,7 +420,7 @@ ripple_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Ripple"), "ripple",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/ripple.html",
|
||||
gimp_standard_help_func, "plug-in-ripple",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -55,8 +55,9 @@
|
|||
#define RESPONSE_RESET 1
|
||||
#define RESPONSE_GET_COLORS 2
|
||||
|
||||
#define PLUG_IN_NAME "plug_in_sample_colorize"
|
||||
#define PLUG_IN_NAME "plug_in_sample_colorize"
|
||||
#define NUMBER_IN_ARGS 13
|
||||
#define HELP_ID "plug-in-sample-colorize"
|
||||
|
||||
#define TILE_CACHE_SIZE 32
|
||||
#define LUMINOSITY_0(X) ((X[0] * 30 + X[1] * 59 + X[2] * 11))
|
||||
|
@ -1359,7 +1360,7 @@ p_smp_dialog (void)
|
|||
g_di.dialog = dialog =
|
||||
gimp_dialog_new (_("Sample Colorize"), "sample_colorize",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/sample_colorize.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
|
||||
GIMP_STOCK_RESET, RESPONSE_RESET,
|
||||
_("Get Sample Colors"), RESPONSE_GET_COLORS,
|
||||
|
|
|
@ -38,8 +38,9 @@
|
|||
#include "libgimp/stdplugins-intl.h"
|
||||
|
||||
|
||||
#define PLUG_IN_NAME "plug_in_scatter_hsv"
|
||||
#define SHORT_NAME "scatter_hsv"
|
||||
#define PLUG_IN_NAME "plug_in_scatter_hsv"
|
||||
#define SHORT_NAME "scatter_hsv"
|
||||
#define HELP_ID "plug-in-scatter-hsv"
|
||||
|
||||
static void query (void);
|
||||
static void run (const gchar *name,
|
||||
|
@ -335,7 +336,7 @@ scatter_hsv_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Scatter HSV"), SHORT_NAME,
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/scatter_hsv.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
|
||||
/* Defines */
|
||||
#define PLUG_IN_NAME "plug_in_screenshot"
|
||||
#define HELP_ID "plug-in-screenshot"
|
||||
|
||||
#ifdef __GNUC__
|
||||
#ifdef GDK_NATIVE_WINDOW_POINTER
|
||||
|
@ -506,7 +507,7 @@ shoot_dialog (void)
|
|||
|
||||
dialog = gimp_dialog_new (_("Screen Shot"), "screenshot",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/screenshot.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -227,7 +227,7 @@ sel_gauss_dialog (void)
|
|||
|
||||
dlg = gimp_dialog_new (_("Selective Gaussian Blur"), "sel_gauss",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/sel_gauss.html",
|
||||
gimp_standard_help_func, "plug-in-sel-gauss",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -44,10 +44,11 @@
|
|||
* Constants...
|
||||
*/
|
||||
|
||||
#define PLUG_IN_NAME "plug_in_sharpen"
|
||||
#define PLUG_IN_VERSION "1.4.2 - 3 June 1998"
|
||||
#define PREVIEW_SIZE 128
|
||||
#define SCALE_WIDTH 100
|
||||
#define PLUG_IN_NAME "plug_in_sharpen"
|
||||
#define PLUG_IN_VERSION "1.4.2 - 3 June 1998"
|
||||
#define HELP_ID "plug-in-sharpen"
|
||||
#define PREVIEW_SIZE 128
|
||||
#define SCALE_WIDTH 100
|
||||
|
||||
/*
|
||||
* Local functions...
|
||||
|
@ -498,7 +499,7 @@ sharpen_dialog (void)
|
|||
|
||||
dialog = gimp_dialog_new (_("Sharpen"), "Sharpen",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/sharpen.html",
|
||||
gimp_standard_help_func, HELP_ID,
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
|
@ -317,7 +317,7 @@ shift_dialog (gint32 image_ID)
|
|||
|
||||
dlg = gimp_dialog_new (_("Shift"), "shift",
|
||||
NULL, 0,
|
||||
gimp_standard_help_func, "filters/shift.html",
|
||||
gimp_standard_help_func, "plug-in-shift",
|
||||
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OK, GTK_RESPONSE_OK,
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue