1. 18 Sep, 2018 1 commit
    • Ell's avatar
      app, libgimp*, modules: don't use g_type_class_add_private() ... · 3b0040c0
      Ell authored
      ... and G_TYPE_INSTANCE_GET_PRIVATE()
      
      g_type_class_add_private() and G_TYPE_INSTANCE_GET_PRIVATE() were
      deprecated in GLib 2.58.  Instead, use
      G_DEFINE_[ABSTRACT_]TYPE_WITH_PRIVATE(), and
      G_ADD_PRIVATE[_DYNAMIC](), and the implictly-defined
      foo_get_instance_private() functions, all of which are available in
      the GLib versions we depend on.
      
      This commit only covers types registered using one of the
      G_DEFINE_FOO() macros (i.e., most types), but not types with a
      custom registration function, of which we still have a few -- GLib
      currently only provides a (non-deprecated) public API for adding a
      private struct using the G_DEFINE_FOO() macros.
      
      Note that this commit was 99% auto-generated (because I'm not
      *that* crazy :), so if there are any style mismatches... we'll have
      to live with them for now.
      3b0040c0
  2. 11 Jul, 2018 1 commit
  3. 20 Jun, 2018 1 commit
    • Michael Natterer's avatar
      libgimpwidgets: finish GimpColorScale undeprecation, and lots of cleanup · 60dfc457
      Michael Natterer authored
      - derive it from GtkScale not GtkRange so we get the keybindings again
      - remove scroll_event() implementation, the parent class does the right
        thing now
      - remove lots of magic size calculation code about focus and borders
        and whatnot
      - instead, style its CSS nodes using a hardcoded CSS provider and simply
        "know" the size of the slider in draw(), did this in code instead of
        the theme CSS because we do pretty evil things here and we don't want
        theme authors to think they can change much about it
      60dfc457
  4. 01 Jun, 2018 1 commit
  5. 20 May, 2018 9 commits
  6. 03 Sep, 2017 1 commit
  7. 16 Jul, 2017 1 commit
    • Elle Stone's avatar
      Bug 749902 - Add Hue-Chroma operation/tool and LCH color selector · d13fa390
      Elle Stone authored
      This patch increases the LCH Chroma slider maximum value from 100 to
      200 and also makes the Chroma slider properly display out of gamut
      Chroma selections for any given Hue/Lightness combinations.
      
      The current Chroma slider only runs to 100. But quite a few sRGB
      colors have LCH chroma values that are greater than 100. For example
      reddest red has a chroma of 107, and bluest blue has a chroma of 131.
      So it's inconvenient to have to deal with a Chroma slider limit of
      100.
      
      Also, the current Chroma slider doesn't properly show out of gamut
      areas on the Chroma slider. So for example picking a given LCH Hue and
      then moving the Lightness slider doesn't allow to see which Lightness
      value allows for choosing the maximum in-gamut chroma for the chosen
      Hue.
      d13fa390
  8. 06 Jun, 2017 1 commit
  9. 01 Jun, 2017 1 commit
  10. 17 May, 2017 1 commit
    • Michael Natterer's avatar
      Bug 749902 - Add Hue-Chroma operation/tool and LCH color selector · 2b167d63
      Michael Natterer authored
      Add LCH to the color selectors, patch by Elle Stone and myself.
      
      - Extend enum GimpColorSelectorChannel by LCH channels
      - Support them in GimpColorScale, GimpColorScales and GimpColorSelect
      - Did not yet remove the HSV channels until things are working 100% ok
      - Change drawing in GimpColorSelect to be much faster, to compensate
        for babl_process() making the LCH modes pretty slow
      - Clean up stuff in GimpColorSelect
      
      This is WIP and should not be considered finished, biggest TODO is
      displaying out-of-gamut values in GimpColorScales' spinbuttons.
      2b167d63
  11. 23 Oct, 2016 1 commit
  12. 01 Jun, 2016 1 commit
  13. 31 May, 2016 1 commit
  14. 26 May, 2016 1 commit
  15. 31 May, 2015 1 commit
  16. 03 May, 2012 1 commit
  17. 02 May, 2012 1 commit
  18. 25 Apr, 2011 3 commits
  19. 21 Apr, 2011 1 commit
  20. 15 Feb, 2011 1 commit
  21. 07 Jan, 2011 1 commit
  22. 15 Oct, 2010 2 commits
  23. 11 Sep, 2010 1 commit
  24. 10 Sep, 2010 2 commits
  25. 05 Jul, 2010 1 commit
  26. 19 Apr, 2010 1 commit
  27. 17 Oct, 2009 1 commit
  28. 01 Aug, 2009 1 commit