[gimp] plug-ins: use the same opacities for drawing lines on top of the preview
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: use the same opacities for drawing lines on top of the preview
- Date: Wed, 8 Sep 2010 19:01:01 +0000 (UTC)
commit 0aa35c8c8e206ca9987960d362188473bb846a67
Author: Michael Natterer <mitch gimp org>
Date: Wed Sep 8 21:00:29 2010 +0200
plug-ins: use the same opacities for drawing lines on top of the preview
plug-ins/common/nova.c | 4 ++--
plug-ins/common/tile-small.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plug-ins/common/nova.c b/plug-ins/common/nova.c
index c0d4cbc..91cd6c7 100644
--- a/plug-ins/common/nova.c
+++ b/plug-ins/common/nova.c
@@ -552,11 +552,11 @@ nova_center_preview_expose (GtkWidget *widget,
cairo_line_to (cr, width - 1, y + 0.5);
cairo_set_line_width (cr, 3.0);
- cairo_set_source_rgba (cr, 1.0, 1.0, 1.0, 0.3);
+ cairo_set_source_rgba (cr, 1.0, 1.0, 1.0, 0.6);
cairo_stroke_preserve (cr);
cairo_set_line_width (cr, 1.0);
- cairo_set_source_rgba (cr, 0.0, 0.0, 0.0, 0.7);
+ cairo_set_source_rgba (cr, 0.0, 0.0, 0.0, 0.8);
cairo_stroke (cr);
cairo_destroy (cr);
diff --git a/plug-ins/common/tile-small.c b/plug-ins/common/tile-small.c
index 98f51a6..935846b 100644
--- a/plug-ins/common/tile-small.c
+++ b/plug-ins/common/tile-small.c
@@ -650,11 +650,11 @@ draw_explict_sel (void)
cairo_rectangle (cr, x + 1.5, y + 1.5, width - 2, height - 2);
cairo_set_line_width (cr, 3.0);
- cairo_set_source_rgb (cr, 1.0, 1.0, 1.0);
+ cairo_set_source_rgba (cr, 1.0, 1.0, 1.0, 0.6);
cairo_stroke_preserve (cr);
cairo_set_line_width (cr, 1.0);
- cairo_set_source_rgb (cr, 0.0, 0.0, 0.0);
+ cairo_set_source_rgba (cr, 0.0, 0.0, 0.0, 0.8);
cairo_stroke_preserve (cr);
cairo_destroy (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]