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

41 lines
804 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_TEXT_H
#define __C_TEXT_H
#include "c_guiobject.h"
#define C_TEXT_PARENT C_GuiObject
class C_Text : public C_TEXT_PARENT
{
public:
C_Text(ScriptObject *object);
C_Text();
virtual ~C_Text();
virtual void C_hook(ScriptObject *o);
ScriptObject *getScriptObject();
virtual void setText(const wchar_t *txt);
virtual void setAlternateText(const wchar_t *txt);
virtual const wchar_t *getText();
virtual int getTextWidth();
virtual void onTextChanged(const wchar_t *newtxt);
private:
ScriptObject *obj;
int inited;
static int loaded;
static int settext_id;
static int setalternatetext_id;
static int gettext_id;
static int gettextwidth_id;
static int ontextchanged_id;
};
#endif