Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

bigger cursor in example pokedit

  • Loading branch information...
commit ab557565c7d37ae2af052379b251f3b7d526e00a 1 parent 424f9ff
@NotFound authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  examples/pokedit.winxed
View
3  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()
Please sign in to comment.
Something went wrong with that request. Please try again.