1
/* The GIMP -- an image manipulation program
2
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
#ifndef __TOOL_MANAGER_H__
20
#define __TOOL_MANAGER_H__
23
void tool_manager_init (Gimp *gimp);
24
void tool_manager_exit (Gimp *gimp);
26
GimpTool * tool_manager_get_active (Gimp *gimp);
28
void tool_manager_select_tool (Gimp *gimp,
31
void tool_manager_push_tool (Gimp *gimp,
33
void tool_manager_pop_tool (Gimp *gimp);
36
gboolean tool_manager_initialize_active (Gimp *gimp,
38
void tool_manager_control_active (Gimp *gimp,
39
GimpToolAction action,
41
void tool_manager_button_press_active (Gimp *gimp,
44
GdkModifierType state,
46
void tool_manager_button_release_active (Gimp *gimp,
49
GdkModifierType state,
51
void tool_manager_motion_active (Gimp *gimp,
54
GdkModifierType state,
56
gboolean tool_manager_key_press_active (Gimp *gimp,
60
void tool_manager_focus_display_active (Gimp *gimp,
62
void tool_manager_modifier_state_active (Gimp *gimp,
63
GdkModifierType state,
66
void tool_manager_oper_update_active (Gimp *gimp,
68
GdkModifierType state,
70
void tool_manager_cursor_update_active (Gimp *gimp,
72
GdkModifierType state,
76
#endif /* __TOOL_MANAGER_H__ */