Thu May 13 22:41:26 BST 1999 Andy Thomas <alt@gimp.org> Changed:- * app/bezier_select.c * app/bezier_selectP.h * app/cursorutil.c * app/cursorutil.h * app/curves.c * app/paths_dialog.c New:- * cursor/mouse1_ap * cursor/mouse1_apmsk * cursor/mouse1_cp * cursor/mouse1_cpmsk * cursor/mouse1_mm * cursor/mouse1_mmmsk * cursor/mouse1_sel * cursor/mouse1_selm * cursor/mouse1_selmmsk * cursor/mouse1_selmsk * cursor/mouse1_selp * cursor/mouse1_selpmsk Paths changes:- Implemented multi-part paths. (Import the path (RMB in paths dialog brings menu up) http://www.picnic.demon.co.uk/tmp/gimp.path into a 600x256 (WxH) for an example). Can copy/paste paths. Fully custom cursors when using the Bezier tool. A number of bug fixes re boundary problems also fixed. Note that heavy use is made of the modifier keys in the bezier tool. MB1 inside a closed curve converts it to a selection. The modifiers change how the selection interacts with any current selection (in much the same way as the selection tool does). MB1 + ALT on control point will move a curve, if shift modifier active then single curve is moved. Curves:- In curves dialog you can now press MB1 + shift will add point to curves dialog corresponding to the current position in the currently selected channel. MB1 + CNTRL will add the point to all channels. (Thanks to Carey Bunks for the initial idea).
46 lines
1.5 KiB
C
46 lines
1.5 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 __CURSORUTIL_H__
|
|
#define __CURSORUTIL_H__
|
|
|
|
#include <gdk/gdktypes.h>
|
|
|
|
typedef enum
|
|
{
|
|
GIMP_MOUSE1_CURSOR = (GDK_LAST_CURSOR + 2),
|
|
GIMP_MOUSE1P_CURSOR,
|
|
GIMP_MOUSE1M_CURSOR,
|
|
GIMP_BIGCIRC_CURSOR,
|
|
GIMP_COLOR_PICKER_CURSOR,
|
|
GIMP_MOUSE1AP_CURSOR,
|
|
GIMP_MOUSE1CP_CURSOR,
|
|
GIMP_MOUSE1MM_CURSOR,
|
|
GIMP_MOUSE1SELP_CURSOR,
|
|
GIMP_MOUSE1SELM_CURSOR,
|
|
GIMP_MOUSE1SEL_CURSOR,
|
|
GIMP_LAST_CURSOR_ENTRY
|
|
} GimpCursorType;
|
|
|
|
void change_win_cursor (GdkWindow *, GdkCursorType);
|
|
void unset_win_cursor (GdkWindow *);
|
|
|
|
void gimp_add_busy_cursors_until_idle (void);
|
|
void gimp_add_busy_cursors (void);
|
|
int gimp_remove_busy_cursors (gpointer);
|
|
|
|
#endif /* __CURSORUTIL_H__ */
|