gimp/app/text/text-enums.h
Sven Neumann d533104de7 handle negative float and double values similar to how this is done for
2003-10-26  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-deserialize.c
	(gimp_config_deserialize_fundamental): handle negative float and
	double values similar to how this is done for integers and the
	like.

	* app/config/gimpconfig-params.h: added two new param flags and
	documented all flags in the header file (for now).

	* app/config/gimpconfig-serialize.h: handle the new param flags
	GIMP_PARAM_DEFAULTS and GIMP_PARAM_IGNORE.

	* app/text/text-enums.[ch]
	* app/text/gimptext.[ch]: added some properties that we will need
	sooner or later. Mark the new properties and a lot of the existing
	ones as GIMP_PARAM_DEFAULTS so that their values are not
	serialized unless changed from the default value.

	* app/text/gimptextlayout.c
	* app/tools/gimptextoptions.c: made all length properties in
	GimpText depend on a single unit.
2003-10-26 00:03:16 +00:00

71 lines
2 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 __TEXT_ENUMS_H__
#define __TEXT_ENUMS_H__
#define GIMP_TYPE_TEXT_BOX_MODE (gimp_text_box_mode_get_type ())
GType gimp_text_box_mode_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_TEXT_BOX_DYNAMIC,
GIMP_TEXT_BOX_FIXED
} GimpTextBoxMode;
#define GIMP_TYPE_TEXT_DIRECTION (gimp_text_direction_get_type ())
GType gimp_text_direction_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_TEXT_DIRECTION_LTR, /*< desc="From Left to Right" >*/
GIMP_TEXT_DIRECTION_RTL /*< desc="From Right to Left" >*/
} GimpTextDirection;
#define GIMP_TYPE_TEXT_JUSTIFICATION (gimp_text_justification_get_type ())
GType gimp_text_justification_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_TEXT_JUSTIFY_LEFT, /*< desc="Left Justified" >*/
GIMP_TEXT_JUSTIFY_RIGHT, /*< desc="Right Justified" >*/
GIMP_TEXT_JUSTIFY_CENTER, /*< desc="Centered" >*/
GIMP_TEXT_JUSTIFY_FILL /*< desc="Filled" >*/
} GimpTextJustification;
#define GIMP_TYPE_TEXT_OUTLINE (gimp_text_outline_get_type ())
GType gimp_text_outline_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_TEXT_OUTLINE_NONE,
GIMP_TEXT_OUTLINE_STROKE_ONLY,
GIMP_TEXT_OUTLINE_STROKE_FILL
} GimpTextOutline;
#endif /* __TEXT_ENUMS_H__ */