[maemo-commits] [maemo-commits] r16440 - in projects/haf/trunk/hildon-theme-tools: . src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Mon Oct 20 13:42:23 EEST 2008
- Previous message: [maemo-commits] r16439 - in projects/haf/trunk/hildon-control-panel: . data src
- Next message: [maemo-commits] r16441 - in projects/haf/trunk/hildon-thumbnail: . debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: tigert Date: 2008-10-20 13:41:56 +0300 (Mon, 20 Oct 2008) New Revision: 16440 Modified: projects/haf/trunk/hildon-theme-tools/ChangeLog projects/haf/trunk/hildon-theme-tools/src/outliner.c Log: tweaked colors Modified: projects/haf/trunk/hildon-theme-tools/ChangeLog =================================================================== --- projects/haf/trunk/hildon-theme-tools/ChangeLog 2008-10-20 10:39:05 UTC (rev 16439) +++ projects/haf/trunk/hildon-theme-tools/ChangeLog 2008-10-20 10:41:56 UTC (rev 16440) @@ -1,3 +1,8 @@ +2008-10-20 Tuomas Kuosmanen <tuomas.kuosmanen at nokia.com> + + * src/outliner.c (process): pretty colors, tweaked alpha slightly + to make it more useful for overlay in design process. + 2008-10-17 Daniel Borgmann <danielb at openismus.com> * src/outliner.c: Implement border lines, as suggested by Tuomas Modified: projects/haf/trunk/hildon-theme-tools/src/outliner.c =================================================================== --- projects/haf/trunk/hildon-theme-tools/src/outliner.c 2008-10-20 10:39:05 UTC (rev 16439) +++ projects/haf/trunk/hildon-theme-tools/src/outliner.c 2008-10-20 10:41:56 UTC (rev 16440) @@ -56,18 +56,18 @@ image = gdk_pixbuf_new (GDK_COLORSPACE_RGB, TRUE, 8, element->Width, element->Height); if (counter % 5 == 0) - gdk_pixbuf_fill (image, 0x00ff00ff); + gdk_pixbuf_fill (image, 0xff660030); else if (counter % 5 == 1) - gdk_pixbuf_fill (image, 0x00ee00ff); + gdk_pixbuf_fill (image, 0x9ade0030); else if (counter % 5 == 2) - gdk_pixbuf_fill (image, 0x00dd00ff); + gdk_pixbuf_fill (image, 0x9eabb030); else if (counter % 5 == 3) - gdk_pixbuf_fill (image, 0x00cc00ff); + gdk_pixbuf_fill (image, 0x0084c830); else - gdk_pixbuf_fill (image, 0x00bb00ff); + gdk_pixbuf_fill (image, 0xc04ec230); /* Create a black outline */ - /* TOP AND BOTTunOM */ + /* TOP AND BOTTOM */ h_border_img = gdk_pixbuf_new (GDK_COLORSPACE_RGB, TRUE, 8, element->Width, 1); gdk_pixbuf_fill (h_border_img, 0x000000ff); gdk_pixbuf_copy_area (h_border_img, 0, 0, element->Width, 1, @@ -87,7 +87,7 @@ border_img = gdk_pixbuf_new (GDK_COLORSPACE_RGB, TRUE, 8, element->Width, element->BorderTop); gdk_pixbuf_fill (border_img, 0x000000ff); gdk_pixbuf_composite (border_img, image, 0, 0, element->Width, element->BorderTop, - 0, 0, 1.0, 1.0, GDK_INTERP_NEAREST, 26); + 0, 0, 1.0, 1.0, GDK_INTERP_NEAREST, 32); gdk_pixbuf_unref (border_img); gdk_pixbuf_copy_area (h_border_img, 0, 0, element->Width, 1, @@ -98,7 +98,7 @@ border_img = gdk_pixbuf_new (GDK_COLORSPACE_RGB, TRUE, 8, element->Width, element->BorderBottom); gdk_pixbuf_fill (border_img, 0x000000ff); gdk_pixbuf_composite (border_img, image, 0, element->Height - element->BorderBottom, element->Width, element->BorderBottom, - 0, 0, 1.0, 1.0, GDK_INTERP_NEAREST, 26); + 0, 0, 1.0, 1.0, GDK_INTERP_NEAREST, 32); gdk_pixbuf_unref (border_img); gdk_pixbuf_copy_area (h_border_img, 0, 0, element->Width, 1, @@ -109,7 +109,7 @@ border_img = gdk_pixbuf_new (GDK_COLORSPACE_RGB, TRUE, 8, element->BorderLeft, element->Height); gdk_pixbuf_fill (border_img, 0x000000ff); gdk_pixbuf_composite (border_img, image, 0, 0, element->BorderLeft, element->Height, - 0, 0, 1.0, 1.0, GDK_INTERP_NEAREST, 26); + 0, 0, 1.0, 1.0, GDK_INTERP_NEAREST, 32); gdk_pixbuf_unref (border_img); gdk_pixbuf_copy_area (v_border_img, 0, 0, 1, element->Height, @@ -120,7 +120,7 @@ border_img = gdk_pixbuf_new (GDK_COLORSPACE_RGB, TRUE, 8, element->BorderRight, element->Height); gdk_pixbuf_fill (border_img, 0x000000ff); gdk_pixbuf_composite (border_img, image, element->Width - element->BorderRight, 0, element->BorderRight, element->Height, - 0, 0, 1.0, 1.0, GDK_INTERP_NEAREST, 26); + 0, 0, 1.0, 1.0, GDK_INTERP_NEAREST, 32); gdk_pixbuf_unref (border_img); gdk_pixbuf_copy_area (v_border_img, 0, 0, 1, element->Height,
- Previous message: [maemo-commits] r16439 - in projects/haf/trunk/hildon-control-panel: . data src
- Next message: [maemo-commits] r16441 - in projects/haf/trunk/hildon-thumbnail: . debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]