mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-18 00:41:04 +00:00
register GimpPaintApplicationMode with the type system.
2003-03-24 Michael Natterer <mitch@gimp.org> * app/paint/paint-enums.[ch]: register GimpPaintApplicationMode with the type system. * app/paint/gimppaintoptions.[ch]: replaced "gboolean incremental" with "GimpPaintApplicationMode application_mode" * app/paint/gimpairbrush.c * app/paint/gimperaser.c * app/paint/gimppaintbrush.c * app/paint/gimppencil.c: changed accordingly. * tools/pdbgen/pdb/paint_tools.pdb: ditto. Set all paint options values using g_object_set(). * app/widgets/gimppropwidgets.[ch]: added gimp_prop_enum_check_button_new() which can represent two specified enum values and renders itself "inconsistent" for all other values. * app/tools/paint_options.c: use it for the "Incremental" toggle. * app/pdb/paint_tools_cmds.c * tools/pdbgen/enums.pl: regenerated.
This commit is contained in:
parent
3d8cc9a2a1
commit
c40a6f9920
18 changed files with 402 additions and 81 deletions
|
@ -49,6 +49,12 @@ GtkWidget * gimp_prop_paint_mode_menu_new (GObject *config,
|
|||
const gchar *property_name,
|
||||
gboolean with_behind_mode);
|
||||
|
||||
GtkWidget * gimp_prop_enum_check_button_new (GObject *config,
|
||||
const gchar *property_name,
|
||||
const gchar *label,
|
||||
gint false_value,
|
||||
gint true_value);
|
||||
|
||||
GtkWidget * gimp_prop_enum_radio_frame_new (GObject *config,
|
||||
const gchar *property_name,
|
||||
const gchar *title,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue