forked from joeferner/wxNode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wxNode_wxIcon.h
56 lines (35 loc) · 1.6 KB
/
wxNode_wxIcon.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#ifndef _wxNode_wxIcon_h_
#define _wxNode_wxIcon_h_
#include "wxnode.h"
#include "wxNode_wxEvtHandler.h"
class wxNode_wxEvtHandler;
class wxNode_wxBitmap;
class wxNode_wxIcon;
class wxNode_wxIconLocation;
class wxNode_wxIcon : public wxIcon, public wxNodeObject, public NodeExEvtHandlerImpl {
public:
static void Init(v8::Handle<v8::Object> target);
static void AddMethods(v8::Handle<v8::FunctionTemplate> target);
virtual v8::Handle<v8::Object> self() { return m_self; }
static bool AssignableFrom(const v8::Handle<v8::String>& className);
static bool AssignableFrom(const char* className);
static v8::Handle<v8::Value> New(const wxIcon* obj);
static v8::Handle<v8::Value> New(const wxNode_wxIcon* obj);
static v8::Handle<v8::Value> NewCopy(const wxIcon& obj);
wxNode_wxIcon(wxIcon& arg0);
wxNode_wxIcon();
wxNode_wxIcon(const char** bits);
wxNode_wxIcon(const wxString& filename, wxBitmapType type, int arg2, int arg3);
wxNode_wxIcon(const wxString& filename, wxBitmapType type, int arg2);
wxNode_wxIcon(const wxString& filename, wxBitmapType type);
wxNode_wxIcon(const wxString& filename);
wxNode_wxIcon(wxIconLocation& loc);
private:
static v8::Handle<v8::Value> _init(const v8::Arguments& args);
static v8::Handle<v8::Value> _LoadFile(const v8::Arguments& args);
static v8::Handle<v8::Value> _CopyFromBitmap(const v8::Arguments& args);
static v8::Handle<v8::Value> _GetClassInfo(const v8::Arguments& args);
static v8::Handle<v8::Value> _wxCreateObject(const v8::Arguments& args);
static v8::Persistent<v8::FunctionTemplate> s_ct;
};
#endif