inputTest Module Update

Updates the input event monitor to work with the current BaseGame template.
This commit is contained in:
OTHGMars 2021-09-24 22:55:59 -04:00
parent 0f89373782
commit 58a79e0105
3 changed files with 19 additions and 8 deletions

View file

@ -55,7 +55,7 @@ $guiContent = new GuiControl(InputMonitorDlg) {
canSaveDynamicFields = "0";
};
new GuiChunkedBitmapCtrl() {
bitmap = "data/ui/art/hudfill.png";
bitmap = "data/ui/images/hudfill.png";
useVariable = "0";
tile = "0";
position = "0 0";

View file

@ -2,6 +2,8 @@
// Add buttons to the MainMenu after all other scripts have been exec'ed.
//-----------------------------------------------------------------------------
function inputTest::addMenuButton( %this )
{
if (isObject(MainMenuGui))
{
%testBtn = new GuiButtonCtrl() {
@ -56,4 +58,8 @@
}
MMTestContainer.add(%testBtn);
}
}
}
if (inputTest.addToMainMenu)
inputTest.addMenuButton();