mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 12:32:37 +00:00
17679a610b
2004-03-18 Sven Neumann <sven@gimp.org> * app/display/gimpdisplayshell-dnd.c (gimp_display_shell_bucket_fill): added a missing call to gimp_image_flush(). * app/tools/gimptexttool.c: propagate text changes to the tool options. * app/text/gimptextlayer.c: made "text", "auto-rename" and "modified" properties of the text layer and copy them when duplicating a text layer. * app/text/gimptextlayer-xcf.[ch]: added utility functions to convert the new properties to flags to be saved in the XCF file. * app/xcf/xcf-load.c * app/xcf/xcf-private.h * app/xcf/xcf-save.c: load and save text layer properties. Disabled warnings about unknown properties for stable branches.
36 lines
1.3 KiB
C
36 lines
1.3 KiB
C
/* The GIMP -- an image manipulation program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* GimpText
|
|
* Copyright (C) 2003 Sven Neumann <sven@gimp.org>
|
|
*
|
|
* 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 __GIMP_TEXT_LAYER_XCF_H__
|
|
#define __GIMP_TEXT_LAYER_XCF_H__
|
|
|
|
|
|
gboolean gimp_text_layer_xcf_load_hack (GimpLayer **layer);
|
|
|
|
void gimp_text_layer_xcf_save_prepare (GimpTextLayer *text_layer);
|
|
|
|
guint32 gimp_text_layer_get_xcf_flags (GimpTextLayer *text_layer);
|
|
void gimp_text_layer_set_xcf_flags (GimpTextLayer *text_layer,
|
|
guint32 flags);
|
|
|
|
|
|
#endif /* __GIMP_TEXT_LAYER_XCF_H__ */
|