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: Thu, 1 Oct 2009 03:52:40 +0800

Hi,

Update:

Change the region structure, remove region tree as it's duplicate with
similar function of widget.
Change layout manger, only allow one dimension (direction = horizontal
or vertical).
Add margin_top, margin_left, margin_right, margin_bottom,
border_width, border_height, border_color property for panel
Create transparent panel when background is null.
Remove label widget, adds image and text widget, as the layout
function of label is duplicate with panel.
Add selected state. You can specify the normal mode and selected mode
bitmap with something like this:

top_left = 
"/menu/menu_tl.png,,black/cyan,#0x250F:/menu/select_tl.png,,black/green,/"

Likewise, to set normal mode and selected mode color:

color = "yellow:light-green"

: is used to separate the two parts.

The demo first shows normal state, then selected state, then return.

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