Merge pull request #1821 from Areloch/platformgenericmenucatch

Sanity check for if the GuiPlatformGenericMenuBar class
This commit is contained in:
Areloch 2016-11-26 02:01:32 -06:00 committed by GitHub
commit 1e89337825
2 changed files with 38 additions and 2 deletions

View file

@ -1 +1,19 @@
exec("./guiPlatformGenericMenubar.ed.gui");
if(isClass(GuiPlatformGenericMenuBar))
{
exec("./guiPlatformGenericMenubar.ed.gui");
}
else
{
%guiContent = new GuiControl(PlatformGenericMenubar) {
profile = "GuiModelessDialogProfile";
new GuiControl()
{
internalName = "menubar";
extent = "1024 20";
minExtent = "320 20";
horizSizing = "width";
profile = "GuiMenuBarProfile";
};
};
}

View file

@ -1 +1,19 @@
exec("./guiPlatformGenericMenubar.ed.gui");
if(isClass(GuiPlatformGenericMenuBar))
{
exec("./guiPlatformGenericMenubar.ed.gui");
}
else
{
%guiContent = new GuiControl(PlatformGenericMenubar) {
profile = "GuiModelessDialogProfile";
new GuiControl()
{
internalName = "menubar";
extent = "1024 20";
minExtent = "320 20";
horizSizing = "width";
profile = "GuiMenuBarProfile";
};
};
}