- 03 Jul, 2019 1 commit
-
-
Michael Natterer authored
Change all action callbacks so they can be invoked by a GAction: - add GimpActionCallback typedef: void (* cb) (GimpAction*, GVariant*, gpointer) - change all action callbacks to the GimpActionCallback signature - add "gimp-activate" and "gimp-change-state" signals to GimpAction, with the same signature as the resp. GAction signals - remove all other custom action signals and only use the new GimpAction signals - pass around appropriate GVariants containing booleans, int32, strings - badly hack around to force a GimpProcedure pointer into a uint64 variant - remove all G_CALLBACK() casts from all action callbacks, they all have the same signature now
-
- 02 Jul, 2019 2 commits
-
-
Michael Natterer authored
instead of GtkAction, which is correct now because all our actions implement the GimpAction interface.
-
Michael Natterer authored
Step one: get rid of all those deprecation warnings that make it hard to see any other warnings: - add a lot of dummy API to GimpAction, GimpActionGroup, GimpUIManager etc. which simply forwards to the deprecated GTK functions, they will all go away again later - rename GimpAction to GimpActionImpl - add interface GimpAction that is implemented by all action classes, creates a common interface and allows to remove some duplicated logic from GimpToggleAction and GimpRadioAction, and at the same time adds more features
-
- 11 Jul, 2018 1 commit
-
-
- 24 Jun, 2018 3 commits
-
-
Michael Natterer authored
they are obsolete in GTK+ 3.x because GtkAdjustment cannot be passed around as GtkObject any longer, GtkObject is gone.
-
Michael Natterer authored
Let the split and replicate segments dialogs keep their own data and don't use GimpGradientEditor struct members. Remove redundant members and indent the struct.
-
Michael Natterer authored
Add gimp_gradient_editor_get_selection() and set_selection() and use them in gradient-editor-commands.c
-
- 21 Jun, 2018 1 commit
-
-
Michael Natterer authored
Same as previous commits.
-
- 13 Jun, 2018 1 commit
-
-
Michael Natterer authored
-
- 20 May, 2018 1 commit
-
-
Michael Natterer authored
...and gone are the annoying warnings.
-
- 25 Apr, 2018 1 commit
-
-
luz.paz authored
Found via `codespell` and grep.
-
- 13 Apr, 2018 1 commit
-
-
Michael Natterer authored
First WIP commit, adds: - enum GimpGradientBlendColorSpace { RGB_PERCEPTUAL, RGB_LINEAR } - linear blending mode for gradient segments - tool options GUI for the blend and paint tools which use gradients
-
- 09 Oct, 2017 1 commit
-
-
Ell authored
Use gimp_gradient_get_{left,right}_flat_color(), instead of gimp_gradient_get_color_at(), to get the selection endpoints' colors in the gradient editor, so that the correct colors are used under any condition (in particular, if there are 0-length segments.)
-
- 05 Mar, 2017 1 commit
-
-
Michael Natterer authored
Try to sort all GIMP_ICON_* defines into FDO categories like in https://specifications.freedesktop.org/icon-naming-spec/latest/ar01s04.html Add defines for all icons we override, rename some icons to their FDO standard names, and mark the ones we duplicate with a comment so we don't forget to rename those to standard names in 3.0.
-
- 12 Feb, 2017 1 commit
-
-
Michael Natterer authored
Nobody has them anymore, and they are deprecated in GTK+ 3.x. This also fixes all conflicting mnemonics except those I missed, but we can fix them now.
-
- 13 May, 2015 1 commit
-
-
Thomas Manni authored
Check for valid GimpGradientSegmentType and GimpGradientSegmentColor enum values before updating gradient segment.
-
- 24 Feb, 2015 1 commit
-
-
Michael Natterer authored
...at least not most of the time, gradients are beasts. Also some unrelated minor cleanup.
-
- 02 May, 2012 1 commit
-
-
Michael Natterer authored
which takes a Babl format to convert from/to. Include <gegl.h> in a million places.
-
- 02 Oct, 2011 1 commit
-
-
Michael Natterer authored
and use it all over the place. Also change some GtkObject* variables to GtkAdjustment*.
-
- 30 Sep, 2011 1 commit
-
-
Michael Natterer authored
-
- 10 Apr, 2011 1 commit
-
-
Martin Nordholts authored
-
- 07 Jan, 2011 1 commit
-
-
Michael Natterer authored
- return TRUE from event handlers if we handled the event - remove the "instant update" toggle and feature - move the color area left of the labels now that the toggle is gone
-
- 30 Oct, 2010 1 commit
-
-
Michael Natterer authored
because the packing options are different for GtkH/VBox and GtkBox itself which is now instantiable. Instead, always use gtk_box_pack_start() and specify expanding explicitely.
-
- 28 Feb, 2010 1 commit
-
-
Martin Nordholts authored
Instead of including dialogs/dialogs.h everywhere, introduce gimp_dialog_factory_get_singleton(). The dialog factory singleton is still initialized by dialogs.c though. Right now the assumption is that we never will have another dialog factory instance around. There were so many problems before when we had four of them, so let's just keep one of them around.
-
- 31 Oct, 2009 1 commit
-
-
Michael Natterer authored
-
- 15 Jul, 2009 1 commit
-
-
Michael Natterer authored
-
- 12 Jul, 2009 1 commit
-
-
Massimo Valentini authored
This is not a problem of gimp_gradient_get_color_at(), but a typo in gradient_editor_right_color_update().
-
- 07 Jul, 2009 1 commit
-
-
Massimo Valentini authored
This is not a problem of gimp_gradient_get_color_at(), but a typo in gradient_editor_right_color_update().
-
- 17 Jan, 2009 1 commit
-
-
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
-
- 09 Dec, 2006 1 commit
-
-
Sven Neumann authored
2006-12-09 Sven Neumann <sven@gimp.org> * In all files, changed the standard copyright notice to say "GIMP - The GNU Image Manipulation Program".
-
- 01 Sep, 2006 1 commit
-
-
Michael Natterer authored
2006-09-01 Michael Natterer <mitch@gimp.org> * app/widgets/gimpviewabledialog.[ch]: added GimpContext parameters and create the GimpView with that context. * app/widgets/gimpcolordialog.[ch] * app/dialogs/convert-dialog.[ch] * app/dialogs/desaturate-dialog.[ch] * app/dialogs/grid-dialog.[ch] * app/dialogs/image-properties-dialog.[ch] * app/dialogs/layer-add-mask-dialog.[ch] * app/dialogs/offset-dialog.[ch] * app/dialogs/print-size-dialog.[ch] * app/dialogs/resize-dialog.[ch] * app/dialogs/scale-dialog.[ch] * app/dialogs/stroke-dialog.[ch] * app/dialogs/template-options-dialog.[ch] * app/dialogs/vectors-options-dialog.[ch]: added GimpContext parameters here too and pass them to gimp_viewable_dialog_new(). * app/actions/colormap-editor-commands.c * app/actions/drawable-commands.c * app/actions/gradient-editor-commands.c * app/actions/image-commands.c * app/actions/layers-commands.c * app/actions/palette-editor-commands.c * app/actions/select-commands.c * app/actions/vectors-commands.c * app/actions/view-commands.c * app/dialogs/channel-options-dialog.c * app/dialogs/dialogs-constructors.c * app/dialogs/image-merge-layers-dialog.c * app/dialogs/image-scale-dialog.c * app/dialogs/layer-options-dialog.c * app/display/gimpdisplayshell-filter-dialog.c * app/display/gimpdisplayshell-scale.c * app/tools/gimpcolorpickertool.c * app/tools/gimpimagemaptool.c * app/tools/gimpmeasuretool.c * app/tools/gimptexttool.c * app/tools/gimptransformtool.c * app/tools/gimpvectortool.c * app/widgets/gimpcolorpanel.c * app/widgets/gimpcontrollereditor.c * app/widgets/gimpcontrollerlist.c * app/widgets/gimptoolbox-color-area.c: pass contexts to above dialog constructors.
-
- 31 Aug, 2006 1 commit
-
-
Michael Natterer authored
2006-09-01 Michael Natterer <mitch@gimp.org> * app/actions/gradient-editor-actions.c * app/actions/gradient-editor-commands.[ch]: added actions and callbacks to select a gradient segment's left and right color type. Handle FG/BG color correctly in a few places. Use GimpDataEditor's context instead of the user context. * menus/gradient-editor-menu.xml: added the actions to the menu. Cleanup: * app/actions/palette-editor-actions.c * app/actions/palette-editor-commands.c: use GimpDataEditor's context instead of the user context. * app/actions/brush-editor-actions.c: remove unused context variable.
-
- 29 Aug, 2006 1 commit
-
-
Michael Natterer authored
2006-08-29 Michael Natterer <mitch@gimp.org> Changed GimpViewable preview rendering to have a context to get FG/BG/whatever from. Use the context to enable dynamic FG/BG colors in gradients. Fixes bug #127676 and bug #352214. Addresses bug #128367 (doesn't fix it because there's no loading/saving and no GUI yet). * app/core/core-enums.[ch]: added enum GimpGradientColor to enable specifying gradient colors in terms of foreground and background. * app/core/gimpgradient.[ch]: added color_type members to the GimpGradientSegment struct and honor them in gimp_gradient_get_color_at(). Added GimpContext parameters to all functions which finally call get_color_at(). * app/core/gimp-gradients.c: use the new method to implement the builtin gradients. * app/core/gimpviewable.[ch]: added GimpContext parameters to all get_preview() and get_pixbuf() functions. * app/core/gimpbrush.c * app/core/gimpbuffer.c * app/core/gimpdrawable-preview.[ch] * app/core/gimpgradient.c * app/core/gimpimage-preview.[ch] * app/core/gimpimagefile.c * app/core/gimppalette.c * app/core/gimppattern.c * app/core/gimpundo.[ch] * app/text/gimpfont.c * app/vectors/gimpvectors-preview.[ch]: changed ::get_preview() and ::get_pixbuf() implementations accordingly. * app/core/gimpdrawable-blend.c * app/core/gimppalette-import.[ch] * app/dialogs/dialogs-constructors.c * app/dialogs/palette-import-dialog.c * app/dialogs/resize-dialog.c * app/display/gimpdisplayshell-layer-select.c * app/display/gimpdisplayshell.c * app/display/gimpnavigationeditor.c * app/paint/gimppaintoptions.c * app/tools/gimpeditselectiontool.c * app/tools/gimptexttool.c * app/actions/gradient-editor-commands.c * app/widgets/gimpaction.c * app/widgets/gimpbrusheditor.[ch] * app/widgets/gimpbufferview.c * app/widgets/gimpcellrendererviewable.c * app/widgets/gimpchanneltreeview.c * app/widgets/gimpclipboard.c * app/widgets/gimpcoloreditor.c * app/widgets/gimpcomponenteditor.c * app/widgets/gimpcontainerbox.c * app/widgets/gimpcontainercombobox.c * app/widgets/gimpcontainereditor.c * app/widgets/gimpcontainerentry.c * app/widgets/gimpcontainergridview.c * app/widgets/gimpcontainertreeview.[ch] * app/widgets/gimpdataeditor.[ch] * app/widgets/gimpdevicestatus.c * app/widgets/gimpdnd.[ch] * app/widgets/gimpdrawabletreeview.c * app/widgets/gimpfiledialog.c * app/widgets/gimpgradienteditor.[ch] * app/widgets/gimpgradientselect.c * app/widgets/gimpitemtreeview.c * app/widgets/gimplayertreeview.c * app/widgets/gimppaletteeditor.[ch] * app/widgets/gimppropwidgets.[ch] * app/widgets/gimpselectioneditor.c * app/widgets/gimpthumbbox.[ch] * app/widgets/gimptoolbox-image-area.c * app/widgets/gimptoolbox-indicator-area.c * app/widgets/gimptooloptionseditor.c * app/widgets/gimpundoeditor.c * app/widgets/gimpvectorstreeview.c * app/widgets/gimpview-popup.[ch] * app/widgets/gimpview.[ch] * app/widgets/gimpviewablebutton.c * app/widgets/gimpviewabledialog.c * app/widgets/gimpviewrenderer.[ch] * app/widgets/gimpviewrenderer-frame.c * app/widgets/gimpviewrendererbrush.c * app/widgets/gimpviewrendererbuffer.c * app/widgets/gimpviewrendererdrawable.c * app/widgets/gimpviewrenderergradient.c * app/widgets/gimpviewrendererimage.c * tools/pdbgen/pdb/drawable.pdb * tools/pdbgen/pdb/gradient.pdb * tools/pdbgen/pdb/gradients.pdb * tools/pdbgen/pdb/image.pdb: added tons of GimpContext members and parameters, implement GimpDocked::set_context() in many widgets. Pass these locally remembered contexts to GimpViewable functions. Did some minor cleanups on the way. There are still some minor FIXMEs around where the code uses a NULL context (which is allowed by the APIs) * app/pdb/drawable_cmds.c * app/pdb/gradient_cmds.c * app/pdb/gradients_cmds.c * app/pdb/image_cmds.c: regenerated.
-
- 12 Apr, 2006 1 commit
-
-
Sven Neumann authored
2006-04-12 Sven Neumann <sven@gimp.org> * app/*.[ch] * app/*/*.[ch]: converted tabs to spaces.
-
- 07 Jul, 2005 1 commit
-
-
Sven Neumann authored
2005-07-07 Sven Neumann <sven@gimp.org> * app/actions/gradient-editor-commands.c * app/widgets/gimpcolordialog.c * app/widgets/gimpdock.c * plug-ins/gflare/gflare.c * plug-ins/script-fu/script-fu-server.c: specify alternative button order in some places that were missed earlier (spotted by Stephan Binner).
-
- 27 May, 2005 1 commit
-
-
Sven Neumann authored
2005-05-27 Sven Neumann <sven@gimp.org> * (lots of files): Use the canonical form for signal names.
-
- 06 May, 2005 1 commit
-
-
Michael Natterer authored
2005-05-06 Michael Natterer <mitch@gimp.org> * app/actions/gradient-editor-commands.h: added enum for the "load_color" actions. * app/actions/gradient-editor-actions.c * app/actions/gradient-editor-commands.c: use the new enum instead of magic values, cleanup. * app/actions/palette-editor-commands.c: cleanup. * app/widgets/gimpbrusheditor.c * app/widgets/gimpdataeditor.c: cleanup. * app/widgets/gimpgradienteditor.c: added GtkObject::destroy() and GtkWidget::unmap() implementations which destroy the color dialog. Destroy color dialogs by cancelling them via gtk_dialog_response(), so temporarily changed colors are restored correctly. Refactored my last commit below a bit. Various cleanups. * app/widgets/gimppaletteeditor.[ch]: no need to remember the buttons in the GimpPaletteEditor struct.
-
- 26 Feb, 2005 1 commit
-
-
Sven Neumann authored
2005-02-27 Sven Neumann <sven@gimp.org> * app/core/gimpgradient.[ch]: removed the "last_visited" field from GimpGradient. Instead added the new function gimp_gradient_get_color_at_segment() that allows the caller to do the same optimization. * app/actions/gradient-editor-commands.c * app/core/gimpdrawable-blend.c * app/core/gimppalette-import.c * app/paint/gimppaintoptions.c * app/widgets/gimpgradienteditor.c * app/widgets/gimpgradientselect.c * app/widgets/gimpviewrenderergradient.c: changed accordingly. * app/pdb/gradient_cmds.c * app/pdb/gradients_cmds.c: regenerated.
-
- 10 Feb, 2005 1 commit
-
-
Sven Neumann authored
2005-02-10 Sven Neumann <sven@gimp.org> * app/actions/data-commands.c * app/actions/edit-commands.c * app/actions/error-console-commands.c * app/actions/file-commands.c * app/actions/gradient-editor-commands.c * app/actions/gradients-commands.c * app/actions/plug-in-commands.c * app/actions/templates-commands.c * app/actions/text-editor-commands.c * app/actions/tool-options-commands.c * app/dialogs/image-new-dialog.c * app/dialogs/resize-dialog.c * app/display/gimpdisplayshell-close.c * app/display/gimpdisplayshell-filter-dialog.c * app/display/gimpdisplayshell-scale.c * app/tools/gimpimagemaptool.c * app/tools/gimptexttool.c * libgimp/gimpexport.c * libgimpwidgets/gimpcolorbutton.c * libgimpwidgets/gimpfileentry.c * libgimpwidgets/gimpquerybox.c * libgimpwidgets/gimpunitmenu.c: applied another patch by Patrice Tremblay to make more dialogs obey the alternative button order setting (bug #166678).
-
- 21 Dec, 2004 1 commit
-
-
Michael Natterer authored
2004-12-21 Michael Natterer <mitch@gimp.org> * app/actions/gradient-editor-actions.c (gradient_editor_actions_update): if the dialog is insensitive, disable all actions which modify the gradient. Fixes bug #161411. * app/actions/gradient-editor-commands.c: update the UI manager after setting the dialog sensitive/insensitive so te above works.
-