1. 20 Jan, 2015 3 commits
  2. 16 Aug, 2014 1 commit
  3. 31 Oct, 2012 1 commit
  4. 17 Apr, 2012 3 commits
  5. 27 Feb, 2012 1 commit
  6. 09 Jan, 2012 5 commits
  7. 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
  8. 10 Jun, 2011 1 commit
    • Cosimo Cecchi's avatar
      border-image: add support for border-image-width too · 3d1407a0
      Cosimo Cecchi authored
      It's useful to set a slice size != border-width, as backgrounds are
      clipped to border-width too.
      
      As slices can be half-transparent and overlap the background,
      this would not fill the border box properly if we only use a single
      property for specifying the width.
      
      Also, this brings us even closer to CSS3.
      3d1407a0
  9. 09 Jun, 2011 3 commits