mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-23 04:51:44 +00:00
94fc8f15a1
2004-07-20 Michael Natterer <mitch@gimp.org> * app/widgets/gimpactionfactory.[ch] * app/widgets/gimpactiongroup.[ch]: added "label" and "stock-id" properties to GtkActionGroup and allow to register them in the GimpActionFactory. * app/actions/actions.c: register user visible labels and icons with all action groups. * app/widgets/Makefile.am * app/widgets/widgets-types.h * app/widgets/gimpactionview.[ch]: new widget which shows a treeview of action groups and their actions & shortcuts. * app/widgets/gimpaction.[ch]: added gimp_action_name_compare() utility function. * app/widgets/gimpwidgets-utils.[ch]: added gimp_get_accel_string() utility function. * app/widgets/gimpcontrollers.[ch]: added gimp_controllers_get_ui_manager() which will be used for setting up the controller mapping dialog. * app/gui/preferences-dialog.c: added a "Configure Keyboard Shortcuts" button which pops up a GimpControllerView. Work in progress...
40 lines
1.6 KiB
C
40 lines
1.6 KiB
C
/* The GIMP -- an image manipulation program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* gimpcontrollers.h
|
|
* Copyright (C) 2004 Michael Natterer <mitch@gimp.org>
|
|
*
|
|
* 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., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
*/
|
|
|
|
#ifndef __GIMP_CONTROLLERS_H__
|
|
#define __GIMP_CONTROLLERS_H__
|
|
|
|
|
|
void gimp_controllers_init (Gimp *gimp);
|
|
void gimp_controllers_exit (Gimp *gimp);
|
|
|
|
void gimp_controllers_restore (Gimp *gimp,
|
|
GimpUIManager *ui_manager);
|
|
void gimp_controllers_save (Gimp *gimp);
|
|
|
|
GimpContainer * gimp_controllers_get_list (Gimp *gimp);
|
|
GimpUIManager * gimp_controllers_get_ui_manager (Gimp *gimp);
|
|
GimpController * gimp_controllers_get_wheel (Gimp *gimp);
|
|
GimpController * gimp_controllers_get_keyboard (Gimp *gimp);
|
|
|
|
|
|
#endif /* __GIMP_CONTROLLERS_H__ */
|