mirror of https://github.com/GNOME/gimp.git
more fixes... when will it all end...
* configure.in: more fixes... when will it all end... * plug-ins/xd/xd.c: compile with >= 0.15 now * app/transform.[ch]: applied gimp-alt-980412, fixes control point selection for transforms -Yosh
This commit is contained in:
parent
5b54657d42
commit
6ea6e68604
|
@ -1,3 +1,12 @@
|
|||
Sun Apr 12 01:19:35 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* configure.in: more fixes... when will it all end...
|
||||
|
||||
* plug-ins/xd/xd.c: compile with >= 0.15 now
|
||||
|
||||
* app/transform.[ch]: applied gimp-alt-980412, fixes control
|
||||
point selection for transforms
|
||||
|
||||
Sat Apr 11 15:23:26 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* Made 0.99.26 release
|
||||
|
|
|
@ -83,6 +83,8 @@ transform_core_button_press (tool, bevent, gdisp_ptr)
|
|||
gdisp = (GDisplay *) gdisp_ptr;
|
||||
transform_core = (TransformCore *) tool->private;
|
||||
|
||||
transform_core->bpressed = TRUE; /* ALT */
|
||||
|
||||
tool->drawable = gimage_active_drawable (gdisp->gimage);
|
||||
|
||||
/* Save the current transformation info */
|
||||
|
@ -212,6 +214,8 @@ transform_core_button_release (tool, bevent, gdisp_ptr)
|
|||
gdisp = (GDisplay *) gdisp_ptr;
|
||||
transform_core = (TransformCore *) tool->private;
|
||||
|
||||
transform_core->bpressed = FALSE; /* ALT */
|
||||
|
||||
/* if we are creating, there is nothing to be done...exit */
|
||||
if (transform_core->function == CREATING && transform_core->interactive)
|
||||
return;
|
||||
|
@ -336,9 +340,18 @@ transform_core_motion (tool, mevent, gdisp_ptr)
|
|||
GDisplay *gdisp;
|
||||
TransformCore *transform_core;
|
||||
|
||||
|
||||
gdisp = (GDisplay *) gdisp_ptr;
|
||||
transform_core = (TransformCore *) tool->private;
|
||||
|
||||
if(transform_core->bpressed == FALSE)
|
||||
{
|
||||
/* hey we have not got the button press yet
|
||||
* so go away.
|
||||
*/
|
||||
return;
|
||||
}
|
||||
|
||||
/* if we are creating or this tool is non-interactive, there is
|
||||
* nothing to be done so exit.
|
||||
*/
|
||||
|
@ -517,6 +530,8 @@ transform_core_new (type, interactive)
|
|||
private->function = CREATING;
|
||||
private->original = NULL;
|
||||
|
||||
private->bpressed = FALSE;
|
||||
|
||||
for (i = 0; i < TRAN_INFO_SIZE; i++)
|
||||
private->trans_info[i] = 0;
|
||||
|
||||
|
|
|
@ -89,6 +89,10 @@ struct _transform_core
|
|||
int function; /* current tool activity */
|
||||
|
||||
int interactive; /* tool is interactive */
|
||||
int bpressed; /* Bug work around make sure we have
|
||||
* a button pressed before we deal with
|
||||
* motion events. ALT.
|
||||
*/
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -83,6 +83,8 @@ transform_core_button_press (tool, bevent, gdisp_ptr)
|
|||
gdisp = (GDisplay *) gdisp_ptr;
|
||||
transform_core = (TransformCore *) tool->private;
|
||||
|
||||
transform_core->bpressed = TRUE; /* ALT */
|
||||
|
||||
tool->drawable = gimage_active_drawable (gdisp->gimage);
|
||||
|
||||
/* Save the current transformation info */
|
||||
|
@ -212,6 +214,8 @@ transform_core_button_release (tool, bevent, gdisp_ptr)
|
|||
gdisp = (GDisplay *) gdisp_ptr;
|
||||
transform_core = (TransformCore *) tool->private;
|
||||
|
||||
transform_core->bpressed = FALSE; /* ALT */
|
||||
|
||||
/* if we are creating, there is nothing to be done...exit */
|
||||
if (transform_core->function == CREATING && transform_core->interactive)
|
||||
return;
|
||||
|
@ -336,9 +340,18 @@ transform_core_motion (tool, mevent, gdisp_ptr)
|
|||
GDisplay *gdisp;
|
||||
TransformCore *transform_core;
|
||||
|
||||
|
||||
gdisp = (GDisplay *) gdisp_ptr;
|
||||
transform_core = (TransformCore *) tool->private;
|
||||
|
||||
if(transform_core->bpressed == FALSE)
|
||||
{
|
||||
/* hey we have not got the button press yet
|
||||
* so go away.
|
||||
*/
|
||||
return;
|
||||
}
|
||||
|
||||
/* if we are creating or this tool is non-interactive, there is
|
||||
* nothing to be done so exit.
|
||||
*/
|
||||
|
@ -517,6 +530,8 @@ transform_core_new (type, interactive)
|
|||
private->function = CREATING;
|
||||
private->original = NULL;
|
||||
|
||||
private->bpressed = FALSE;
|
||||
|
||||
for (i = 0; i < TRAN_INFO_SIZE; i++)
|
||||
private->trans_info[i] = 0;
|
||||
|
||||
|
|
|
@ -89,6 +89,10 @@ struct _transform_core
|
|||
int function; /* current tool activity */
|
||||
|
||||
int interactive; /* tool is interactive */
|
||||
int bpressed; /* Bug work around make sure we have
|
||||
* a button pressed before we deal with
|
||||
* motion events. ALT.
|
||||
*/
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -134,7 +134,7 @@ dnl Test for libjpeg
|
|||
AC_MSG_WARN(*** JPEG plug-in will not be built (JPEG library not found) ***))
|
||||
if test "$jpeg_ok" = yes; then
|
||||
AC_MSG_CHECKING([for jpeg.h])
|
||||
AC_TRY_COMPILE(
|
||||
AC_TRY_CPP(
|
||||
[#include <stdio.h>
|
||||
#undef PACKAGE
|
||||
#undef VERSION
|
||||
|
|
|
@ -39,6 +39,10 @@
|
|||
#include "xdelta.h"
|
||||
#include "X11/xpm.h"
|
||||
|
||||
#ifdef XDELTA_OLD_PREFIX
|
||||
#include <zlib.h>
|
||||
#endif
|
||||
|
||||
#define PREVIEW_MAX_DIM 64
|
||||
|
||||
static void query (void);
|
||||
|
@ -261,7 +265,11 @@ get_name_ver_and_xd (gchar* filename0,
|
|||
if (valid_file (filename))
|
||||
*xd = xd_open_write (filename);
|
||||
else
|
||||
#ifdef XDELTA_OLD_PREFIX
|
||||
*xd = xd_create (filename, Z_DEFAULT_COMPRESSION);
|
||||
#else
|
||||
*xd = xd_create (filename);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
*xd = xd_open_write (filename); /* !! it's write so it can update preview segments */
|
||||
|
|
Loading…
Reference in New Issue