2008-01-29 05:08:35 +08:00
|
|
|
/* GIMP - The GNU Image Manipulation Program
|
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
*
|
2009-01-18 06:28:01 +08:00
|
|
|
* This program is free software: you can redistribute it and/or modify
|
2008-01-29 05:08:35 +08:00
|
|
|
* it under the terms of the GNU General Public License as published by
|
2009-01-18 06:28:01 +08:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
2008-01-29 05:08:35 +08:00
|
|
|
* (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
|
2018-07-12 05:27:07 +08:00
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2008-01-29 05:08:35 +08:00
|
|
|
*/
|
|
|
|
|
2004-07-02 21:31:25 +08:00
|
|
|
#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,
|
|
|
|
};
|
|
|
|
|
2004-07-25 22:29:27 +08:00
|
|
|
void size_restore (void);
|
2004-07-02 21:31:25 +08:00
|
|
|
|
2004-07-25 22:29:27 +08:00
|
|
|
void create_sizepage (GtkNotebook *);
|
|
|
|
|
|
|
|
int size_type_input (int in);
|
2006-10-31 05:36:08 +08:00
|
|
|
void size_map_free_resources (void);
|
2004-07-02 21:31:25 +08:00
|
|
|
|
|
|
|
#endif /* #ifndef __SIZE_H */
|