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: Sun, 4 Oct 2009 21:26:53 +0800

On Sun, Oct 4, 2009 at 8:03 PM, Peter Cros <address@hidden> wrote:
> Demo auto scrolling runs  OK on apple efi but some comments  -
>
> Problem with different scaling between Text and Graphic mode on 1920x1200,
> text loses the bottom  7th widget selection possibility.

Hi,

Oh, that's expected. As the bottom widget consist of bitmaps only, and
text mode can't display bitmaps, it'd be skipped. In order to show it,
you can either:

1, use panel to bind bitmap and text together

    panel {
      direction = left_to_right
      background = ":,,green, "
      command = "aa"

      image {
        image = "/menu/ubuntu.png"
      }

      text {
        text = "Ubuntu"
        color = "yellow:light-green"
      }
    }

2, Use a special syntax that instruct the menu system to display a
rectangle when bitmap can't be loaded:

      image {
        image = "/menu/ubuntu.png,,red,#32"
      }

-- 
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]