2006-12-05 Emmanuele Bassi <ebassi@openedhand.com>

* behave.c: Add test for clutter_color_parse().
This commit is contained in:
Emmanuele Bassi 2006-12-05 05:20:39 +00:00
parent 2c8e235f04
commit bceae43706
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-12-05 Emmanuele Bassi <ebassi@openedhand.com>
* behave.c: Add test for clutter_color_parse().
2006-12-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-event.c: Move the apidoc out.

View File

@ -10,7 +10,7 @@ main (int argc, char *argv[])
ClutterActor *group, *rect, *hand;
ClutterColor stage_color = { 0xcc, 0xcc, 0xcc, 0xff };
ClutterColor rect_bg_color = { 0x33, 0x22, 0x22, 0xff };
ClutterColor rect_border_color = { 0xff, 0xcc, 0xcc, 0xff };
ClutterColor rect_border_color = { 0, 0, 0, 0 };
GdkPixbuf *pixbuf;
ClutterKnot knots[] = {{ 0, 0 }, { 0, 300 }, { 300, 300 },
@ -44,6 +44,7 @@ main (int argc, char *argv[])
clutter_rectangle_set_color (CLUTTER_RECTANGLE (rect),
&rect_bg_color);
clutter_rectangle_set_border_width (CLUTTER_RECTANGLE (rect), 10);
clutter_color_parse ("DarkSlateGray", &rect_border_color);
clutter_rectangle_set_border_color (CLUTTER_RECTANGLE (rect),
&rect_border_color);
clutter_actor_show (rect);