40 lines
794 B
C++
40 lines
794 B
C++
/* This file was generated by Maki Compiler, do not edit manually */
|
|
|
|
#ifndef __C_MENUBUTTON_H
|
|
#define __C_MENUBUTTON_H
|
|
|
|
#include "c_guiobject.h"
|
|
|
|
#define C_MENUBUTTON_PARENT C_GuiObject
|
|
|
|
class C_MenuButton : public C_MENUBUTTON_PARENT {
|
|
public:
|
|
|
|
C_MenuButton(ScriptObject *object);
|
|
C_MenuButton();
|
|
virtual ~C_MenuButton();
|
|
|
|
virtual void C_hook(ScriptObject *o);
|
|
|
|
ScriptObject *getScriptObject();
|
|
|
|
virtual void onOpenMenu();
|
|
virtual void onCloseMenu();
|
|
virtual void onSelectItem(const wchar_t *item);
|
|
virtual void openMenu();
|
|
virtual void closeMenu();
|
|
|
|
private:
|
|
|
|
ScriptObject *obj;
|
|
int inited;
|
|
static int loaded;
|
|
static int onopenmenu_id;
|
|
static int onclosemenu_id;
|
|
static int onselectitem_id;
|
|
static int openmenu_id;
|
|
static int closemenu_id;
|
|
};
|
|
|
|
#endif
|