[syslinux] Comments sought on the graphical menu infrastructure
H. Peter Anvin
hpa at zytor.com
Wed Sep 20 16:09:20 PDT 2006
Peter Andersen wrote:
>>>
>> Hello,
>>
>> Will it be hard to create some com32 drawing primitive functions for vesa ?
>> Like drawpixel, drawrect, drawfillrect ?
>
> I have done that in gimp, saved it as .jpg an used it as the background.
> Ok it takes 2-3 try to get in rigth position but it looks damn good ;)
> That's so easy.
>
Well, the original poster wants this to be dynamic so that he can use it
in C code in real time. This is a good thing. However, designing a
good graphics API is trickier than it sounds, and I would obviously
prefer to use an API which is already well supported.
Another thing to keep in mind is that rather than drawing pixels and
boxes in C code, it might look better to simply deal with small,
transparent PNG images and have a good API for manipulating those.
-hpa
More information about the Syslinux
mailing list