S2ENGINE HD  1.4.6
Official manual about S2Engine HD editor and programming
GUI Core Classes


Base Class: Container


Base Class: Container
The MainFrame widget is generally used either for GUI and for HUD containers.

Inside HUD and GUI script MainFrame shouldn't be created manually using CreateWidget function because It is created automatically by the system.
If you want to create a widget to attach to HUD outside the HUD script (for example inside player script) you have to use CreateWidgetHUD function.
CursorThe filename of the texture of the mainframe cursor.