1. 21 Feb, 2016 1 commit
  2. 13 Feb, 2016 1 commit
    • Benjamin Otte's avatar
      cssnumbervalue: Remove gtk_css_number_value_get_unit() · e2d966ed
      Benjamin Otte authored
      This is in preparation for calc(), as calc(50% - 5px) is valid CSS
      but has 2 units. Instead, add a function to query a value's dimension
      (so we can differentiate lengths from numbers) and add a function to
      query if the value contains percentages.
      e2d966ed
  3. 10 Jan, 2016 2 commits
  4. 09 Jan, 2016 1 commit
  5. 16 Dec, 2015 1 commit
  6. 21 Nov, 2015 1 commit
  7. 23 Jun, 2015 1 commit
  8. 21 Jan, 2015 1 commit
  9. 20 Jan, 2015 3 commits
  10. 24 Oct, 2014 1 commit
  11. 03 Oct, 2014 1 commit
  12. 29 Aug, 2014 1 commit
  13. 16 Aug, 2014 1 commit
  14. 31 Oct, 2012 1 commit
  15. 17 Apr, 2012 5 commits
  16. 08 Mar, 2012 1 commit
  17. 27 Feb, 2012 1 commit
  18. 09 Jan, 2012 6 commits
  19. 25 Nov, 2011 1 commit
  20. 17 Nov, 2011 2 commits
    • Alexander Larsson's avatar
      Add GtkStylePropertyContext and use it in when getting style properties · c09148ca
      Alexander Larsson authored
      At the toplevel we have _gtk_theming_engine_get, which lets us pass
      in a property context with (atm) the size to get the property for.
      Then there is a lot of plumbing to push this down into the lower
      layers of the style property code until finally hitting
      the property resolvers.
      
      I need this because I will be adding a property resolver for win32
      theme parts, and they render differently depending on the size
      (i.e. they don't scale linearly). The idea is that the code
      to get the background properties will pass in the final size
      and we will resolve the theme part specification to that particular
      size.
      
      If the old non-context calls are used we just hardcode a size
      of 100x100.
      c09148ca
    • Alexander Larsson's avatar
      Save a generic boxes source in GtkImageBorder · e953465e
      Alexander Larsson authored
      We used to special handle gradient, but we want to be able to store
      other sources (that will eventually resolve to cairo patterns).
      For instance, this is needed to handle win32 theme part sources.
      e953465e
  21. 08 Nov, 2011 1 commit
  22. 20 Aug, 2011 1 commit
    • Chun-wei Fan's avatar
      Include C89 fallback code · ad73ed29
      Chun-wei Fan authored
      gtk/gtkborderimage.c, gtk/gtklabel.c and gtk/gtkstyleproperty.c call
      round() and/or rint(), which was only available in C99 compilers.
      
      This adds the inclusion of the fallback implementation (gtk/fallback-c89.c)
      to define these functions if they are not initially made available by the
      compiler.
      
      Also remove the rint() implementation in gtk/gtklabel.c as it is now in
      the fallback implmentation.
      ad73ed29
  23. 15 Jun, 2011 1 commit
  24. 10 Jun, 2011 2 commits
  25. 09 Jun, 2011 2 commits