1. 22 Oct, 2017 1 commit
    • Ell's avatar
      app: add compress-threshold-range prop to color-to-alpha-plus gui · 78aff4dd
      Ell authored
      When set, the opacity and transparenct threshold range is compressed
      to the minimal extent that would produce different results.
      
      When the property is toggled, update the opacity and transparency
      thresholds, such that the result remains the same.
      78aff4dd
  2. 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
  3. 15 Oct, 2017 1 commit
  4. 09 Oct, 2017 1 commit
    • Ell's avatar
      app: add misc. parameters to GimpControllerSlider · dad521e3
      Ell authored
      Add parameters, controlling the behavior and appearance of sliders,
      to GimpControllerSlider.  The macro GIMP_CONTROLLER_SLIDER_DEFAULT
      expands to a nonmodifiable lvalue of type GimpControllerSlider,
      whose members are initialized with the most common default values.
      
      Handle the new parameters in GimpToolLine.  A slider using the new
      "autohide" mode is only visible when selected, or when the cursor
      is close enough to the line, between the slider's min and max
      values, and no other handle is grabbed or hovered-over.
      dad521e3
  5. 30 Jul, 2017 2 commits
  6. 17 Jul, 2017 1 commit
  7. 16 Jul, 2017 2 commits
  8. 09 Jul, 2017 2 commits
  9. 04 Jul, 2017 1 commit
  10. 03 Jul, 2017 5 commits