emacs-devel
[Top][All Lists]
Advanced

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

Re: Drawing UI elements behind text


From: Cecilio Pardo
Subject: Re: Drawing UI elements behind text
Date: Thu, 28 Nov 2024 13:09:12 +0100
User-agent: Mozilla Thunderbird

On 28/11/2024 12:56, Eli Zaretskii wrote:

This is working only if emacs is using a double buffered configuration.
Redisplay works on the back buffer, where we don't draw anything. When
the back buffer goes to the screen, we add the segments to the screen.
scroll_run_hook works on the back buffer.

I see.  So the display code basically knows nothing about these
segments?  And you need to redraw them in their entirety each
redisplay cycle?

Yes, it knows nothing.

I still don't have the final form of the drawing, but probably yes, redraw on each redisplay.







reply via email to

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