mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00

2004-09-07 Michael Natterer <mitch@gimp.org> * app/actions/context-actions.c * app/actions/context-commands.[ch]: applied a heavily modified patch from David Gowers which adds actions to modify the context's paint_mode. Fixes bug #151471. * menus/image-menu.xml.in: added them to the (commentd out) "Context" submenu.
94 lines
4.9 KiB
C
94 lines
4.9 KiB
C
/* 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.
|
|
*/
|
|
|
|
#ifndef __CONTEXT_COMMANDS_H__
|
|
#define __CONTEXT_COMMANDS_H__
|
|
|
|
|
|
void context_colors_default_cmd_callback (GtkAction *action,
|
|
gpointer data);
|
|
void context_colors_swap_cmd_callback (GtkAction *action,
|
|
gpointer data);
|
|
|
|
void context_foreground_red_cmd_callback (GtkAction *action,
|
|
gint value,
|
|
gpointer data);
|
|
void context_foreground_green_cmd_callback(GtkAction *action,
|
|
gint value,
|
|
gpointer data);
|
|
void context_foreground_blue_cmd_callback (GtkAction *action,
|
|
gint value,
|
|
gpointer data);
|
|
|
|
void context_background_red_cmd_callback (GtkAction *action,
|
|
gint value,
|
|
gpointer data);
|
|
void context_background_green_cmd_callback(GtkAction *action,
|
|
gint value,
|
|
gpointer data);
|
|
void context_background_blue_cmd_callback (GtkAction *action,
|
|
gint value,
|
|
gpointer data);
|
|
|
|
void context_opacity_cmd_callback (GtkAction *action,
|
|
gint value,
|
|
gpointer data);
|
|
void context_paint_mode_cmd_callback (GtkAction *action,
|
|
gint value,
|
|
gpointer data);
|
|
|
|
void context_tool_select_cmd_callback (GtkAction *action,
|
|
gint value,
|
|
gpointer data);
|
|
void context_brush_select_cmd_callback (GtkAction *action,
|
|
gint value,
|
|
gpointer data);
|
|
void context_pattern_select_cmd_callback (GtkAction *action,
|
|
gint value,
|
|
gpointer data);
|
|
void context_palette_select_cmd_callback (GtkAction *action,
|
|
gint value,
|
|
gpointer data);
|
|
void context_gradient_select_cmd_callback (GtkAction *action,
|
|
gint value,
|
|
gpointer data);
|
|
void context_font_select_cmd_callback (GtkAction *action,
|
|
gint value,
|
|
gpointer data);
|
|
|
|
void context_brush_shape_cmd_callback (GtkAction *action,
|
|
gint value,
|
|
gpointer data);
|
|
void context_brush_radius_cmd_callback (GtkAction *action,
|
|
gint value,
|
|
gpointer data);
|
|
void context_brush_spikes_cmd_callback (GtkAction *action,
|
|
gint value,
|
|
gpointer data);
|
|
void context_brush_hardness_cmd_callback (GtkAction *action,
|
|
gint value,
|
|
gpointer data);
|
|
void context_brush_aspect_cmd_callback (GtkAction *action,
|
|
gint value,
|
|
gpointer data);
|
|
void context_brush_angle_cmd_callback (GtkAction *action,
|
|
gint value,
|
|
gpointer data);
|
|
|
|
|
|
#endif /* __CONTEXT_COMMANDS_H__ */
|