mirror of https://github.com/GNOME/gimp.git
initialize all members of the GimpCoords struct.
2008-07-18 Sven Neumann <sven@gimp.org> * app/core/core-types.h (GIMP_COORDS_DEFAULT_VALUES): initialize all members of the GimpCoords struct. svn path=/trunk/; revision=26231
This commit is contained in:
parent
7447eeb09c
commit
dbf3201a85
|
@ -1,3 +1,8 @@
|
|||
2008-07-18 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/core/core-types.h (GIMP_COORDS_DEFAULT_VALUES): initialize
|
||||
all members of the GimpCoords struct.
|
||||
|
||||
2008-07-17 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/core/gimpcoords.c (gimp_coords_mix): also mix in the new
|
||||
|
|
|
@ -45,11 +45,16 @@
|
|||
#define GIMP_COORDS_MAX_WHEEL 1.0
|
||||
#define GIMP_COORDS_DEFAULT_WHEEL 0.5
|
||||
|
||||
#define GIMP_COORDS_DEFAULT_VELOCITY 0.0
|
||||
|
||||
#define GIMP_COORDS_DEFAULT_VALUES { 0.0, 0.0, \
|
||||
GIMP_COORDS_DEFAULT_PRESSURE, \
|
||||
GIMP_COORDS_DEFAULT_TILT, \
|
||||
GIMP_COORDS_DEFAULT_TILT, \
|
||||
GIMP_COORDS_DEFAULT_WHEEL }
|
||||
GIMP_COORDS_DEFAULT_WHEEL, \
|
||||
0.0, 0.0, 0.0, 0.0, \
|
||||
GIMP_COORDS_DEFAULT_VELOCITY, \
|
||||
0.0 }
|
||||
|
||||
|
||||
/* base classes */
|
||||
|
|
Loading…
Reference in New Issue