From: Colin D Bennett <colin@gibibit.com>
To: grub-devel@gnu.org
Cc: Bean <bean123ch@gmail.com>
Subject: Re: [PATCH] LUA script engine for grub2
Date: Wed, 8 Apr 2009 07:40:16 -0700 [thread overview]
Message-ID: <200904080740.19732.colin@gibibit.com> (raw)
In-Reply-To: <ca0f59980904071127u3ac910d0qe0e78c5f2501f2fe@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1115 bytes --]
Bean wrote:
> 2009/4/8 Vesa Jääskeläinen <chaac@nic.fi>:
> > Bean wrote:
> >> Hi,
> >>
> >> This patch integrate the LUA script engine to grub2
Cool!
> I add a grub library to lua, now it only contain grub.run, 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. (http://grub.gibibit.com/files/gfxmenu-lua-1.iso.gz 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.
Regards,
Colin
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2009-04-08 14:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-07 14:31 [PATCH] LUA script engine for grub2 Bean
2009-04-07 15:18 ` phcoder
2009-04-07 16:15 ` Vesa Jääskeläinen
2009-04-07 18:27 ` Bean
2009-04-08 14:40 ` Colin D Bennett [this message]
2009-04-08 17:02 ` Bean
2009-04-13 14:27 ` Robert Millan
2009-04-14 15:33 ` Yoshinori K. Okuji
2009-04-14 16:18 ` Bean
2009-05-03 8:46 ` Bean
2009-05-16 12:37 ` Bean
2009-05-16 13:31 ` Felix Zielcke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200904080740.19732.colin@gibibit.com \
--to=colin@gibibit.com \
--cc=bean123ch@gmail.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.