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/ _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel