2002-11-21 03:45:03 +08:00
|
|
|
/* The GIMP -- an image manipulation program
|
|
|
|
* Copyright (C) 1995-1997 Spencer Kimball and Peter Mattis
|
|
|
|
*
|
2002-11-23 05:08:04 +08:00
|
|
|
* gimppropwidgets.h
|
|
|
|
* Copyright (C) 2002 Michael Natterer <mitch@gimp.org>
|
|
|
|
*
|
2002-11-21 03:45:03 +08:00
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2005-02-05 04:47:42 +08:00
|
|
|
#ifndef __GIMP_APP_PROP_WIDGETS_H__
|
|
|
|
#define __GIMP_APP_PROP_WIDGETS_H__
|
2002-11-21 03:45:03 +08:00
|
|
|
|
|
|
|
|
2006-10-19 03:54:18 +08:00
|
|
|
/* GParamBoolean */
|
|
|
|
|
|
|
|
GtkWidget * gimp_prop_expanding_frame_new (GObject *config,
|
|
|
|
const gchar *property_name,
|
|
|
|
const gchar *button_label,
|
|
|
|
GtkWidget *child,
|
|
|
|
GtkWidget **button);
|
|
|
|
|
|
|
|
|
2005-02-05 07:19:31 +08:00
|
|
|
/* GParamEnum */
|
|
|
|
|
2006-01-17 18:08:50 +08:00
|
|
|
GtkWidget * gimp_prop_paint_mode_menu_new (GObject *config,
|
|
|
|
const gchar *property_name,
|
|
|
|
gboolean with_behind_mode);
|
2005-02-05 07:19:31 +08:00
|
|
|
|
|
|
|
|
2002-11-24 06:22:21 +08:00
|
|
|
/* GimpParamColor */
|
|
|
|
|
2006-01-17 18:08:50 +08:00
|
|
|
GtkWidget * gimp_prop_color_button_new (GObject *config,
|
|
|
|
const gchar *property_name,
|
|
|
|
const gchar *title,
|
|
|
|
gint width,
|
|
|
|
gint height,
|
|
|
|
GimpColorAreaType type);
|
2002-11-24 06:22:21 +08:00
|
|
|
|
|
|
|
|
2003-02-19 00:52:37 +08:00
|
|
|
/* GParamObject (GimpViewable) */
|
|
|
|
|
2006-01-17 18:08:50 +08:00
|
|
|
GtkWidget * gimp_prop_view_new (GObject *config,
|
|
|
|
const gchar *property_name,
|
2006-08-30 05:44:51 +08:00
|
|
|
GimpContext *context,
|
2006-01-17 18:08:50 +08:00
|
|
|
gint size);
|
2003-02-19 00:52:37 +08:00
|
|
|
|
2003-02-04 07:54:19 +08:00
|
|
|
|
2006-09-23 02:27:21 +08:00
|
|
|
void gimp_prop_aspect_ratio_new (GObject *config,
|
2006-09-15 01:11:24 +08:00
|
|
|
const gchar *numerator_property,
|
|
|
|
const gchar *denominator_property,
|
2006-09-23 02:27:21 +08:00
|
|
|
const gchar *fixed_aspect_property,
|
|
|
|
const gchar *width_property,
|
|
|
|
const gchar *height_property,
|
|
|
|
gint digits,
|
|
|
|
GtkTable *table,
|
|
|
|
gint row0,
|
|
|
|
gint col0);
|
2005-02-05 04:47:42 +08:00
|
|
|
#endif /* __GIMP_APP_PROP_WIDGETS_H__ */
|