Adding the class Point, removing the attributes x and y from
authorLincoln de Sousa <lincoln@minaslivre.org>
Tue, 12 Aug 2008 11:00:34 +0000 (08:00 -0300)
committerLincoln de Sousa <lincoln@minaslivre.org>
Tue, 12 Aug 2008 11:00:34 +0000 (08:00 -0300)
commitfc1e11e4ca9572161ec6fac6372960777f069461
tree568eb184da86ea87ea9370e55d21018d2c5b11b6
parent6a127b2375cb9b3b2db3bc6ea58e74bac0ebc040
Adding the class Point, removing the attributes x and y from
the Ball class and adding the p attr that is an instance of Point.
Updating BallManager.save_to_file, Gzv.draw_ball to fit with the above
change.

The feature "Move ball" was implemented and to do so, the event
motion-notify-event of the Gzv.treeview was binded to a new
callback (Gzv.ball_motion), Gzv.button_pressed now discovers if
the click was inside an already existent ball and were added
two new attributes to Gzv class: last_y and move_ball.
gzv.py