winamp/Src/Wasabi/api/script/objects/c_script/c_menubutton.h

40 lines
794 B
C
Raw Normal View History

2024-09-24 12:54:57 +00:00
/* 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