Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/boardwidget.py
diff options
context:
space:
mode:
authorZach Stephens <zxs3926@rit.edu>2011-05-13 17:11:24 (GMT)
committer Zach Stephens <zxs3926@rit.edu>2011-05-13 17:11:24 (GMT)
commit3bf559404826b29a76f4dfb87286a7e66b2b4a8f (patch)
tree21b3d332bf77e5af6f7b1aba408b828775c45daf /boardwidget.py
parent14b03cedf3e56e63fdd95ed699f4094b4e581f0e (diff)
Tutorial toolbar fully implemented. Pressing next will show you the next line of the script. Pressing previous will bring you to the previous category. Board widget modified to remove parts of the previous draw piece. Editor toolbar added, and the skeleton has been implemented in the working activity.
Diffstat (limited to 'boardwidget.py')
-rw-r--r--boardwidget.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/boardwidget.py b/boardwidget.py
index a41b9c9..5c08532 100644
--- a/boardwidget.py
+++ b/boardwidget.py
@@ -243,12 +243,6 @@ class GoBoardWidget(gtk.Widget):
y = y + 1
ctx = self.window.cairo_create()
ct = gtk.gdk.CairoContext(ctx)
- #######################################################################################################
- #if color == 'B':
- # ct.set_source_pixbuf(self.ScaledBlackPixbuf, self.unit*x - self.unit/2, self.unit*y - self.unit/2 )
- #else:
- # ct.set_source_pixbuf(self.ScaledWhitePixbuf, self.unit*x - self.unit/2, self.unit*y - self.unit/2 )
- #######################################################################################################
# draw stone for when the icons of the editor are ready