On Fri, Aug 1, 2008 at 10:59 PM, botp <[EMAIL PROTECTED]> wrote:
> On Fri, Aug 1, 2008 at 2:35 PM, Martin DeMello <[EMAIL PROTECTED]> wrote:
>> I've attached a copy of my current work-in-progress. It's a crossword
>> editor; right now it just provides an editor for the grid (letters and
>> black squares). The problem is, it's really slow - there's a
>> perceptible lag between my hitting a key and the cursor moving - and I
>
> intuitively, i just replaced the refresh_all with active and your
> program seems to work fine, but I guess you just have to display first
> the board

Where did you replace it? I'm only calling refresh_all in two places,
once to draw the board initially, and once when a black square is
added or removed (because all the numbers change). Otherwise, I'm just
removing and adding a red outline to the current active square, and I
should really not be able to hit the arrow keys faster than the
computer can move the cursor.

martin

Reply via email to