gnomemm r1969 - in cluttermm_tutorial/trunk: . examples/full_example
- From: daniel svn gnome org
- To: svn-commits-list gnome org
- Subject: gnomemm r1969 - in cluttermm_tutorial/trunk: . examples/full_example
- Date: Wed, 7 Jan 2009 13:38:09 +0000 (UTC)
Author: daniel
Date: Wed Jan 7 13:38:08 2009
New Revision: 1969
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1969&view=rev
Log:
* examples/behaviour/main.cc (Example::Example): Simplify expression.
Modified:
cluttermm_tutorial/trunk/ChangeLog
cluttermm_tutorial/trunk/examples/full_example/main.cc
Modified: cluttermm_tutorial/trunk/examples/full_example/main.cc
==============================================================================
--- cluttermm_tutorial/trunk/examples/full_example/main.cc (original)
+++ cluttermm_tutorial/trunk/examples/full_example/main.cc Wed Jan 7 13:38:08 2009
@@ -117,7 +117,7 @@
rect->set_width(stage_->get_width() + 100);
rect->set_height(ELLIPSE_HEIGHT + 20);
// Position it so that its center is under the images:
- rect->set_position(-(rect->get_width() - stage_->get_width()) / 2,
+ rect->set_position((stage_->get_width() - rect->get_width()) / 2,
ELLIPSE_Y + IMAGE_HEIGHT - rect->get_height() / 2);
// Rotate it around its center:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]