grub-devel
[Top][All Lists]
Advanced

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

Re: [GITGRUB] New menu interface (implementation)


From: Bean
Subject: Re: [GITGRUB] New menu interface (implementation)
Date: Mon, 21 Sep 2009 02:17:32 +0800

On Sun, Sep 20, 2009 at 4:30 PM, Michal Suchanek <address@hidden> wrote:
>
> So the text region is intended for drawing on text screen and the
> graphics region on graphics screen. I assume the check for pure text
> mode is there to choose which one is used.
>
> However, wouldn't this switch in coordinate system complicate further
> extending of the menu system with additional components?
>
> With these different coordinates every compound component would likely
> have to check which kind of rectangle is currently in use.
>
> Still it might work - borders have to be drawn differently, pictures
> currently don't work, and alignment should work with any units (and
> it's easier to see rounding errors if the units are large).
>
> There is slight issue with element placement, though, If somebody uses
> pixel coordinates for placing elements then the offsets will suddenly
> become huge in text mode. Shouldn't the layouts be more portable?

Hi,

I'm thinking about using the "c" unit as default, as it's usable in
both text and graphic mode, this would help to create portable config
file. If user really want to use pixel unit, he can add "p" suffix,
such as 100p.

-- 
Bean

gitgrub home: http://github.com/grub/grub/
my fork page: http://github.com/bean123/grub/




reply via email to

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