Could someone please answer my primitive questions?
There is Custom_UI_Documentation.zip file now in \UserInterface directory.
I have extractied this file and followed instructions of the documentation, but I have failed at the first step.
SampleWindow won't come up.
I have added "<Include file="Source/SampleWindow.xml" />" to \UserInterface\test\Interface.xml.
I have added "CreateWindow( "SampleWindow", false )" to \UserInterface\test\Interface.lua.
I have created "SampleWindow.xml" in \UserInterface\test\Source as instructed.
I have created "SampleWindow.lua" in \UserInterface\test\Source as instructed.
I have typed on console: "/script WindowSetShowing("SampleWindow", true).
But nothing happened.
I have called debugwindow, set Logs(On) and Reload UI.
I could find some errors about UI:
[09/12/01][09:55:32] [Error]: Script Call failed - Error while calling [SampleWindow.Shutdown]:
[string "UserInterface/test/Source/SampleWindow.lua"]:12: attempt to call field 'SaveSettings' (a nil value)
[09/12/01][09:55:33] [Error]: Error Loading XML Definition $parentBackground: Template HUDBackgroundBlack not found
[09/12/01][09:55:33] [Error]: Error Loading XML Definition $parentTitleBar: Template DefaultWindowTitleBar not found
[09/12/01][09:55:33] [Error]: Error Loading XML Definition $parentClose: Template DefaultWindowCloseButton not found
[09/12/01][09:55:33] [Error]: Error Loading XML Definition $parentBottomFrame: Template DefaultWindowResizeBottomFrame not found
[09/12/01][09:55:33] [Error]: Script Call failed - Error while calling [SampleWindow.Initialize]:
[string "UserInterface/test/Source/SampleWindow.lua"]:4: attempt to call field 'LoadSettings' (a nil value)
What is wrong?
There is Custom_UI_Documentation.zip file now in \UserInterface directory.
I have extractied this file and followed instructions of the documentation, but I have failed at the first step.
SampleWindow won't come up.
I have added "<Include file="Source/SampleWindow.xml" />" to \UserInterface\test\Interface.xml.
I have added "CreateWindow( "SampleWindow", false )" to \UserInterface\test\Interface.lua.
I have created "SampleWindow.xml" in \UserInterface\test\Source as instructed.
I have created "SampleWindow.lua" in \UserInterface\test\Source as instructed.
I have typed on console: "/script WindowSetShowing("SampleWindow", true).
But nothing happened.
I have called debugwindow, set Logs(On) and Reload UI.
I could find some errors about UI:
[09/12/01][09:55:32] [Error]: Script Call failed - Error while calling [SampleWindow.Shutdown]:
[string "UserInterface/test/Source/SampleWindow.lua"]:12: attempt to call field 'SaveSettings' (a nil value)
[09/12/01][09:55:33] [Error]: Error Loading XML Definition $parentBackground: Template HUDBackgroundBlack not found
[09/12/01][09:55:33] [Error]: Error Loading XML Definition $parentTitleBar: Template DefaultWindowTitleBar not found
[09/12/01][09:55:33] [Error]: Error Loading XML Definition $parentClose: Template DefaultWindowCloseButton not found
[09/12/01][09:55:33] [Error]: Error Loading XML Definition $parentBottomFrame: Template DefaultWindowResizeBottomFrame not found
[09/12/01][09:55:33] [Error]: Script Call failed - Error while calling [SampleWindow.Initialize]:
[string "UserInterface/test/Source/SampleWindow.lua"]:4: attempt to call field 'LoadSettings' (a nil value)
What is wrong?