Script GUIs: fixed last remaining old method names

Controls
David Dormagen 2014-10-23 23:28:06 +02:00
parent 9c8e8d419b
commit 48bc48159e
2 changed files with 3 additions and 3 deletions

View File

@ -299,7 +299,7 @@ func CreateSideBar(int slot)
obj_symbol = {Symbol = obj, Margin = "0.5em"}
};
Gui_AddSubwindow(entry, sidebar);
GuiAddSubwindow(entry, sidebar);
}
return sidebar;
}
@ -398,7 +398,7 @@ func CreateMainMenu(object obj, int slot)
all.BackgroundColor = menu.BackgroundColor;
else if (menu.decoration)
menu.menu_object.BackgroundColor = menu.decoration->FrameDecorationBackClr();
Gui_AddSubwindow(all, container);
GuiAddSubwindow(all, container);
}
// add refreshing effects for all of the contents menus

View File

@ -32,7 +32,7 @@ global func GuiAddCloseButton(proplist menu, proplist target, string callback, p
global func GuiUpdateText(string text, int menu, int submenu, object target)
{
var update = {Text = text};
CustomGuiUpdate(update, menu, submenu, target);
GuiUpdate(update, menu, submenu, target);
return true;
}