2013-04-07 20:52:45 +00:00
|
|
|
/**
|
|
|
|
Grid
|
|
|
|
Shows a simple grid menu.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include MenuStyle_List
|
|
|
|
|
|
|
|
local Name = "Grid Menu";
|
|
|
|
|
|
|
|
func Construction()
|
|
|
|
{
|
|
|
|
inherited(...);
|
2013-05-09 11:28:45 +00:00
|
|
|
this.Style = GUI_GridLayout;
|
2013-04-07 20:52:45 +00:00
|
|
|
}
|
|
|
|
|
2015-03-19 15:22:06 +00:00
|
|
|
func MakeEntryProplist(symbol, text)
|
2013-04-07 20:52:45 +00:00
|
|
|
{
|
2015-09-06 17:02:31 +00:00
|
|
|
var custom_entry = {Bottom = "+2em", Right = "+2em", desc = {Style = GUI_TextRight | GUI_TextBottom}};
|
2014-03-26 22:55:32 +00:00
|
|
|
custom_entry.Symbol = symbol;
|
|
|
|
custom_entry.desc.Text = text;
|
|
|
|
custom_entry.BackgroundColor = {Std = 0, OnHover = 0x50ff0000};
|
2013-04-07 20:52:45 +00:00
|
|
|
return custom_entry;
|
|
|
|
}
|