gimp/app/widgets/gimpfontselection-dialog.h
Sven Neumann 840437199c take image resolution and choosen unit into account for font and border
2001-08-14  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptexttool.c: take image resolution and choosen unit
	into account for font and border size.

	* app/widgets/gimpfontselection-dialog.[ch]
	* app/widgets/gimpfontselection.[ch]
	* app/widgets/widgets-types.h: added an indicator for font validity.
	Added a font preview to the font selection dialog.

	* libgimpwidgets/gimpfileselection.c: return FALSE from
	gimp_file_selection_entry_focus_out_callback() since we do not want
	to stop signal emission.
2001-08-14 13:49:21 +00:00

43 lines
1.6 KiB
C

/* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
*
* gimpfontselection-dialog.h
* Copyright (C) 2001 Sven Neumann <sven@gimp.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef __GIMP_FONT_SELECTION_DIALOG_H__
#define __GIMP_FONT_SELECTION_DIALOG_H__
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
GimpFontSelectionDialog * gimp_font_selection_dialog_new (GimpFontSelection *fontsel);
void gimp_font_selection_dialog_destroy (GimpFontSelectionDialog *dialog);
void gimp_font_selection_dialog_show (GimpFontSelectionDialog *dialog);
void gimp_font_selection_dialog_set_font_desc (GimpFontSelectionDialog *dialog,
PangoFontDescription *new_desc);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __GIMP_FONT_SELECTION_DIALOG_H__ */