[Top][All Lists]

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

Re: [PATCH] LUA script engine for grub2

From: Colin D Bennett
Subject: Re: [PATCH] LUA script engine for grub2
Date: Wed, 8 Apr 2009 07:40:16 -0700
User-agent: KMail/1.11.2 (Linux/2.6.28-11-generic; KDE/4.2.2; x86_64; ; )

Bean wrote:
> 2009/4/8 Vesa Jääskeläinen <address@hidden>:
> > Bean wrote:
> >> Hi,
> >>
> >> This patch integrate the LUA script engine to grub2


> I add a grub library to lua, now it only contain, but it
> would be easy to add more function. I think it would be useful to add
> function to interface with the video subsystem directly, so that lua
> can be used to control the dynamic drawing of ui components.

I actually did some preliminary work to make this possible.  I made a demo 
where text is painted by a Lua script and it animates “flying by” on the 
screen.   ( for a demo ISO.)

Besides making the GRUB video API accessible (partially, so far) to Lua, I 
also made Lua able to implement GUI components in the graphical menu 
interface.  This is limited at this point and only paint() and destroy() 
methods can be implemented in Lua.  However, I think being able to implement 
new GUI components in Lua would be really great.

If my code would be any help to you, I can send it to you.


Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

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