Permalink
Browse files

Moved calibration markers further towards the centre

  • Loading branch information...
1 parent 1275e40 commit 26762bf700fdc21fb77974331269b085dffcb6f5 @wedesoft committed Oct 10, 2011
Showing with 2,693 additions and 1 deletion.
  1. +4 −0 .gitignore
  2. +1 −1 calibratewidget.rb
  3. +1,023 −0 lorry.svg
  4. +32 −0 moveblocks.rb
  5. +742 −0 plane.svg
  6. +891 −0 ship.svg
View
@@ -1,4 +1,8 @@
.*.un~
+*.o
+*.so
.*.swp
+qrc_*.rb
+ui_*.rb
whiteboard.tar.bz2
View
@@ -13,7 +13,7 @@ def initialize(parent = nil)
@point_pairs = []
end
def marker
- [@id[0] == 1 ? width - SIZE : SIZE, @id[1] == 1 ? height - SIZE : SIZE]
+ [@id[0] == 1 ? width * 3 / 4 : width / 4, @id[1] == 1 ? height * 3 / 4: height / 4]
end
def paintEvent(e)
super e
Oops, something went wrong.

0 comments on commit 26762bf

Please sign in to comment.