summaryrefslogtreecommitdiff
path: root/src/editorui
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-05-28 13:19:11 -0500
committerColin Noga <Tempus@chronometry.ca>2012-05-28 13:19:11 -0500
commit14d01db86091a4cbe4ce31f15f1a5e95ae31025e (patch)
tree77a802a8f05c0c84e0a876e5e9057ec211ac803d /src/editorui
parentba959d67836d483007c384f1a87fcfba12332295 (diff)
downloadkoopatlas-14d01db86091a4cbe4ce31f15f1a5e95ae31025e.tar.gz
koopatlas-14d01db86091a4cbe4ce31f15f1a5e95ae31025e.zip
Added crosshairs to wii screen grid
Diffstat (limited to 'src/editorui')
-rw-r--r--src/editorui/editormain.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/editorui/editormain.py b/src/editorui/editormain.py
index 1a30fcf..60a09a5 100644
--- a/src/editorui/editormain.py
+++ b/src/editorui/editormain.py
@@ -419,6 +419,13 @@ class KPEditorWidget(QtGui.QGraphicsView):
newRect2 = QtCore.QRectF(x-(m2x/2.0), y-(m2y/2.0), m2x, m2y)
painter.drawRect(newRect2)
+ painter.drawLine(x, y-36, x, y+36)
+ painter.drawLine(x-36, y, x+36, y)
+
+ newRect3 = QtCore.QRectF(x-24, y-24, 48, 48)
+ painter.drawRect(newRect3)
+
+
def assignNewScene(self, scene):
self.setScene(scene)
self.centerOn(0,0)