~ubuntu-branches/ubuntu/maverick/gimp/maverick-updates

« back to all changes in this revision

Viewing changes to app/tools/tool_manager.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2005-12-09 19:44:52 UTC
  • Revision ID: james.westby@ubuntu.com-20051209194452-yggpemjlofpjqyf4
Tags: upstream-2.2.9
ImportĀ upstreamĀ versionĀ 2.2.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* The GIMP -- an image manipulation program
 
2
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
 
3
 *
 
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.
 
8
 *
 
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.
 
13
 *
 
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.
 
17
 */
 
18
 
 
19
#ifndef __TOOL_MANAGER_H__
 
20
#define __TOOL_MANAGER_H__
 
21
 
 
22
 
 
23
void       tool_manager_init                  (Gimp             *gimp);
 
24
void       tool_manager_exit                  (Gimp             *gimp);
 
25
 
 
26
GimpTool * tool_manager_get_active            (Gimp             *gimp);
 
27
 
 
28
void       tool_manager_select_tool           (Gimp             *gimp,
 
29
                                               GimpTool         *tool);
 
30
 
 
31
void       tool_manager_push_tool             (Gimp             *gimp,
 
32
                                               GimpTool         *tool);
 
33
void       tool_manager_pop_tool              (Gimp             *gimp);
 
34
 
 
35
 
 
36
gboolean   tool_manager_initialize_active     (Gimp             *gimp,
 
37
                                               GimpDisplay      *gdisp);
 
38
void       tool_manager_control_active        (Gimp             *gimp,
 
39
                                               GimpToolAction    action,
 
40
                                               GimpDisplay      *gdisp);
 
41
void       tool_manager_button_press_active   (Gimp             *gimp,
 
42
                                               GimpCoords       *coords,
 
43
                                               guint32           time,
 
44
                                               GdkModifierType   state,
 
45
                                               GimpDisplay      *gdisp);
 
46
void       tool_manager_button_release_active (Gimp             *gimp,
 
47
                                               GimpCoords       *coords,
 
48
                                               guint32           time,
 
49
                                               GdkModifierType   state,
 
50
                                               GimpDisplay      *gdisp);
 
51
void       tool_manager_motion_active         (Gimp             *gimp,
 
52
                                               GimpCoords       *coords,
 
53
                                               guint32           time,
 
54
                                               GdkModifierType   state,
 
55
                                               GimpDisplay      *gdisp);
 
56
gboolean   tool_manager_key_press_active      (Gimp             *gimp,
 
57
                                               GdkEventKey      *kevent,
 
58
                                               GimpDisplay      *gdisp);
 
59
 
 
60
void       tool_manager_focus_display_active  (Gimp             *gimp,
 
61
                                               GimpDisplay      *gdisp);
 
62
void       tool_manager_modifier_state_active (Gimp             *gimp,
 
63
                                               GdkModifierType   state,
 
64
                                               GimpDisplay      *gdisp);
 
65
 
 
66
void       tool_manager_oper_update_active    (Gimp             *gimp,
 
67
                                               GimpCoords       *coords,
 
68
                                               GdkModifierType   state,
 
69
                                               GimpDisplay      *gdisp);
 
70
void       tool_manager_cursor_update_active  (Gimp             *gimp,
 
71
                                               GimpCoords       *coords,
 
72
                                               GdkModifierType   state,
 
73
                                               GimpDisplay      *gdisp);
 
74
 
 
75
 
 
76
#endif  /*  __TOOL_MANAGER_H__  */