gimp/plug-ins/gimpressionist/size.h
Shlomi Fish 5559b6223e fixed bug #148088: ("Gimpressioinst crashes if given malicious presets
* plug-ins/gimpressionist/: fixed bug #148088: ("Gimpressioinst crashes if
given malicious presets with out of range values, in the radio buttons
group numeric values: "placetype", "orienttype", etc. ").

This was done by adding clamps to the relevant values in the preset.
2004-07-25 14:29:27 +00:00

23 lines
395 B
C

#ifndef __SIZE_H
#define __SIZE_H
enum SIZE_TYPE_ENUM
{
SIZE_TYPE_VALUE = 0,
SIZE_TYPE_RADIUS = 1,
SIZE_TYPE_RANDOM = 2,
SIZE_TYPE_RADIAL = 3,
SIZE_TYPE_FLOWING = 4,
SIZE_TYPE_HUE = 5,
SIZE_TYPE_ADAPTIVE = 6,
SIZE_TYPE_MANUAL = 7,
};
void size_restore (void);
void create_sizepage (GtkNotebook *);
int size_type_input (int in);
#endif /* #ifndef __SIZE_H */