1. 09 Jan, 2012 14 commits
  2. 25 Nov, 2011 6 commits
  3. 17 Nov, 2011 5 commits
    • Alexander Larsson's avatar
      bc38cf1f
    • Alexander Larsson's avatar
      Add initial cut at win32 theme support for CSS · abe6598a
      Alexander Larsson authored
      We now support -gtk-win32-theme-part(class,part,state) in background
      and border-image CSS properties. This renders the corresponding
      theme part using DrawThemeBackground() and acts as a base for a
      CSS based windows theme.
      
      Note that we build the parsing code even on non-win32 so that
      all themese will parse the same on all arches. We draw pink instead
      of the actual theme parts on non-win32 though.
      abe6598a
    • Alexander Larsson's avatar
      make _gtk_style_property_resolve copy the result to an output value · 8b644b40
      Alexander Larsson authored
      This is preparation for allowing it to return a newly created
      value, rather than just copying one.
      8b644b40
    • 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
  4. 08 Nov, 2011 2 commits
  5. 15 Oct, 2011 1 commit
  6. 26 Sep, 2011 3 commits
  7. 26 Aug, 2011 1 commit
  8. 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
  9. 06 Aug, 2011 1 commit
  10. 23 Jul, 2011 1 commit
  11. 21 Jul, 2011 4 commits
  12. 19 Jul, 2011 1 commit