1997-11-25 06:05:25 +08:00
|
|
|
/* 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
|
1998-04-13 13:44:11 +08:00
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
1997-11-25 06:05:25 +08:00
|
|
|
*/
|
|
|
|
#ifndef __CURSORUTIL_H__
|
|
|
|
#define __CURSORUTIL_H__
|
|
|
|
|
1999-04-27 12:57:59 +08:00
|
|
|
#include <gdk/gdktypes.h>
|
|
|
|
|
1999-05-05 17:10:35 +08:00
|
|
|
typedef enum
|
|
|
|
{
|
1999-05-13 19:12:32 +08:00
|
|
|
GIMP_MOUSE1_CURSOR = (GDK_LAST_CURSOR + 2),
|
1999-05-05 17:10:35 +08:00
|
|
|
GIMP_MOUSE1P_CURSOR,
|
|
|
|
GIMP_MOUSE1M_CURSOR,
|
1999-05-27 17:10:10 +08:00
|
|
|
GIMP_MOUSE1U_CURSOR,
|
1999-05-05 17:10:35 +08:00
|
|
|
GIMP_BIGCIRC_CURSOR,
|
1999-05-13 19:12:32 +08:00
|
|
|
GIMP_COLOR_PICKER_CURSOR,
|
1999-05-14 06:53:40 +08:00
|
|
|
GIMP_MOUSE1AP_CURSOR,
|
|
|
|
GIMP_MOUSE1CP_CURSOR,
|
|
|
|
GIMP_MOUSE1MM_CURSOR,
|
|
|
|
GIMP_MOUSE1SELP_CURSOR,
|
|
|
|
GIMP_MOUSE1SELM_CURSOR,
|
|
|
|
GIMP_MOUSE1SEL_CURSOR,
|
1999-05-05 17:10:35 +08:00
|
|
|
GIMP_LAST_CURSOR_ENTRY
|
|
|
|
} GimpCursorType;
|
|
|
|
|
1999-01-11 07:36:29 +08:00
|
|
|
void change_win_cursor (GdkWindow *, GdkCursorType);
|
|
|
|
void unset_win_cursor (GdkWindow *);
|
|
|
|
|
1999-01-18 01:03:54 +08:00
|
|
|
void gimp_add_busy_cursors_until_idle (void);
|
|
|
|
void gimp_add_busy_cursors (void);
|
|
|
|
int gimp_remove_busy_cursors (gpointer);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
#endif /* __CURSORUTIL_H__ */
|