Permalink
Browse files

fix color in poly hint

  • Loading branch information...
1 parent 4094224 commit f4def33b8aed14ad37fefbe74f76424de088c81b @NotFound committed Dec 15, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 examples/pizarra.winxed
View
@@ -605,6 +605,7 @@ class Board : ChildWindow
var oldx;
var oldy;
var colorspec;
+ var hintcolor;
var menu;
var grid;
function Board(parent, int x, int y, int width, int height)
@@ -619,6 +620,7 @@ class Board : ChildWindow
self.oldx = 0;
self.oldy = 0;
self.colorspec = "black";
+ self.hintcolor = self.display.ParseColor("black");
self.grid = 0;
self.OnExpose += evhandler(self, "onexpose");
@@ -704,6 +706,7 @@ class Board : ChildWindow
l.draw(self);
break;
case POLY:
+ self.SetForeground(self.hintcolor);
self.DrawLine(initx, inity, oldx, oldy);
break;
case FILLPOLY:

0 comments on commit f4def33

Please sign in to comment.