[cluttermm_tutorial] Fixed opacity issue in custom_actor.
- From: Chris Kühl <chriskuehl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cluttermm_tutorial] Fixed opacity issue in custom_actor.
- Date: Tue, 21 Sep 2010 10:38:34 +0000 (UTC)
commit 9f6c38a8a367e61f2ab50ecb2a5e97ced6cf8d01
Author: Chris Kühl <chrisk openismus com>
Date: Tue Sep 21 12:14:35 2010 +0200
Fixed opacity issue in custom_actor.
* examples/custom_actor/triangle_actor.cc: Changed use of
get_opacity() to color_.get_alpha() in pick_vfunc.
ChangeLog | 6 ++++++
examples/custom_actor/triangle_actor.cc | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 4fe2fa2..9fb847d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-09-21 Chris Kühl <chrisk openismus com>
+
+ Fixed opacity issue in custom_actor.
+
+ * examples/custom_actor/triangle_actor.cc: Changed use of
+ get_opacity() to color_.get_alpha() in pick_vfunc.
2010-09-20 Chris Kühl <chrisk openismus com>
Fixed issue where custom_actor example was not appearing.
diff --git a/examples/custom_actor/triangle_actor.cc b/examples/custom_actor/triangle_actor.cc
index 1f145a1..013fb04 100644
--- a/examples/custom_actor/triangle_actor.cc
+++ b/examples/custom_actor/triangle_actor.cc
@@ -78,7 +78,7 @@ void Triangle::on_paint()
color_.get_red(),
color_.get_green(),
color_.get_blue(),
- get_opacity());
+ color_.get_alpha());
do_triangle_paint(&coglcolor);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]