Tuomo Valkonen writes:

On Wed, Mar 17, 2004 at 09:33:27AM +0000, Giles Constant wrote:
Eye candy :-D

More themeable borders/titlebars (import titlebar gfx other wm?), xft support, etc.

These can be accomplished in Ion2 as well by writing additional drawing
engines. I am personally not going to waste my time in that, but if new engines are written by other people, I may include them in Ion3.

Sadly, the current drawing engine is simulatenously to high and too low level:


- It's too high level because I can't just replace the string drawing code to use Xft: I have to duplicate everything else in the drawing engine too.
- It's too low level because I can't write a Gtk-based drawing engine that uses Gtk input boxes for the minibuffers.


Obviously the xftde patch hack works (it patches the de module to use Xft) but it doesn't have Tuomo's blessing because it doesn't rename a lot of functions that it should do.

Some examples of what I'd like to do be able to do:
- just replace the string drawing code with calls to Xft
- write a de module that uses gtk/gdk
- write a de module that uses the openbox theme engine
- display extra information in tabs, specifically the tab index so I don't have to count tabs to use my Mod+<n> shortcut to jump to the <n>th tab.


So my wishlist for drawing looks like:
either:
- abstract out the string drawing code in the current engine
or:
- provide a much high level interface, something like:
draw_frame(<dimensions>, <list-of-tabs>, ...)
do_minibuffer(<prompt>, <completion-func>, ...)
do_menu(<location>, <menu-items>, ...)


Cheers,
--
Tom

Reply via email to