emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: font-backend mechanism on Windows and Mac?


From: Adrian Robert
Subject: Re: font-backend mechanism on Windows and Mac?
Date: Sat, 15 Sep 2007 09:21:52 -0400

On 9/14/07, YAMAMOTO Mitsuharu <address@hidden> wrote:
> >>>>> On Fri, 14 Sep 2007 20:05:27 -0400, "Adrian Robert" <address@hidden> 
> >>>>> said:
>
> > Blank resize is due to NSApp going into a modal loop on resize drag,
> > so emacs redisplay isn't called until finished.  How did you work
> > around this in Carbon+AppKit?
>
> `drawRect:' is called back automatically during the modal loop on
> resize drag.  You cannot do "redisplay" that may involve Lisp
> evaluation in such a window-system-level event handling context, but
> "expose" is OK as it just shows the contents of the "current matrix"
> that was constructed by the previous "redisplay".

Hmm.. the effect looks a little amateurish though.  I guess it's
useful on a resize-smaller to see more or less what will be shown,
but..  it would be nice to drop out of the modal loop and track drags
manually, as with scrolling, but even subclassing NSWindow I couldn't
do it.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]