2007-06-25 Matthew Allum <mallum@openedhand.com>

* README:
        Update a little more.
        * clutter/clutter-effect.c:
        Add missing func documentation
        * clutter/clutter-rectangle.c:
        Fix border drawing.
This commit is contained in:
Matthew Allum
2007-06-25 13:44:32 +00:00
parent b9ab1060f9
commit 62d716b1cb
4 changed files with 55 additions and 23 deletions

View File

@ -100,12 +100,19 @@ clutter_rectangle_paint (ClutterActor *self)
/* this sucks, but it's the only way to make a border */
cogl_rectangle (0, 0,
geom.width, priv->border_width);
cogl_rectangle (geom.width - priv->border_width, priv->border_width,
geom.width, geom.height - priv->border_width);
cogl_rectangle (geom.width - priv->border_width,
priv->border_width,
priv->border_width,
geom.height - (2 * priv->border_width));
cogl_rectangle (0, geom.height - priv->border_width,
geom.width, geom.height);
geom.width - priv->border_width,
priv->border_width);
cogl_rectangle (0, priv->border_width,
priv->border_width, geom.height - priv->border_width);
priv->border_width,
geom.height - priv->border_width);
tmp_col.red = priv->color.red;
tmp_col.green = priv->color.green;