Permalink
Browse files

bigger cursor in example pokedit

  • Loading branch information...
1 parent 424f9ff commit ab557565c7d37ae2af052379b251f3b7d526e00a @NotFound committed Dec 12, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 examples/pokedit.winxed
@@ -332,13 +332,12 @@ class TextWindow : ChildWindow
int curline = self.curline;
int curpos = self.curpos;
int lineheight = self.lineheight;
- int ascent = self.ascent;
int headline = self.headline;
int ypos = (curline - headline) * lineheight + MARGINSUP;
string line = text[curline];
int xpos = self.getTextxOff(substr(line, 0, curpos)) + MARGINLEFT;
self.SetFunction(GXinvert);
- self.DrawLine(xpos, ypos, xpos, ypos + ascent);
+ self.FillRectangle(xpos, ypos, 2, lineheight);
self.SetFunction(GXcopy);
}
function drawall()

0 comments on commit ab55756

Please sign in to comment.