fxruby 1.6.29-x64-mingw32 → 1.6.30-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.txt +11 -0
- data/Manifest.txt +5 -0
- data/Rakefile +8 -2
- data/examples/gltest.rb +0 -7
- data/examples/groupbox.rb +5 -3
- data/examples/thread.rb +55 -0
- data/ext/fox16_c/FXRbApp.cpp +67 -5
- data/ext/fox16_c/FXRuby.cpp +142 -110
- data/ext/fox16_c/extconf.rb +36 -28
- data/ext/fox16_c/gvl_wrappers.cpp +12 -0
- data/ext/fox16_c/include/FXRbApp.h +41 -6
- data/ext/fox16_c/include/FXRbBitmap.h +12 -12
- data/ext/fox16_c/include/FXRbCommon.h +3 -0
- data/ext/fox16_c/include/FXRbCursor.h +2 -2
- data/ext/fox16_c/include/FXRbDC.h +62 -62
- data/ext/fox16_c/include/FXRbDialogBox.h +2 -2
- data/ext/fox16_c/include/FXRbDockBar.h +3 -3
- data/ext/fox16_c/include/FXRbDockSite.h +4 -4
- data/ext/fox16_c/include/FXRbDrawable.h +1 -1
- data/ext/fox16_c/include/FXRbFileDict.h +3 -3
- data/ext/fox16_c/include/FXRbFoldingList.h +28 -28
- data/ext/fox16_c/include/FXRbFont.h +18 -18
- data/ext/fox16_c/include/FXRbGLCanvas.h +4 -4
- data/ext/fox16_c/include/FXRbGLObject.h +8 -8
- data/ext/fox16_c/include/FXRbGLShape.h +1 -1
- data/ext/fox16_c/include/FXRbGLViewer.h +3 -3
- data/ext/fox16_c/include/FXRbHeader.h +7 -7
- data/ext/fox16_c/include/FXRbIconList.h +28 -28
- data/ext/fox16_c/include/FXRbIconSource.h +12 -12
- data/ext/fox16_c/include/FXRbId.h +3 -3
- data/ext/fox16_c/include/FXRbImage.h +19 -19
- data/ext/fox16_c/include/FXRbList.h +21 -21
- data/ext/fox16_c/include/FXRbListBox.h +1 -1
- data/ext/fox16_c/include/FXRbMDIChild.h +4 -4
- data/ext/fox16_c/include/FXRbMDIClient.h +4 -4
- data/ext/fox16_c/include/FXRbObject.h +2 -2
- data/ext/fox16_c/include/FXRbPopup.h +2 -2
- data/ext/fox16_c/include/FXRbRealSpinner.h +1 -1
- data/ext/fox16_c/include/FXRbScrollArea.h +4 -4
- data/ext/fox16_c/include/FXRbShutter.h +1 -1
- data/ext/fox16_c/include/FXRbSpinner.h +1 -1
- data/ext/fox16_c/include/FXRbStream.h +3 -3
- data/ext/fox16_c/include/FXRbTabBar.h +1 -1
- data/ext/fox16_c/include/FXRbTable.h +53 -53
- data/ext/fox16_c/include/FXRbText.h +23 -23
- data/ext/fox16_c/include/FXRbTopWindow.h +5 -5
- data/ext/fox16_c/include/FXRbTranslator.h +1 -1
- data/ext/fox16_c/include/FXRbTreeList.h +28 -28
- data/ext/fox16_c/include/FXRbTreeListBox.h +1 -1
- data/ext/fox16_c/include/FXRbWindow.h +31 -31
- data/ext/fox16_c/include/FXRuby.h +200 -94
- data/ext/fox16_c/include/gvl_wrappers.h +594 -0
- data/lib/2.0/fox16_c.so +0 -0
- data/lib/2.1/fox16_c.so +0 -0
- data/lib/2.2/fox16_c.so +0 -0
- data/lib/fox16.rb +1 -0
- data/lib/fox16/thread.rb +51 -0
- data/lib/fox16/version.rb +1 -1
- data/lib/x64-mingw32/libFOX-1.6-0.dll +0 -0
- data/lib/x64-mingw32/libfxscintilla-20.dll +0 -0
- data/lib/x64-mingw32/libgcc_s_sjlj-1.dll +0 -0
- data/lib/x64-mingw32/libjpeg-8.dll +0 -0
- data/lib/x64-mingw32/libpng15-15.dll +0 -0
- data/lib/x64-mingw32/libstdc++-6.dll +0 -0
- data/lib/x64-mingw32/libtiff-5.dll +0 -0
- data/lib/x64-mingw32/libwinpthread-1.dll +0 -0
- data/lib/x64-mingw32/zlib1.dll +0 -0
- data/rdoc-sources/FXApp.rb +5 -0
- data/rdoc-sources/FXId.rb +5 -0
- data/swig-interfaces/FXApp.i +14 -78
- data/swig-interfaces/macros.i +56 -0
- data/test/TC_FXApp.rb +60 -10
- data/test/TC_FXJPGImage.rb +47 -0
- metadata +24 -103
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -3
- metadata.gz.sig +0 -0
@@ -28,14 +28,14 @@
|
|
28
28
|
#define FXRBDIALOGBOX_H
|
29
29
|
|
30
30
|
#define DECLARE_FXDIALOGBOX_STUBS(klass) \
|
31
|
-
inline FXuint klass ##
|
31
|
+
inline FXuint klass ## _execute_gvl(klass* self,FXuint placement){ \
|
32
32
|
return self->klass::execute(placement); \
|
33
33
|
}
|
34
34
|
|
35
35
|
|
36
36
|
#define IMPLEMENT_FXDIALOGBOX_STUBS(cls) \
|
37
37
|
FXuint cls::execute(FXuint placement){ \
|
38
|
-
return FXRbCallUIntMethod(this,
|
38
|
+
return FXRbCallUIntMethod(this,"execute",placement); \
|
39
39
|
}
|
40
40
|
|
41
41
|
|
@@ -40,13 +40,13 @@
|
|
40
40
|
|
41
41
|
#define IMPLEMENT_FXDOCKBAR_STUBS(cls) \
|
42
42
|
void cls::dock(FXDockSite* docksite,FXWindow* before,FXbool notify){ \
|
43
|
-
FXRbCallVoidMethod(this,
|
43
|
+
FXRbCallVoidMethod(this,"dock",docksite,before,notify); \
|
44
44
|
} \
|
45
45
|
void cls::dock(FXDockSite* docksite,FXint localx,FXint localy,FXbool notify){ \
|
46
|
-
FXRbCallVoidMethod(this,
|
46
|
+
FXRbCallVoidMethod(this,"dock",docksite,localx,localy,notify); \
|
47
47
|
} \
|
48
48
|
void cls::undock(FXint rootx,FXint rooty, FXbool notify){ \
|
49
|
-
FXRbCallVoidMethod(this,
|
49
|
+
FXRbCallVoidMethod(this,"undock",rootx,rooty,notify); \
|
50
50
|
}
|
51
51
|
|
52
52
|
|
@@ -43,16 +43,16 @@
|
|
43
43
|
|
44
44
|
#define IMPLEMENT_FXDOCKSITE_STUBS(cls) \
|
45
45
|
void cls::moveToolBar(FXDockBar* bar,FXint barx,FXint bary){ \
|
46
|
-
FXRbCallVoidMethod(this,
|
46
|
+
FXRbCallVoidMethod(this,"moveToolBar",bar,barx,bary); \
|
47
47
|
} \
|
48
48
|
void cls::dockToolBar(FXDockBar* bar,FXWindow* before){ \
|
49
|
-
FXRbCallVoidMethod(this,
|
49
|
+
FXRbCallVoidMethod(this,"dockToolBar",bar,before); \
|
50
50
|
} \
|
51
51
|
void cls::dockToolBar(FXDockBar* bar,FXint barx,FXint bary){ \
|
52
|
-
FXRbCallVoidMethod(this,
|
52
|
+
FXRbCallVoidMethod(this,"dockToolBar",bar,barx,bary); \
|
53
53
|
} \
|
54
54
|
void cls::undockToolBar(FXDockBar* bar){ \
|
55
|
-
FXRbCallVoidMethod(this,
|
55
|
+
FXRbCallVoidMethod(this,"undockToolBar",bar); \
|
56
56
|
}
|
57
57
|
|
58
58
|
|
@@ -35,7 +35,7 @@ inline void klass ## _resize(klass* self,FXint w,FXint h){ \
|
|
35
35
|
|
36
36
|
#define IMPLEMENT_FXDRAWABLE_STUBS(cls) \
|
37
37
|
void cls::resize(FXint w,FXint h){ \
|
38
|
-
FXRbCallVoidMethod(this,
|
38
|
+
FXRbCallVoidMethod(this, "resize", w, h); \
|
39
39
|
}
|
40
40
|
|
41
41
|
|
@@ -61,13 +61,13 @@ inline FXFileAssoc* klass ## _findExecBinding(klass* self,const FXchar* pathname
|
|
61
61
|
|
62
62
|
#define IMPLEMENT_FXFILEDICT_STUBS(cls) \
|
63
63
|
FXFileAssoc* cls::findFileBinding(const FXchar* pathname){ \
|
64
|
-
return FXRbCallFileAssocMethod(this,
|
64
|
+
return FXRbCallFileAssocMethod(this,"findFileBinding",pathname); \
|
65
65
|
} \
|
66
66
|
FXFileAssoc* cls::findDirBinding(const FXchar* pathname){ \
|
67
|
-
return FXRbCallFileAssocMethod(this,
|
67
|
+
return FXRbCallFileAssocMethod(this,"findDirBinding",pathname); \
|
68
68
|
} \
|
69
69
|
FXFileAssoc* cls::findExecBinding(const FXchar* pathname){ \
|
70
|
-
return FXRbCallFileAssocMethod(this,
|
70
|
+
return FXRbCallFileAssocMethod(this,"findExecBinding",pathname); \
|
71
71
|
}
|
72
72
|
|
73
73
|
|
@@ -74,46 +74,46 @@ inline void klass ## _destroy(klass* self){ \
|
|
74
74
|
|
75
75
|
#define IMPLEMENT_FXFOLDINGITEM_STUBS(cls) \
|
76
76
|
void cls::setText(const FXString& txt){ \
|
77
|
-
FXRbCallVoidMethod(this,
|
77
|
+
FXRbCallVoidMethod(this,"setText",txt); \
|
78
78
|
} \
|
79
79
|
void cls::setOpenIcon(FXIcon* icn,FXbool owned){ \
|
80
|
-
FXRbCallVoidMethod(this,
|
80
|
+
FXRbCallVoidMethod(this,"setOpenIcon",icn,owned); \
|
81
81
|
} \
|
82
82
|
void cls::setClosedIcon(FXIcon* icn,FXbool owned){ \
|
83
|
-
FXRbCallVoidMethod(this,
|
83
|
+
FXRbCallVoidMethod(this,"setClosedIcon",icn,owned); \
|
84
84
|
} \
|
85
85
|
void cls::setFocus(FXbool focus){ \
|
86
|
-
FXRbCallVoidMethod(this,
|
86
|
+
FXRbCallVoidMethod(this,"setFocus",focus); \
|
87
87
|
} \
|
88
88
|
void cls::setSelected(FXbool selected){ \
|
89
|
-
FXRbCallVoidMethod(this,
|
89
|
+
FXRbCallVoidMethod(this,"setSelected",selected); \
|
90
90
|
} \
|
91
91
|
void cls::setOpened(FXbool opened){ \
|
92
|
-
FXRbCallVoidMethod(this,
|
92
|
+
FXRbCallVoidMethod(this,"setOpened",opened); \
|
93
93
|
} \
|
94
94
|
void cls::setExpanded(FXbool expanded){ \
|
95
|
-
FXRbCallVoidMethod(this,
|
95
|
+
FXRbCallVoidMethod(this,"setExpanded",expanded); \
|
96
96
|
} \
|
97
97
|
void cls::setEnabled(FXbool enabled){ \
|
98
|
-
FXRbCallVoidMethod(this,
|
98
|
+
FXRbCallVoidMethod(this,"setEnabled",enabled); \
|
99
99
|
} \
|
100
100
|
void cls::setDraggable(FXbool draggable){ \
|
101
|
-
FXRbCallVoidMethod(this,
|
101
|
+
FXRbCallVoidMethod(this,"setDraggable",draggable); \
|
102
102
|
} \
|
103
103
|
FXint cls::getWidth(const FXFoldingList* list) const { \
|
104
|
-
return FXRbCallIntMethod(this,
|
104
|
+
return FXRbCallIntMethod(this,"getWidth",list); \
|
105
105
|
} \
|
106
106
|
FXint cls::getHeight(const FXFoldingList* list) const { \
|
107
|
-
return FXRbCallIntMethod(this,
|
107
|
+
return FXRbCallIntMethod(this,"getHeight",list); \
|
108
108
|
} \
|
109
109
|
void cls::create(){ \
|
110
|
-
FXRbCallVoidMethod(this,
|
110
|
+
FXRbCallVoidMethod(this,"create"); \
|
111
111
|
} \
|
112
112
|
void cls::detach(){ \
|
113
|
-
FXRbCallVoidMethod(this,
|
113
|
+
FXRbCallVoidMethod(this,"detach"); \
|
114
114
|
} \
|
115
115
|
void cls::destroy(){ \
|
116
|
-
FXRbCallVoidMethod(this,
|
116
|
+
FXRbCallVoidMethod(this,"destroy"); \
|
117
117
|
}
|
118
118
|
|
119
119
|
|
@@ -189,46 +189,46 @@ inline void klass ## _setCurrentItem(klass *self,FXFoldingItem *item,FXbool noti
|
|
189
189
|
|
190
190
|
#define IMPLEMENT_FXFOLDINGLIST_STUBS(cls) \
|
191
191
|
FXFoldingItem * cls::getItemAt(FXint x,FXint y) const { \
|
192
|
-
return FXRbCallFoldingItemMethod(this,
|
192
|
+
return FXRbCallFoldingItemMethod(this,"getItemAt",x,y); \
|
193
193
|
} \
|
194
194
|
void cls::makeItemVisible(FXFoldingItem *item) { \
|
195
|
-
FXRbCallVoidMethod(this,
|
195
|
+
FXRbCallVoidMethod(this,"makeItemVisible",item); \
|
196
196
|
} \
|
197
197
|
FXbool cls::enableItem(FXFoldingItem *item) { \
|
198
|
-
return FXRbCallBoolMethod(this,
|
198
|
+
return FXRbCallBoolMethod(this,"enableItem",item); \
|
199
199
|
} \
|
200
200
|
FXbool cls::disableItem(FXFoldingItem *item) { \
|
201
|
-
return FXRbCallBoolMethod(this,
|
201
|
+
return FXRbCallBoolMethod(this,"disableItem",item); \
|
202
202
|
} \
|
203
203
|
FXbool cls::selectItem(FXFoldingItem *item,FXbool notify) { \
|
204
|
-
return FXRbCallBoolMethod(this,
|
204
|
+
return FXRbCallBoolMethod(this,"selectItem",item,notify); \
|
205
205
|
} \
|
206
206
|
FXbool cls::deselectItem(FXFoldingItem *item,FXbool notify) { \
|
207
|
-
return FXRbCallBoolMethod(this,
|
207
|
+
return FXRbCallBoolMethod(this,"deselectItem",item,notify); \
|
208
208
|
} \
|
209
209
|
FXbool cls::toggleItem(FXFoldingItem *item,FXbool notify) { \
|
210
|
-
return FXRbCallBoolMethod(this,
|
210
|
+
return FXRbCallBoolMethod(this,"toggleItem",item,notify); \
|
211
211
|
} \
|
212
212
|
FXbool cls::extendSelection(FXFoldingItem *item,FXbool notify) { \
|
213
|
-
return FXRbCallBoolMethod(this,
|
213
|
+
return FXRbCallBoolMethod(this,"extendSelection",item,notify); \
|
214
214
|
} \
|
215
215
|
FXbool cls::killSelection(FXbool notify) { \
|
216
|
-
return FXRbCallBoolMethod(this,
|
216
|
+
return FXRbCallBoolMethod(this,"killSelection",notify); \
|
217
217
|
} \
|
218
218
|
FXbool cls::openItem(FXFoldingItem *item,FXbool notify) { \
|
219
|
-
return FXRbCallBoolMethod(this,
|
219
|
+
return FXRbCallBoolMethod(this,"openItem",item,notify); \
|
220
220
|
} \
|
221
221
|
FXbool cls::closeItem(FXFoldingItem *item,FXbool notify) { \
|
222
|
-
return FXRbCallBoolMethod(this,
|
222
|
+
return FXRbCallBoolMethod(this,"closeItem",item,notify); \
|
223
223
|
} \
|
224
224
|
FXbool cls::collapseTree(FXFoldingItem *item,FXbool notify) { \
|
225
|
-
return FXRbCallBoolMethod(this,
|
225
|
+
return FXRbCallBoolMethod(this,"collapseTree",item,notify); \
|
226
226
|
} \
|
227
227
|
FXbool cls::expandTree(FXFoldingItem *item,FXbool notify) { \
|
228
|
-
return FXRbCallBoolMethod(this,
|
228
|
+
return FXRbCallBoolMethod(this,"expandTree",item,notify); \
|
229
229
|
} \
|
230
230
|
void cls::setCurrentItem(FXFoldingItem *item,FXbool notify) { \
|
231
|
-
FXRbCallVoidMethod(this,
|
231
|
+
FXRbCallVoidMethod(this,"setCurrentItem",item,notify); \
|
232
232
|
}
|
233
233
|
|
234
234
|
class FXRbFoldingList : public FXFoldingList {
|
@@ -85,58 +85,58 @@ inline FXint klass ## _getTextHeight(const klass* self,const FXString& str){ \
|
|
85
85
|
|
86
86
|
#define IMPLEMENT_FXFONT_STUBS(cls) \
|
87
87
|
void cls::setFontDesc(const FXFontDesc& desc) { \
|
88
|
-
FXRbCallVoidMethod(this,
|
88
|
+
FXRbCallVoidMethod(this,"setFontDesc",desc); \
|
89
89
|
} \
|
90
90
|
void cls::setAngle(FXint ang) { \
|
91
|
-
FXRbCallVoidMethod(this,
|
91
|
+
FXRbCallVoidMethod(this,"setAngle",ang); \
|
92
92
|
} \
|
93
93
|
void cls::setFont(const FXString& string) { \
|
94
|
-
FXRbCallVoidMethod(this,
|
94
|
+
FXRbCallVoidMethod(this,"setFont",string); \
|
95
95
|
} \
|
96
96
|
FXbool cls::isFontMono() const { \
|
97
|
-
return FXRbCallBoolMethod(this,
|
97
|
+
return FXRbCallBoolMethod(this,"isFontMono"); \
|
98
98
|
} \
|
99
99
|
FXbool cls::hasChar(FXwchar ch) const { \
|
100
|
-
return FXRbCallBoolMethod(this,
|
100
|
+
return FXRbCallBoolMethod(this,"hasChar",ch); \
|
101
101
|
} \
|
102
102
|
FXwchar cls::getMinChar() const { \
|
103
|
-
return FXRbCallWCharMethod(this,
|
103
|
+
return FXRbCallWCharMethod(this,"getMinChar"); \
|
104
104
|
} \
|
105
105
|
FXwchar cls::getMaxChar() const { \
|
106
|
-
return FXRbCallWCharMethod(this,
|
106
|
+
return FXRbCallWCharMethod(this,"getMaxChar"); \
|
107
107
|
} \
|
108
108
|
FXint cls::leftBearing(FXwchar ch) const { \
|
109
|
-
return FXRbCallIntMethod(this,
|
109
|
+
return FXRbCallIntMethod(this,"leftBearing",ch); \
|
110
110
|
} \
|
111
111
|
FXint cls::rightBearing(FXwchar ch) const { \
|
112
|
-
return FXRbCallIntMethod(this,
|
112
|
+
return FXRbCallIntMethod(this,"rightBearing",ch); \
|
113
113
|
} \
|
114
114
|
FXint cls::getFontWidth() const { \
|
115
|
-
return FXRbCallIntMethod(this,
|
115
|
+
return FXRbCallIntMethod(this,"getFontWidth"); \
|
116
116
|
} \
|
117
117
|
FXint cls::getFontHeight() const { \
|
118
|
-
return FXRbCallIntMethod(this,
|
118
|
+
return FXRbCallIntMethod(this,"getFontHeight"); \
|
119
119
|
} \
|
120
120
|
FXint cls::getFontAscent() const { \
|
121
|
-
return FXRbCallIntMethod(this,
|
121
|
+
return FXRbCallIntMethod(this,"getFontAscent"); \
|
122
122
|
} \
|
123
123
|
FXint cls::getFontDescent() const { \
|
124
|
-
return FXRbCallIntMethod(this,
|
124
|
+
return FXRbCallIntMethod(this,"getFontDescent"); \
|
125
125
|
} \
|
126
126
|
FXint cls::getFontLeading() const { \
|
127
|
-
return FXRbCallIntMethod(this,
|
127
|
+
return FXRbCallIntMethod(this,"getFontLeading"); \
|
128
128
|
} \
|
129
129
|
FXint cls::getFontSpacing() const { \
|
130
|
-
return FXRbCallIntMethod(this,
|
130
|
+
return FXRbCallIntMethod(this,"getFontSpacing"); \
|
131
131
|
} \
|
132
132
|
FXint cls::getCharWidth(FXwchar ch) const { \
|
133
|
-
return FXRbCallIntMethod(this,
|
133
|
+
return FXRbCallIntMethod(this,"getCharWidth",ch); \
|
134
134
|
} \
|
135
135
|
FXint cls::getTextWidth(const FXString& str) const { \
|
136
|
-
return FXRbCallIntMethod(this,
|
136
|
+
return FXRbCallIntMethod(this,"getTextWidth",str); \
|
137
137
|
} \
|
138
138
|
FXint cls::getTextHeight(const FXString& str) const { \
|
139
|
-
return FXRbCallIntMethod(this,
|
139
|
+
return FXRbCallIntMethod(this,"getTextHeight",str); \
|
140
140
|
}
|
141
141
|
|
142
142
|
class FXRbFont : public FXFont {
|
@@ -44,16 +44,16 @@ inline void klass ## _swapBuffers(klass* self){ \
|
|
44
44
|
|
45
45
|
#define IMPLEMENT_FXGLCANVAS_STUBS(cls) \
|
46
46
|
FXbool cls::makeCurrent(){ \
|
47
|
-
return FXRbCallBoolMethod(this,
|
47
|
+
return FXRbCallBoolMethod(this,"makeCurrent"); \
|
48
48
|
} \
|
49
49
|
FXbool cls::makeNonCurrent(){ \
|
50
|
-
return FXRbCallBoolMethod(this,
|
50
|
+
return FXRbCallBoolMethod(this,"makeNonCurrent"); \
|
51
51
|
} \
|
52
52
|
FXbool cls::isCurrent() const { \
|
53
|
-
return FXRbCallBoolMethod(this,
|
53
|
+
return FXRbCallBoolMethod(this,"isCurrent"); \
|
54
54
|
} \
|
55
55
|
void cls::swapBuffers(){ \
|
56
|
-
FXRbCallVoidMethod(this,
|
56
|
+
FXRbCallVoidMethod(this,"swapBuffers"); \
|
57
57
|
}
|
58
58
|
|
59
59
|
|
@@ -55,28 +55,28 @@ inline FXbool klass ## _drag(klass* self,FXGLViewer* viewer,FXint fx,FXint fy,FX
|
|
55
55
|
|
56
56
|
#define IMPLEMENT_FXGLOBJECT_STUBS(cls) \
|
57
57
|
void cls::bounds(FXRangef& box){ \
|
58
|
-
box=FXRbCallRangeMethod(this,
|
58
|
+
box=FXRbCallRangeMethod(this,"bounds"); \
|
59
59
|
} \
|
60
60
|
void cls::draw(FXGLViewer* viewer){ \
|
61
|
-
FXRbCallVoidMethod(this,
|
61
|
+
FXRbCallVoidMethod(this,"draw",viewer); \
|
62
62
|
} \
|
63
63
|
void cls::hit(FXGLViewer* viewer){ \
|
64
|
-
FXRbCallVoidMethod(this,
|
64
|
+
FXRbCallVoidMethod(this,"hit",viewer); \
|
65
65
|
} \
|
66
66
|
FXGLObject* cls::copy(){ \
|
67
|
-
return FXRbCallGLObjectMethod(this,
|
67
|
+
return FXRbCallGLObjectMethod(this,"copy"); \
|
68
68
|
} \
|
69
69
|
FXGLObject* cls::identify(FXuint* path,FXint n){ \
|
70
|
-
return FXRbCallGLObjectMethod(this,
|
70
|
+
return FXRbCallGLObjectMethod(this,"identify",path,n); \
|
71
71
|
} \
|
72
72
|
FXbool cls::canDrag() const { \
|
73
|
-
return FXRbCallBoolMethod(this,
|
73
|
+
return FXRbCallBoolMethod(this,"canDrag"); \
|
74
74
|
} \
|
75
75
|
FXbool cls::canDelete() const{ \
|
76
|
-
return FXRbCallBoolMethod(this,
|
76
|
+
return FXRbCallBoolMethod(this,"canDelete"); \
|
77
77
|
} \
|
78
78
|
FXbool cls::drag(FXGLViewer* viewer,FXint fx,FXint fy,FXint tx,FXint ty){ \
|
79
|
-
return FXRbCallBoolMethod(this,
|
79
|
+
return FXRbCallBoolMethod(this,"drag",viewer,fx,fy,tx,ty); \
|
80
80
|
}
|
81
81
|
|
82
82
|
|
@@ -35,7 +35,7 @@ inline void klass ## _drawshape(klass* self,FXGLViewer* viewer){ \
|
|
35
35
|
|
36
36
|
#define IMPLEMENT_FXGLSHAPE_STUBS(klass,superklass) \
|
37
37
|
void klass::drawshape(FXGLViewer* viewer){ \
|
38
|
-
FXRbCallVoidMethod(this,
|
38
|
+
FXRbCallVoidMethod(this,"drawshape",viewer); \
|
39
39
|
} \
|
40
40
|
void klass::_drawshape(FXGLViewer* viewer){ \
|
41
41
|
superklass::drawshape(viewer); \
|
@@ -42,13 +42,13 @@ inline FXbool klass ## _setBounds(klass *self,const FXRangef& box){ \
|
|
42
42
|
|
43
43
|
#define IMPLEMENT_FXGLVIEWER_STUBS(cls) \
|
44
44
|
FXGLObject** cls::select(FXint x,FXint y,FXint w,FXint h){ \
|
45
|
-
return FXRbCallGLObjectArrayMethod(this,
|
45
|
+
return FXRbCallGLObjectArrayMethod(this,"select",x,y,w,h); \
|
46
46
|
} \
|
47
47
|
FXGLObject* cls::pick(FXint x,FXint y){ \
|
48
|
-
return FXRbCallGLObjectMethod(this,
|
48
|
+
return FXRbCallGLObjectMethod(this,"pick",x,y); \
|
49
49
|
} \
|
50
50
|
FXbool cls::setBounds(const FXRangef& box){ \
|
51
|
-
return FXRbCallBoolMethod(this,
|
51
|
+
return FXRbCallBoolMethod(this,"setBounds",box); \
|
52
52
|
}
|
53
53
|
|
54
54
|
|
@@ -53,25 +53,25 @@ inline void klass ## _destroy(klass* self){ \
|
|
53
53
|
|
54
54
|
#define IMPLEMENT_FXHEADERITEM_STUBS(cls) \
|
55
55
|
void cls::setText(const FXString& text){ \
|
56
|
-
FXRbCallVoidMethod(this,
|
56
|
+
FXRbCallVoidMethod(this,"setText",text); \
|
57
57
|
} \
|
58
58
|
void cls::setIcon(FXIcon* icn){ \
|
59
|
-
FXRbCallVoidMethod(this,
|
59
|
+
FXRbCallVoidMethod(this,"setIcon",icn); \
|
60
60
|
} \
|
61
61
|
FXint cls::getWidth(const FXHeader* header) const { \
|
62
|
-
return FXRbCallIntMethod(this,
|
62
|
+
return FXRbCallIntMethod(this,"getWidth",header); \
|
63
63
|
} \
|
64
64
|
FXint cls::getHeight(const FXHeader* header) const { \
|
65
|
-
return FXRbCallIntMethod(this,
|
65
|
+
return FXRbCallIntMethod(this,"getHeight",header); \
|
66
66
|
} \
|
67
67
|
void cls::create(){ \
|
68
|
-
FXRbCallVoidMethod(this,
|
68
|
+
FXRbCallVoidMethod(this,"create"); \
|
69
69
|
} \
|
70
70
|
void cls::detach(){ \
|
71
|
-
FXRbCallVoidMethod(this,
|
71
|
+
FXRbCallVoidMethod(this,"detach"); \
|
72
72
|
} \
|
73
73
|
void cls::destroy(){ \
|
74
|
-
FXRbCallVoidMethod(this,
|
74
|
+
FXRbCallVoidMethod(this,"destroy"); \
|
75
75
|
}
|
76
76
|
|
77
77
|
|
@@ -88,70 +88,70 @@ inline void klass ## _destroy(klass* self){ \
|
|
88
88
|
|
89
89
|
#define IMPLEMENT_FXICONITEM_STUBS(klass,superklass) \
|
90
90
|
void klass::draw(const FXIconList* list,FXDC& dc,FXint x,FXint y,FXint w,FXint h) const { \
|
91
|
-
FXRbCallVoidMethod(this,
|
91
|
+
FXRbCallVoidMethod(this,"draw",list,dc,x,y,w,h); \
|
92
92
|
} \
|
93
93
|
void klass::public_draw(const FXIconList* list,FXDC& dc,FXint x,FXint y,FXint w,FXint h) const { \
|
94
94
|
superklass::draw(list,dc,x,y,w,h); \
|
95
95
|
} \
|
96
96
|
FXint klass::hitItem(const FXIconList* list,FXint rx,FXint ry,FXint rw,FXint rh) const { \
|
97
|
-
return FXRbCallIntMethod(this,
|
97
|
+
return FXRbCallIntMethod(this,"hitItem",list,rx,ry,rw,rh); \
|
98
98
|
} \
|
99
99
|
FXint klass::public_hitItem(const FXIconList* list,FXint rx,FXint ry,FXint rw,FXint rh) const { \
|
100
100
|
return superklass::hitItem(list,rx,ry,rw,rh); \
|
101
101
|
} \
|
102
102
|
void klass::drawBigIcon(const FXIconList* list,FXDC& dc,FXint x,FXint y,FXint w,FXint h) const { \
|
103
|
-
FXRbCallVoidMethod(this,
|
103
|
+
FXRbCallVoidMethod(this,"drawBigIcon",list,dc,x,y,w,h); \
|
104
104
|
} \
|
105
105
|
void klass::public_drawBigIcon(const FXIconList* list,FXDC& dc,FXint x,FXint y,FXint w,FXint h) const { \
|
106
106
|
superklass::drawBigIcon(list,dc,x,y,w,h); \
|
107
107
|
} \
|
108
108
|
void klass::drawMiniIcon(const FXIconList* list,FXDC& dc,FXint x,FXint y,FXint w,FXint h) const { \
|
109
|
-
FXRbCallVoidMethod(this,
|
109
|
+
FXRbCallVoidMethod(this,"drawMiniIcon",list,dc,x,y,w,h); \
|
110
110
|
} \
|
111
111
|
void klass::public_drawMiniIcon(const FXIconList* list,FXDC& dc,FXint x,FXint y,FXint w,FXint h) const { \
|
112
112
|
superklass::drawMiniIcon(list,dc,x,y,w,h); \
|
113
113
|
} \
|
114
114
|
void klass::drawDetails(const FXIconList* list,FXDC& dc,FXint x,FXint y,FXint w,FXint h) const { \
|
115
|
-
FXRbCallVoidMethod(this,
|
115
|
+
FXRbCallVoidMethod(this,"drawDetails",list,dc,x,y,w,h); \
|
116
116
|
} \
|
117
117
|
void klass::public_drawDetails(const FXIconList* list,FXDC& dc,FXint x,FXint y,FXint w,FXint h) const { \
|
118
118
|
superklass::drawDetails(list,dc,x,y,w,h); \
|
119
119
|
} \
|
120
120
|
void klass::setText(const FXString& txt){ \
|
121
|
-
FXRbCallVoidMethod(this,
|
121
|
+
FXRbCallVoidMethod(this,"setText",txt); \
|
122
122
|
} \
|
123
123
|
void klass::setBigIcon(FXIcon* icn,FXbool owned){ \
|
124
|
-
FXRbCallVoidMethod(this,
|
124
|
+
FXRbCallVoidMethod(this,"setBigIcon",icn,owned); \
|
125
125
|
} \
|
126
126
|
void klass::setMiniIcon(FXIcon* icn,FXbool owned){ \
|
127
|
-
FXRbCallVoidMethod(this,
|
127
|
+
FXRbCallVoidMethod(this,"setMiniIcon",icn,owned); \
|
128
128
|
} \
|
129
129
|
void klass::setFocus(FXbool focus){ \
|
130
|
-
FXRbCallVoidMethod(this,
|
130
|
+
FXRbCallVoidMethod(this,"setFocus",focus); \
|
131
131
|
} \
|
132
132
|
void klass::setSelected(FXbool selected){ \
|
133
|
-
FXRbCallVoidMethod(this,
|
133
|
+
FXRbCallVoidMethod(this,"setSelected",selected); \
|
134
134
|
} \
|
135
135
|
void klass::setEnabled(FXbool enabled){ \
|
136
|
-
FXRbCallVoidMethod(this,
|
136
|
+
FXRbCallVoidMethod(this,"setEnabled",enabled); \
|
137
137
|
} \
|
138
138
|
void klass::setDraggable(FXbool draggable){ \
|
139
|
-
FXRbCallVoidMethod(this,
|
139
|
+
FXRbCallVoidMethod(this,"setDraggable",draggable); \
|
140
140
|
} \
|
141
141
|
FXint klass::getWidth(const FXIconList* list) const { \
|
142
|
-
return FXRbCallIntMethod(this,
|
142
|
+
return FXRbCallIntMethod(this,"getWidth",list); \
|
143
143
|
} \
|
144
144
|
FXint klass::getHeight(const FXIconList* list) const { \
|
145
|
-
return FXRbCallIntMethod(this,
|
145
|
+
return FXRbCallIntMethod(this,"getHeight",list); \
|
146
146
|
} \
|
147
147
|
void klass::create(){ \
|
148
|
-
FXRbCallVoidMethod(this,
|
148
|
+
FXRbCallVoidMethod(this,"create"); \
|
149
149
|
} \
|
150
150
|
void klass::detach(){ \
|
151
|
-
FXRbCallVoidMethod(this,
|
151
|
+
FXRbCallVoidMethod(this,"detach"); \
|
152
152
|
} \
|
153
153
|
void klass::destroy(){ \
|
154
|
-
FXRbCallVoidMethod(this,
|
154
|
+
FXRbCallVoidMethod(this,"destroy"); \
|
155
155
|
}
|
156
156
|
|
157
157
|
|
@@ -219,37 +219,37 @@ inline FXbool klass ## _disableItem(klass* self,FXint index){ \
|
|
219
219
|
|
220
220
|
#define IMPLEMENT_FXICONLIST_STUBS(cls) \
|
221
221
|
FXbool cls::selectItem(FXint index,FXbool notify){ \
|
222
|
-
return FXRbCallBoolMethod(this,
|
222
|
+
return FXRbCallBoolMethod(this,"selectItem",index,notify); \
|
223
223
|
} \
|
224
224
|
FXbool cls::deselectItem(FXint index,FXbool notify){ \
|
225
|
-
return FXRbCallBoolMethod(this,
|
225
|
+
return FXRbCallBoolMethod(this,"deselectItem",index,notify); \
|
226
226
|
} \
|
227
227
|
FXbool cls::toggleItem(FXint index,FXbool notify){ \
|
228
|
-
return FXRbCallBoolMethod(this,
|
228
|
+
return FXRbCallBoolMethod(this,"toggleItem",index,notify); \
|
229
229
|
} \
|
230
230
|
FXbool cls::selectInRectangle(FXint x,FXint y,FXint w,FXint h,FXbool notify){ \
|
231
|
-
return FXRbCallBoolMethod(this,
|
231
|
+
return FXRbCallBoolMethod(this,"selectInRectangle",x,y,w,h,notify); \
|
232
232
|
} \
|
233
233
|
FXbool cls::extendSelection(FXint index,FXbool notify){ \
|
234
|
-
return FXRbCallBoolMethod(this,
|
234
|
+
return FXRbCallBoolMethod(this,"extendSelection",index,notify); \
|
235
235
|
} \
|
236
236
|
FXbool cls::killSelection(FXbool notify){ \
|
237
|
-
return FXRbCallBoolMethod(this,
|
237
|
+
return FXRbCallBoolMethod(this,"killSelection",notify); \
|
238
238
|
} \
|
239
239
|
void cls::setCurrentItem(FXint index,FXbool notify){ \
|
240
|
-
FXRbCallVoidMethod(this,
|
240
|
+
FXRbCallVoidMethod(this,"setCurrentItem",index,notify); \
|
241
241
|
} \
|
242
242
|
FXint cls::getItemAt(FXint x,FXint y) const { \
|
243
|
-
return FXRbCallIntMethod(this,
|
243
|
+
return FXRbCallIntMethod(this,"getItemAt",x,y); \
|
244
244
|
} \
|
245
245
|
void cls::makeItemVisible(FXint index){ \
|
246
|
-
FXRbCallVoidMethod(this,
|
246
|
+
FXRbCallVoidMethod(this,"makeItemVisible",index); \
|
247
247
|
} \
|
248
248
|
FXbool cls::enableItem(FXint index){ \
|
249
|
-
return FXRbCallBoolMethod(this,
|
249
|
+
return FXRbCallBoolMethod(this,"enableItem",index); \
|
250
250
|
} \
|
251
251
|
FXbool cls::disableItem(FXint index){ \
|
252
|
-
return FXRbCallBoolMethod(this,
|
252
|
+
return FXRbCallBoolMethod(this,"disableItem",index); \
|
253
253
|
}
|
254
254
|
|
255
255
|
|