1999-11-20 20:12:41 +08:00
|
|
|
/* The GIMP -- an image manipulation program
|
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
2000-12-17 05:37:03 +08:00
|
|
|
|
1997-11-25 06:05:25 +08:00
|
|
|
#ifndef __COMMANDS_H__
|
|
|
|
#define __COMMANDS_H__
|
|
|
|
|
|
|
|
|
2001-01-02 07:55:45 +08:00
|
|
|
void file_new_cmd_callback (GtkWidget *, gpointer, guint);
|
|
|
|
void file_open_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void file_save_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void file_save_as_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void file_save_a_copy_as_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void file_revert_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void file_pref_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void file_close_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void file_quit_cmd_callback (GtkWidget *, gpointer);
|
1999-06-22 06:12:07 +08:00
|
|
|
|
1999-11-20 20:12:41 +08:00
|
|
|
void edit_undo_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void edit_redo_cmd_callback (GtkWidget *, gpointer);
|
1999-07-07 04:43:52 +08:00
|
|
|
void edit_cut_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void edit_copy_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void edit_paste_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void edit_paste_into_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void edit_paste_as_new_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void edit_named_cut_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void edit_named_copy_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void edit_named_paste_cmd_callback (GtkWidget *, gpointer);
|
1999-11-20 20:12:41 +08:00
|
|
|
void edit_clear_cmd_callback (GtkWidget *, gpointer);
|
2000-03-24 22:54:59 +08:00
|
|
|
void edit_fill_cmd_callback (GtkWidget *widget,
|
|
|
|
gpointer callback_data,
|
|
|
|
guint callback_action);
|
1999-11-20 20:12:41 +08:00
|
|
|
void edit_stroke_cmd_callback (GtkWidget *, gpointer);
|
1999-06-22 06:12:07 +08:00
|
|
|
|
|
|
|
void select_invert_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void select_all_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void select_none_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void select_float_cmd_callback (GtkWidget *, gpointer);
|
1999-11-20 20:12:41 +08:00
|
|
|
void select_feather_cmd_callback (GtkWidget *, gpointer);
|
1999-06-22 06:12:07 +08:00
|
|
|
void select_sharpen_cmd_callback (GtkWidget *, gpointer);
|
1999-11-20 20:12:41 +08:00
|
|
|
void select_shrink_cmd_callback (GtkWidget *, gpointer);
|
1999-06-22 06:12:07 +08:00
|
|
|
void select_border_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void select_grow_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void select_save_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
|
1999-11-20 20:12:41 +08:00
|
|
|
void view_zoomin_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void view_zoomout_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void view_zoom_16_1_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void view_zoom_8_1_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void view_zoom_4_1_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void view_zoom_2_1_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void view_zoom_1_1_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void view_zoom_1_2_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void view_zoom_1_4_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void view_zoom_1_8_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void view_zoom_1_16_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void view_dot_for_dot_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void view_info_window_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void view_nav_window_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void view_toggle_selection_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void view_toggle_rulers_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void view_toggle_statusbar_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void view_toggle_guides_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void view_snap_to_guides_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void view_new_view_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void view_shrink_wrap_cmd_callback (GtkWidget *, gpointer);
|
1999-06-22 06:12:07 +08:00
|
|
|
|
|
|
|
void image_convert_rgb_cmd_callback (GtkWidget *, gpointer);
|
1997-11-25 06:05:25 +08:00
|
|
|
void image_convert_grayscale_cmd_callback (GtkWidget *, gpointer);
|
1999-06-22 06:12:07 +08:00
|
|
|
void image_convert_indexed_cmd_callback (GtkWidget *, gpointer);
|
1999-11-20 20:12:41 +08:00
|
|
|
void image_desaturate_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void image_invert_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void image_equalize_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void image_offset_cmd_callback (GtkWidget *, gpointer);
|
1999-06-22 06:12:07 +08:00
|
|
|
void image_resize_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void image_scale_cmd_callback (GtkWidget *, gpointer);
|
1999-11-20 20:12:41 +08:00
|
|
|
void image_duplicate_cmd_callback (GtkWidget *, gpointer);
|
1999-06-22 06:12:07 +08:00
|
|
|
|
|
|
|
void layers_previous_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void layers_next_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void layers_raise_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void layers_lower_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void layers_raise_to_top_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void layers_lower_to_bottom_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void layers_anchor_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void layers_merge_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void layers_flatten_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void layers_mask_select_cmd_callback (GtkWidget *, gpointer);
|
1998-04-03 19:58:04 +08:00
|
|
|
void layers_add_alpha_channel_cmd_callback (GtkWidget *, gpointer);
|
1999-11-20 20:12:41 +08:00
|
|
|
void layers_alpha_select_cmd_callback (GtkWidget *, gpointer);
|
1999-11-27 22:00:26 +08:00
|
|
|
void layers_resize_to_image_cmd_callback (GtkWidget *, gpointer);
|
1999-06-22 06:12:07 +08:00
|
|
|
|
1998-03-02 03:38:25 +08:00
|
|
|
void tools_default_colors_cmd_callback (GtkWidget *, gpointer);
|
1999-06-22 06:12:07 +08:00
|
|
|
void tools_swap_colors_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void tools_select_cmd_callback (GtkWidget *widget,
|
|
|
|
gpointer callback_data,
|
|
|
|
guint callback_action);
|
|
|
|
|
|
|
|
void filters_repeat_cmd_callback (GtkWidget *widget,
|
|
|
|
gpointer callback_data,
|
|
|
|
guint callback_action);
|
|
|
|
|
1999-11-20 20:12:41 +08:00
|
|
|
void dialogs_lc_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void dialogs_tool_options_cmd_callback (GtkWidget *, gpointer);
|
1999-06-22 06:12:07 +08:00
|
|
|
void dialogs_brushes_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void dialogs_patterns_cmd_callback (GtkWidget *, gpointer);
|
1999-11-20 20:12:41 +08:00
|
|
|
void dialogs_gradients_cmd_callback (GtkWidget *, gpointer);
|
1999-06-22 06:12:07 +08:00
|
|
|
void dialogs_palette_cmd_callback (GtkWidget *, gpointer);
|
1997-11-25 06:05:25 +08:00
|
|
|
void dialogs_indexed_palette_cmd_callback (GtkWidget *, gpointer);
|
1999-06-22 06:12:07 +08:00
|
|
|
void dialogs_input_devices_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void dialogs_device_status_cmd_callback (GtkWidget *, gpointer);
|
2000-05-05 22:53:38 +08:00
|
|
|
void dialogs_document_index_cmd_callback (GtkWidget *, gpointer);
|
1999-06-22 06:12:07 +08:00
|
|
|
void dialogs_error_console_cmd_callback (GtkWidget *, gpointer);
|
2000-03-10 03:58:23 +08:00
|
|
|
void dialogs_undo_history_cmd_callback (GtkWidget *, gpointer);
|
1999-10-30 18:39:48 +08:00
|
|
|
|
1999-11-20 20:12:41 +08:00
|
|
|
void dialogs_module_browser_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
|
2001-02-05 23:22:20 +08:00
|
|
|
void dialogs_test_image_container_view_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void dialogs_test_pattern_container_view_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void dialogs_test_brush_container_view_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
|
1999-11-20 20:12:41 +08:00
|
|
|
void help_help_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void help_context_help_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void help_tips_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
void help_about_cmd_callback (GtkWidget *, gpointer);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2000-12-25 04:27:04 +08:00
|
|
|
#ifdef DISPLAY_FILTERS
|
|
|
|
void dialogs_display_filters_cmd_callback (GtkWidget *, gpointer);
|
|
|
|
#endif /* DISPLAY_FILTERS */
|
|
|
|
|
1997-11-25 06:05:25 +08:00
|
|
|
#endif /* __COMMANDS_H__ */
|