1. 01 Dec, 2017 1 commit
  2. 30 Nov, 2017 1 commit
    • Ell's avatar
      libgimpwidgets: add "layout" property to GimpIntComboBox · 47ac6111
      Ell authored
      The "layout" proerty controls the combo-box layout (but not its
      menu layout), and can be one of:
        - ICON_ONLY:  Only show icons.
        - ABBREVIATED:  Show icons and abbreviated labels (or full
          labels, when there is no abbreviation).
        - FULL:  Show icons and full labels.  Default.
      Avoid reconstructing the combo's cell-layout when the menu is
      shown/hidden, by maintaining the combo's cell-layout and the menu's
      cell-layout separately (probably a terrible hack, but one we already
      use :P).
  3. 02 Feb, 2016 1 commit
    • Jehan's avatar
      Bug 648776 - fixes symmetry painting after Massimo and Mitch's reviews. · 1f483928
      Jehan authored
      Use a GType for the PROP_SYMMETRY property of GimpImage, and create
      a default "identity" symmetry for an image.
      I still use a GimpIntComboBox but store the property value in the
      user-data column because gpointer isn't a subset of gint.
      Adds in libgimpwidgets:
      - gimp_int_combo_box_set_active_by_user_data()
      - gimp_int_combo_box_get_active_user_data()
      - gimp_int_store_lookup_by_user_data()
      - gimp_prop_pointer_combo_box_new() to create a GimpIntComboBox and
        attach it to a gpointer property.
      Thanks Massimo and Mitch for reviewing my code.
  4. 03 Jun, 2013 1 commit
    • Michael Natterer's avatar
      libgimpwidgets: add a "label" property and API to GimpIntComboBox · 418a310f
      Michael Natterer authored
      If set, the label is displayed left-aligned inside the combo box, and
      the normal content moves to the right. Reconfigure the combo's
      contents when the popup is shown/hidden, so the popup widget is not
      affected by the label. This requires an evil hack because of a bug in
      GtkCellView. The hack automatically disables itself once GTK+ 2.24.19
      (which has a fix) is used.
  5. 28 Apr, 2011 1 commit
    • Michael Natterer's avatar
      libgimp*: add guards that #error out if individual files are included · 844df2b4
      Michael Natterer authored
      This only helps to maintain proper includes in app/ and shouldn't
      affect plug-ins at all, because these are supposed to only include the
      main headers from libgimp/ since the beginning of time.
      The gimpfootypes.h files do not have these guards, so we can continue
      to maintain app/'s include policy that is very likely to error out if
      wrong things are included.
  6. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      	* all files with a GPL header and all COPYING files:
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      svn path=/trunk/; revision=27913
  7. 23 May, 2008 1 commit
    • Michael Natterer's avatar
      Stop including single headers from gtk+ to be prepared for the upcoming · 598da617
      Michael Natterer authored
      2008-05-23  Michael Natterer  <mitch@gimp.org>
      	Stop including single headers from gtk+ to be prepared
      	for the upcoming GTK_DISABLE_SINGLE_INCLUDES:
      	* configure.in: add -DGTK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
      	* app/display/gimpcanvas.h
      	* app/display/gimpscalecombobox.h
      	* app/display/gimpstatusbar.h
      	* app/widgets/*.h
      	* libgimp/gimpprogressbar.h
      	* libgimp/gimpselectbutton.h
      	* libgimpwidgets/*.h
      	* libgimpwidgets/gimpstock.c
      	* plug-ins/uri/gimpmountoperation.h: remove inclusion of parent
      	classes and single files from gtk+.
      	* app/widgets/gtkwrapbox.h
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpfontmenu.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimppalettemenu.c
      	* libgimp/gimppatternmenu.c
      	* libgimp/gimpselectbutton.c: #include <gtk/gtk.h>
      	* plug-ins/common/poppler.c: undef GTK_DISABLE_SINGLE_INCLUDES
      	when including <poppler.h>.
      svn path=/trunk/; revision=25781
  8. 25 Jan, 2006 1 commit
    • Sven Neumann's avatar
      libgimpwidgets/gimpintcombobox.[ch] libgimpwidgets/gimppageselector.[ch] · b614bf5e
      Sven Neumann authored
      2006-01-25  Sven Neumann  <sven@gimp.org>
      	* libgimpwidgets/gimpintcombobox.[ch]
      	* libgimpwidgets/gimppageselector.[ch]
      	* libgimpwidgets/gimpzoommodel.[ch]: added a priv pointer to the
      	instance struct and changed the GET_PRIVATE() macro to access the
      	private data via that pointer.
      	* libgimpwidgets/gimpscrolledpreview.[ch]
      	* libgimpwidgets/gimpwidgets.def: added a priv pointer to the
      	instance struct and moved all private data to the
      	GimpScrolledPreviewPrivate struct. Added freeze/thaw methods so
      	that derived widgets can be implemented without accessing private
      	* libgimp/gimpzoompreview.c: changed accordingly.
      	* libgimp/gimpfontselectbutton.[ch]: let the priv pointer be an
      	anonymous void pointer.
  9. 27 Sep, 2005 1 commit
    • Sven Neumann's avatar
      libgimp/gimpprocbrowserdialog.h libgimpwidgets/gimpbrowser.h · aa94434f
      Sven Neumann authored
      2005-09-27  Sven Neumann  <sven@gimp.org>
      	* libgimp/gimpprocbrowserdialog.h
      	* libgimpwidgets/gimpbrowser.h
      	* libgimpwidgets/gimpdialog.h
      	* libgimpwidgets/gimpintcombobox.h
      	* libgimpwidgets/gimpoldwidgets.h
      	* libgimpwidgets/gimpwidgets.h: use G_GNUC_NULL_TERMINATED where
      	* libgimp/gimpprocbrowserdialog.c
      	* libgimpwidgets/gimpbrowser.c: added missing API docs.
  10. 27 Jun, 2005 1 commit
    • Sven Neumann's avatar
      added new constructor gimp_enum_combo_box_new_with_model(). Also override · b23b0350
      Sven Neumann authored
      2005-06-27  Sven Neumann  <sven@gimp.org>
      	* libgimpwidgets/gimpenumcombobox.[ch]: added new constructor
      	gimp_enum_combo_box_new_with_model(). Also override the "model"
      	property to make it clear that GimpEnumComboBox expects to be
      	used with GimpEnumStore.
      	* libgimpwidgets/gimpwidgets.def: updated.
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c
      	* app/widgets/gimpwidgets-constructors.c: use the new constructor.
      	* libgimpwidgets/gimpenumlabel.h
      	* libgimpwidgets/gimpenumstore.h
      	* libgimpwidgets/gimpintcombobox.h
      	* libgimpwidgets/gimpintstore.h: use "parent_class", not
      	"parent_instance" when including the parent struct.
  11. 28 Feb, 2005 1 commit
    • Sven Neumann's avatar
      removed gimp_enum_combo_box_set_visible(). · 49005d9b
      Sven Neumann authored
      2005-03-01  Sven Neumann  <sven@gimp.org>
      	* libgimpwidgets/gimpenumcombobox.[ch]: removed
      	* libgimpwidgets/gimpintcombobox.[ch]: added
      	gimp_int_combo_box_set_sensitivity() instead.
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c
      	* app/widgets/gimphistogrameditor.c: changed accordingly.
      	* libgimpwidgets/gimpenumstore.h: added padding for future expansion.
      	* libgimpwidgets/gimpwidgets.def: updated.
  12. 23 Oct, 2004 1 commit
    • Michael Natterer's avatar
      libgimp/gimpaspectpreview.h libgimp/gimpdrawablepreview.h · 66529903
      Michael Natterer authored
      2004-10-23  Michael Natterer  <mitch@gimp.org>
      	* libgimp/gimpaspectpreview.h
      	* libgimp/gimpdrawablepreview.h
      	* libgimp/gimpprogressbar.h
      	* libgimpwidgets/gimpcellrenderercolor.h
      	* libgimpwidgets/gimpcellrenderertoggle.h
      	* libgimpwidgets/gimpframe.h
      	* libgimpwidgets/gimpintcombobox.h
      	* libgimpwidgets/gimpintstore.h
      	* libgimpwidgets/gimppreview.h
      	* libgimpwidgets/gimppreviewarea.h
      	* libgimpwidgets/gimpscrolledpreview.h: added padding to all class
      	structs which have been added since 2.0.
  13. 21 Apr, 2004 3 commits
    • Sven Neumann's avatar
      libgimp/gimpdrawablecombobox.c libgimp/gimpimagecombobox.c changed the · 36dc39be
      Sven Neumann authored
      2004-04-21  Sven Neumann  <sven@gimp.org>
      	* libgimp/gimpdrawablecombobox.c
      	* libgimp/gimpimagecombobox.c
      	* libgimp/gimpmenu.c: changed the label for the empty menu from
      	"None" to "Empty" since that's what GTK+ uses.
      	* libgimpwidgets/gimpintcombobox.[ch]: added convenience function
      	* plug-ins/common/bumpmap.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/depthmerge.c
      	* plug-ins/common/displace.c
      	* plug-ins/common/lic.c
      	* plug-ins/common/warp.c: ported to GimpDrawableComboBox.
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/MapObject/mapobject_ui.c
      	* plug-ins/common/sample_colorize.c: use
      	gimp_int_combo_box_connect(). This restores the correct behaviour
      	of setting the drawable_ID to the first drawable from the list if
      	it's invalid.
    • Sven Neumann's avatar
      use the same label as in the new combo_box widgets. · 8abf38f7
      Sven Neumann authored
      2004-04-21  Sven Neumann  <sven@gimp.org>
      	* libgimp/gimpmenu.c (gimp_menu_add_none): use the same label as
      	in the new combo_box widgets.
      	* libgimpwidgets/gimpintcombobox.[ch]
      	* libgimpwidgets/gimpintstore.[ch]: use LibGIMP copyright headers.
    • Sven Neumann's avatar
      added new functions gimp_int_combo_box_[prepend|append}. · 9dd7f257
      Sven Neumann authored
      2004-04-21  Sven Neumann  <sven@gimp.org>
      	* libgimpwidgets/gimpintcombobox.[ch]: added new functions
      	* plug-ins/common/sample_colorize.c: ported to GimpDrawableComboBox.
  14. 20 Apr, 2004 3 commits
    • Sven Neumann's avatar
      libgimpwidgets/gimpmemsizeentry.c ported to GimpIntComboBox. · a0e845c8
      Sven Neumann authored
      2004-04-20  Sven Neumann  <sven@gimp.org>
      	* libgimpwidgets/gimpmemsizeentry.c
      	* modules/cdisplay_proof.c: ported to GimpIntComboBox.
      	* libgimpwidgets/gimpwidgets.[ch]: declared the gimp option_menu
      	API as deprecated and removed the code here.
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpoldwidgets.[ch]: new files with deprecated
      	code, guarded with #ifndef GIMP_DISABLE_DEPRECATED ... #endif.
      	* libgimpwidgets/gimpintcombobox.h: added G_BEGIN_DECLS, G_END_DECLS.
      	* configure.in (CPP_FLAGS): added -DGIMP_DISABLE_DEPRECATED.
      	* app/widgets/gimpwidgets-constructors.c: added a #warning and
      	#undef GIMP_DISABLE_DEPRECATED. The paint mode menu is the last
      	remaining user of gimp_int_option_menu_new().
    • Sven Neumann's avatar
      added more sanity checks. · 8339ba7f
      Sven Neumann authored
      2004-04-20  Sven Neumann  <sven@gimp.org>
      	* app/widgets/gimpenumcombobox.c: added more sanity checks.
      	* libgimpwidgets/gimpintcombobox.[ch]: added another GimpIntComboBox
      	constructor: gimp_int_combo_box_new_array().
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/MapObject/mapobject_ui.c
      	* plug-ins/common/CML_explorer.c: ported to GimpIntComboBox.
    • Sven Neumann's avatar
      libgimpwidgets/Makefile.am libgimpwidgets/gimpwidgets.h · 9f3c7944
      Sven Neumann authored
      2004-04-20  Sven Neumann  <sven@gimp.org>
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgets.h
      	* libgimpwidgets/gimpwidgetstypes.h
      	* libgimpwidgets/gimpintcombobox.[ch]: added new widget
      	GimpIntComboBox, a GtkComboBox with a simple list store to hold a
      	label and an associated integer value. This is going to replace
      	* plug-ins/common/jpeg.c
      	* plug-ins/print/gimp_main_window.c: ported these two plug-ins to
      	the newly added widget.
      2004-04-20  Sven Neumann  <sven@gimp.org>
      	* libgimpwidgets/libgimpwidgets-docs.sgml
      	* libgimpwidgets/libgimpwidgets-sections.txt
      	* libgimpwidgets/libgimpwidgets.types
      	* libgimpwidgets/tmpl/gimpintcombobox.sgml: added docs for the new
      	GimpIntComboBox widget.