1. 07 Feb, 2016 2 commits
  2. 05 Jan, 2016 1 commit
    • Matthias Clasen's avatar
      Make sure icons update on theme change · f63e8ede
      Matthias Clasen authored
      Gadgets don't connect to style-changed for widget nodes, and
      GtkImage uses its widget node for the icon helper. The visible
      effect of this is that symbolic icons don't change color when
      switching to the dark variant of Adwaita.
      
      Fix this by manually invalidating the icon helper.
      f63e8ede
  3. 15 Dec, 2015 4 commits
  4. 09 Dec, 2015 3 commits
  5. 01 Dec, 2015 5 commits
  6. 25 Nov, 2015 2 commits
  7. 09 Jun, 2014 1 commit
  8. 07 Aug, 2013 1 commit
  9. 03 Jul, 2013 2 commits
    • Alexander Larsson's avatar
      GtkIconHelper: Convert to using cairo surfaces as base and support scales · 031e1a98
      Alexander Larsson authored
      We render the source into a cairo_surface_t so that we can render it
      with cairo directly, rather than having to convert it from a pixbuf
      every time. We also specify the target window when creating the cairo
      surface so that rendering can be faster.
      
      Using cairo surfaces also allows us to seamlessly support window scales.
      
      We also add a GTK_IMAGE_SURFACE source type.
      031e1a98
    • Alexander Larsson's avatar
      GtkIconHelper: Add set_window() · 5d8fd4ee
      Alexander Larsson authored
      This is a hint on where the icon will be drawn. It
      will allow us to pre-allocate cairo surfaces for the right
      target.
      5d8fd4ee
  10. 13 Jul, 2012 1 commit
  11. 27 Feb, 2012 1 commit
  12. 30 Nov, 2011 1 commit
    • Cosimo Cecchi's avatar
      icon-helper: add GtkIconHelper private object · b5d8d2c4
      Cosimo Cecchi authored
      GtkIconHelper is a helper object to easily obtain a pixbuf from
      different icon sources (e.g. a GIcon, an icon name, a stock id, ...).
      
      Code is ported from GtkImage, which will be adapted in the next commit.
      b5d8d2c4