emacs-devel
[Top][All Lists]
Advanced

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

Re: Cursor drawing


From: Stefan Monnier
Subject: Re: Cursor drawing
Date: Thu, 20 Dec 2018 14:58:57 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> Then this can be done today, without any changes in the architecture
> of the display engine.

That's the intention, yes.

> The disadvantage of this is, of course, that the code that draw the
> face cursors will be needed to be implemented 4 times, one each for
> every terminal-specific backend we support.

Indeed.  Tho, we could try and use some existing "standard" drawing
library so as to share most of the code for the GUIs (we'd likely still
need to hand-code the non-GUI case).

>> >> The advantage would be mostly that the overlay data structure could be
>> >> designed completely differently from glyph-matrices
>> > Like what, for example?
>> Maybe more like an SVG canvas?
> You got me here: I have no idea how that works.

I don't either.  I meant some kind of vector graphics.  This might allow
us to offer new features such as drawing arrows going from one buffer
position to another.


        Stefan



reply via email to

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