Class Menu

inherits from Object

Public Member Variables

Public Functions

native static int MenuTime()

native static Menu GetCurrentMenu()

native static clearscope void SetMenu(
Name mnu,
int param = 0
)

native static void StartMessage(
String msg,
int mode = 0,
Name command = 'none'
)

native static void SetMouseCapture(
bool on
)

native void Close()

native void ActivateMenu()

void Init(Menu parent)

virtual bool MenuEvent(
int mkey,
bool fromcontroller
)

virtual bool OnUIEvent(UiEvent ev)


virtual void Drawer()

void SetCapture(bool on)


virtual void SetFocus(MenuItemBase fc)


virtual void ReleaseFocus()

virtual void ResetColor()

virtual bool MouseEvent(
int type,
int mx,
int my
)

virtual void Ticker()

virtual void OnReturn()

static void MenuSound(Name snd)

static void DrawConText(
int color,
int x,
int y,
String str
)
🛇deprecated since 4.0.0

static Font OptionFont()

static int OptionHeight()


static void DrawOptionText(
int x,
int y,
int color,
String text,
bool grayed = false
)

Protected Functions

protected bool MouseEventBack(
int type,
int x,
int y
)

Inner Enums