mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 04:22:29 +00:00
8ab1ae98a3
2004-06-15 Michael Natterer <mitch@gimp.org> * app/actions/Makefile.am * app/actions/context-actions.[ch] * app/actions/context-commands.[ch]: added new action group to modify all GimpContext properties. So far there are actions to cycle through the lists of brushes, patterns etc., to change the opacity, to swap and default colors and to edit generated brushes. * app/actions/actions.c: register the new "context" action group. * app/actions/tools-actions.c * app/actions/tools-commands.[ch]: removed "tools-default-colors" and "tools-swap-colors" actions and callbacks because they are in the "context" action group now. * app/menus/menus.c: add the "context" group to the <Image> and <Dock> UI managers. * menus/image-menu.xml.in: changed accordingly. Added a temporary "Context" menu to test and debug the new actions.
29 lines
1.1 KiB
C
29 lines
1.1 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_ACTIONS_H__
|
|
#define __CONTEXT_ACTIONS_H__
|
|
|
|
|
|
void context_actions_setup (GimpActionGroup *group);
|
|
void context_actions_update (GimpActionGroup *group,
|
|
gpointer data);
|
|
|
|
|
|
#endif /* __CONTEXT_ACTIONS_H__ */
|