//GUI Objects. These are drawn in the tree. void Start() { BuildGUI(); GuiItems.Add(BuildInventoryWindow()); // GuiItems.Add (); AddBlocking((HearthButton as IGUIObjectBuilder).GetGUIObject()); }
private static Form CreateItemsForm(int type) { Form form = new GuiItems(type); form.TopLevel = false; form.Visible = true; form.FormBorderStyle = FormBorderStyle.None; form.WindowState = FormWindowState.Maximized; return form; }
private static Form CreateItemsForm(int type) { Form form = new GuiItems(type); form.TopLevel = false; form.Visible = true; form.FormBorderStyle = FormBorderStyle.None; form.WindowState = FormWindowState.Maximized; return(form); }
void AddBlocking(GuiObject g) { control.AddGUIRect(g.name, g.rect); GuiItems.Add(g); }