emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs, QT and Cairo


From: David Engster
Subject: Re: Emacs, QT and Cairo
Date: Wed, 14 Jul 2010 11:41:50 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)

YAMAMOTO Mitsuharu writes:
>>>>>> On Tue, 13 Jul 2010 16:02:02 -0300, Stephen Eilert <address@hidden> said:
>
>> What about exposing Cairo bindings (GTK already uses it, so it is
>> not exactly a new dependency, only the headers) to elisp so that we
>> can actually draw a prettier user interface? Things like real lines
>> instead of "-" for the modeline (and a better looking modeline
>> itself), better looking widgets (the horrendous fake buttons created
>> by customize, for example), better fringe layer or even, say, an UML
>> mode with good-looking classes. And perhaps a cute speedbar.
>
> An alternative way to do some of them would be generating and
> rendering SVG images dynamically.  That is possible even now, and more
> standard and less platform specific than cairo bindings.  An
> interesting example is given in
> http://lists.gnu.org/archive/html/bug-gnu-emacs/2010-05/msg00521.html

Yes, one could probably create buttons and stuff like that with SVG. But
the way images are handled in Emacs make this very limited. I'm not even
talking about eye candy here, but very basic things. For example,
drawing a faint line at column 80, like this:

http://blogs.sun.com/tor/resource/formatting-before.png

I think it is currently not possible to do stuff like this?

-David



reply via email to

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