Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/services/console/interface/xo/drwarea.py
diff options
context:
space:
mode:
authorEduardo Silva <edsiper@monotop.(none)>2007-03-10 03:39:55 (GMT)
committer Eduardo Silva <edsiper@monotop.(none)>2007-03-10 03:39:55 (GMT)
commit361581c0d157bb28f64dfe4f1f9cfb976172d0b6 (patch)
treec0b20a962d1f2eb6c4dec569c2d3c3e095827b60 /services/console/interface/xo/drwarea.py
parent9d837710f5e315b9f25502659ab171cba929f026 (diff)
Console: fix cpu usage, new kernel version, font changes...
Diffstat (limited to 'services/console/interface/xo/drwarea.py')
-rw-r--r--services/console/interface/xo/drwarea.py22
1 files changed, 1 insertions, 21 deletions
diff --git a/services/console/interface/xo/drwarea.py b/services/console/interface/xo/drwarea.py
index b0e598a..996e686 100644
--- a/services/console/interface/xo/drwarea.py
+++ b/services/console/interface/xo/drwarea.py
@@ -54,24 +54,4 @@ class Drawing_Area_Tools:
self.draw_line(context, self.margin, self.margin, self.margin, self.height - self.margin)
self.draw_line(context, self.margin, self.height - self.margin - 1, self.width - self.margin, self.height - self.margin - 1)
context.stroke()
-
- # Draw a grid
- def draw_grid(self, context, init_x, init_y, end_x, end_y):
-
- x_range = (end_x - init_x) + 5
- y_range = (end_y - init_y) + 1
-
- current_y = init_y
- context.set_line_width(0.3)
-
- for y in range(y_range):
- if (y%20) == 0:
- context.move_to(init_x, y)
- context.line_to(end_x, y)
-
- for x in range(x_range):
- if (x%20) == 0:
- context.move_to(x, init_y)
- context.line_to(x, end_y)
-
- context.stroke()
+ \ No newline at end of file