1. 24 Jul, 2018 1 commit
    • Ell's avatar
      app: in prop-GUI, use "direction" UI-meta of angle props for dial · 6976e87d
      Ell authored
      When constructing a prop-GUI widget for an angle property with a
      dial, use the the property's "direction" UI-meta, if exists, to set
      the direction of the dial.  Together with GEGL commit
      7b0578073a0f20334b5a8a8fe57b649d9f302454, this fixes wrong dial
      direction in certain ops that use clockwise angles.
      6976e87d
  2. 11 Jul, 2018 1 commit
  3. 17 Jun, 2018 1 commit
  4. 05 Jun, 2018 1 commit
    • Ell's avatar
      app: add custom GUI for gegl:recursive-transform-plus · 99828a69
      Ell authored
      gegl:recursive-transform-plus is an extension of
      gegl:recursive-transform, allowing multiple transformations to be
      applied simultaneously; it will eventually be merged back into
      gegl:recursive-transform.  See GEGL commit
      9829bc22e85526d789c4e80c05949d4c6202a207.
      
      The GUI uses the new TRANSFORM_GRIDS controller, allowing adding,
      duplicating, and removing transformations, and controlling them
      through on-canvas transform grids.
      99828a69
  5. 20 May, 2018 1 commit
  6. 10 Apr, 2018 1 commit
  7. 08 Mar, 2018 1 commit
  8. 01 Mar, 2018 1 commit
    • Ell's avatar
      app: add custom GUI for gegl:recursive-transform · 8039582d
      Ell authored
      gegl:recursive-transform applies a transformation recursively to
      an image.  The custom GUI allows controlling the transformation
      matrix using a transform-grid controller, added in the previous
      commit.
      8039582d
  9. 21 Feb, 2018 1 commit
  10. 15 Feb, 2018 1 commit
    • Ell's avatar
      app: enable gegl:color-to-alpha custom GUI · 4190f400
      Ell authored
      gegl:color-to-alpha-plus was merged back to gegl:color-to-alpha in
      GEGL, so we can change the custom propgui constructor to refer to
      gegl:color-to-alpha.
      
      Remove the threshold-range compression toggle and logic, since the
      corresponding property was removed in GEGL.
      4190f400
  11. 05 Jan, 2018 1 commit
  12. 02 Nov, 2017 1 commit
  13. 16 Oct, 2017 2 commits
    • Ell's avatar
      app: add custom gui for gegl:color-to-alpha(-plus) · d4d8dbbc
      Ell authored
      Add a specialized propgui constructor for gegl:color-to-alpha-plus.
      This op is currently in the workshop, but is set to be merged with
      the existing gegl:color-to-alpha, so we omit the '-plus' from file-
      and function-names.
      
      The new op adds a pair of properties to control the radii, relative
      to the selected color, below which colors become fully transparent,
      and above which colors remain fully opaque.  Allow these properties
      to be set by picking a color from the image, and calculating the
      radius accordingly.
      d4d8dbbc
    • Ell's avatar
      app: allow specifying a callback function for propgui pickers · c5b88702
      Ell authored
      Allow propgui constructors to specify an (optional) callback function
      when creating pickers, to be called when a color/coordinate is picked,
      similarly to controller callbacks.
      
      Implement picker callback support in GimpFilterTool.  When the active
      picker has an associated callback function, call it instead of the
      class's color_picked() function.
      
      Add lots of "#include <gegl.h>" to .c files that miss it, which is
      now necessary, since this commit adds a Babl* parameter in
      propgui-types.h.
      c5b88702
  14. 15 Oct, 2017 1 commit
  15. 16 Jul, 2017 2 commits
  16. 09 Jul, 2017 2 commits
  17. 03 Jul, 2017 3 commits
  18. 02 Jul, 2017 1 commit
    • Michael Natterer's avatar
      app: start an infrastructure for on-canvas controllers for operations · f4f2de1b
      Michael Natterer authored
      Pass a "GimpCreateControllerFunc" to all gimppropgui-*.[ch]
      constructors which takes a callback (to update the config object when
      the on-canvas GUI) and a controller type that determines the
      callback's signature, and returns another callback (to update the
      on-canvas GUI when the config object changes).
      
      In GimpOperationTool, pass such a GimpCreateControllerFunc that
      handles creating and adding on-canvas controller via the new
      gimpfiltertool-widgets.[ch]. So far, a simple line like in the
      blend tool is supported.
      
      Add a custom GUI for gegl:spiral, and have its origin, radius and
      angle controlled by such a line.
      f4f2de1b
  19. 05 Jun, 2017 3 commits
  20. 04 Jun, 2017 1 commit
  21. 13 May, 2017 1 commit
    • Ell's avatar
      app: add ui_meta keys for controlling some UI attributes dynamically · bb2417c2
      Ell authored
      Add support for The following GEGL op property keys, which shall
      contain GUM expressions of the specified type, controlling the
      corresponding UI attributes of the property's widget:
      
        - sensitive [boolean]: controls widget sensitivity.
      
        - visible [boolean]: controls widget visibility.
      
        - label [string]: controls widget label (or the label of the
          associated label widget).
      
        - description [string]: controls widget tooltip text.
      
      When any of above keys are present, the values they evaluate to take
      precedence over the static values the corresponding attributes would
      otherwise have.
      bb2417c2
  22. 03 May, 2017 1 commit
    • Ell's avatar
      app: in prop gui & co., allow picking outside drawable bounds · bc458996
      Ell authored
      Add a boolean 'pick_abyss' parameter to GimpCreatePickerFunc.  When
      this parameter is TRUE, the picker should pick outside the bounds
      of the drawable.  Use FALSE for color pickers, and TRUE for position
      pickers.
      bc458996
  23. 05 Mar, 2017 1 commit
  24. 07 Jul, 2016 1 commit
  25. 06 Jul, 2016 1 commit
    • Michael Natterer's avatar
      app: add smarter soft boundaries for GimpSpinScale widgets · a96c2736
      Michael Natterer authored
      Pass a GeglRectangle to all gimp_prop_gui_*() functions, and set
      the soft limits to the rectangle's extents if the GParamSpec
      metadata's "unit" is "pixel-coordinate" or "pixel-distance".
      
      In GimpSymmetryEditor, pass the image extents, in GimpOperationTool
      pass the drawable extents.
      a96c2736
  26. 01 Jul, 2016 1 commit
    • Jehan's avatar
      app: remove current implementation of GimpSpinScale soft bounds. · 4e6d3205
      Jehan authored
      Mitch gets a better idea to deal with soft limits (i.e. min/max values
      different from the property min/max) applied to a spin scale created by
      gimp_prop_spin_scale_new().
      So let's just remove the current implementation (using locale data on
      the GimpConfig object). The symmetry spin scales are back with crazy
      huge maximums, which makes quite a horrible GUI, but this is only
      temporary until Mitch commits his new implementation.
      4e6d3205
  27. 14 Jun, 2016 1 commit
    • Jehan's avatar
      app: allow locale lower and upper values in gimp_prop_spin_scale_new(). · cafa912c
      Jehan authored
      Currently a GimpSpinScale created with gimp_prop_spin_scale_new() will
      use the associated property's lower and upper values.
      Unfortunately these generic values may not be always relevant and we
      may want to construct a spin scale UI adapted to the current image.
      For instance, several symmetry painting have a x/y property which has
      to stay within the image's dimension, but changing the property's lower
      and upper values would affect the symmetry on the class level (i.e. for
      all similar symmetries on all images).
      Let's allow setting data on object with key "property-name:min|max" to
      provide locale min/max values specifically for this object.
      This is used only on the symmetry dock for now, but could be used as
      well on GEGL op UIs.
      cafa912c
  28. 16 Apr, 2016 2 commits
  29. 26 Mar, 2016 1 commit
  30. 25 Mar, 2016 1 commit
  31. 06 Feb, 2016 1 commit
  32. 06 Feb, 2015 1 commit