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

Frame

Base Class: Container

MainFrame

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

Attention
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.
Parameters
CursorThe filename of the texture of the mainframe cursor.