summaryrefslogtreecommitdiff
path: root/gtk/gtkborderimageprivate.h
Commit message (Collapse)AuthorAgeFilesLines
* themingengine: Draw fradctional border sizesBenjamin Otte2012-10-311-1/+1
|
* cssvalue: Convert border-image-width to border valueBenjamin Otte2012-04-171-2/+1
|
* cssvalue: Add a border valueBenjamin Otte2012-04-171-1/+1
| | | | .. and parse border-image-slice with it.
* cssvalue: Add a custom value for repeatsBenjamin Otte2012-04-171-2/+2
| | | | | | In particular, that's background-repeat and border-image-repeat. Also, fix up the border-image shorthand to allow any order.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* borderimage: Change memory managementBenjamin Otte2012-01-091-8/+11
| | | | Making it a on-stack object simplifies things a lot.
* border-image: Remove pack/unpack functionsBenjamin Otte2012-01-091-12/+0
| | | | | They are not used anymore. Also, it's no longer necessary to register GtkBorderImage as a custom GType.
* borderimage: Add _gtk_border_image_new_for_context()Benjamin Otte2012-01-091-0/+1
| | | | and use it.
* borderimage: Convert to using GtkCssImageBenjamin Otte2012-01-091-7/+2
|
* styleproperty: Remove context arg from _gtk_style_context_query()Benjamin Otte2012-01-091-2/+1
|
* Add GtkStylePropertyContext and use it in when getting style propertiesAlexander Larsson2011-11-171-1/+3
| | | | | | | | | | | | | | | | | | 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.
* Save a generic boxes source in GtkImageBorderAlexander Larsson2011-11-171-1/+2
| | | | | | 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.
* border-image: add support for border-image-width tooCosimo Cecchi2011-06-091-0/+2
| | | | | | | | | | | 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.
* borderimage: No need to resolveBenjamin Otte2011-06-091-4/+0
| | | | | border-image is a shorthand, so it's unpacked unresolved and repacked resolved.
* border-image: move private types to gtkcsstypes.cCosimo Cecchi2011-06-091-16/+7
|
* border-image: change Gtk9Slice to GtkBorderImageCosimo Cecchi2011-06-091-0/+80
It's a similar private type, which is much more powerful, and respects the CSS rendering specification for border-image. https://bugzilla.gnome.org/show_bug.cgi?id=651194