fxruby 1.6.29-x86-mingw32 → 1.6.30-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/History.txt +11 -0
  3. data/Manifest.txt +5 -0
  4. data/Rakefile +8 -2
  5. data/examples/gltest.rb +0 -7
  6. data/examples/groupbox.rb +5 -3
  7. data/examples/thread.rb +55 -0
  8. data/ext/fox16_c/FXRbApp.cpp +67 -5
  9. data/ext/fox16_c/FXRuby.cpp +142 -110
  10. data/ext/fox16_c/extconf.rb +36 -28
  11. data/ext/fox16_c/gvl_wrappers.cpp +12 -0
  12. data/ext/fox16_c/include/FXRbApp.h +41 -6
  13. data/ext/fox16_c/include/FXRbBitmap.h +12 -12
  14. data/ext/fox16_c/include/FXRbCommon.h +3 -0
  15. data/ext/fox16_c/include/FXRbCursor.h +2 -2
  16. data/ext/fox16_c/include/FXRbDC.h +62 -62
  17. data/ext/fox16_c/include/FXRbDialogBox.h +2 -2
  18. data/ext/fox16_c/include/FXRbDockBar.h +3 -3
  19. data/ext/fox16_c/include/FXRbDockSite.h +4 -4
  20. data/ext/fox16_c/include/FXRbDrawable.h +1 -1
  21. data/ext/fox16_c/include/FXRbFileDict.h +3 -3
  22. data/ext/fox16_c/include/FXRbFoldingList.h +28 -28
  23. data/ext/fox16_c/include/FXRbFont.h +18 -18
  24. data/ext/fox16_c/include/FXRbGLCanvas.h +4 -4
  25. data/ext/fox16_c/include/FXRbGLObject.h +8 -8
  26. data/ext/fox16_c/include/FXRbGLShape.h +1 -1
  27. data/ext/fox16_c/include/FXRbGLViewer.h +3 -3
  28. data/ext/fox16_c/include/FXRbHeader.h +7 -7
  29. data/ext/fox16_c/include/FXRbIconList.h +28 -28
  30. data/ext/fox16_c/include/FXRbIconSource.h +12 -12
  31. data/ext/fox16_c/include/FXRbId.h +3 -3
  32. data/ext/fox16_c/include/FXRbImage.h +19 -19
  33. data/ext/fox16_c/include/FXRbList.h +21 -21
  34. data/ext/fox16_c/include/FXRbListBox.h +1 -1
  35. data/ext/fox16_c/include/FXRbMDIChild.h +4 -4
  36. data/ext/fox16_c/include/FXRbMDIClient.h +4 -4
  37. data/ext/fox16_c/include/FXRbObject.h +2 -2
  38. data/ext/fox16_c/include/FXRbPopup.h +2 -2
  39. data/ext/fox16_c/include/FXRbRealSpinner.h +1 -1
  40. data/ext/fox16_c/include/FXRbScrollArea.h +4 -4
  41. data/ext/fox16_c/include/FXRbShutter.h +1 -1
  42. data/ext/fox16_c/include/FXRbSpinner.h +1 -1
  43. data/ext/fox16_c/include/FXRbStream.h +3 -3
  44. data/ext/fox16_c/include/FXRbTabBar.h +1 -1
  45. data/ext/fox16_c/include/FXRbTable.h +53 -53
  46. data/ext/fox16_c/include/FXRbText.h +23 -23
  47. data/ext/fox16_c/include/FXRbTopWindow.h +5 -5
  48. data/ext/fox16_c/include/FXRbTranslator.h +1 -1
  49. data/ext/fox16_c/include/FXRbTreeList.h +28 -28
  50. data/ext/fox16_c/include/FXRbTreeListBox.h +1 -1
  51. data/ext/fox16_c/include/FXRbWindow.h +31 -31
  52. data/ext/fox16_c/include/FXRuby.h +200 -94
  53. data/ext/fox16_c/include/gvl_wrappers.h +594 -0
  54. data/lib/1.8/fox16_c.so +0 -0
  55. data/lib/1.9/fox16_c.so +0 -0
  56. data/lib/2.0/fox16_c.so +0 -0
  57. data/lib/2.1/fox16_c.so +0 -0
  58. data/lib/2.2/fox16_c.so +0 -0
  59. data/lib/fox16.rb +1 -0
  60. data/lib/fox16/thread.rb +51 -0
  61. data/lib/fox16/version.rb +1 -1
  62. data/lib/x86-mingw32/libFOX-1.6-0.dll +0 -0
  63. data/lib/x86-mingw32/libfxscintilla-20.dll +0 -0
  64. data/lib/x86-mingw32/libgcc_s_sjlj-1.dll +0 -0
  65. data/lib/x86-mingw32/libjpeg-8.dll +0 -0
  66. data/lib/x86-mingw32/libpng15-15.dll +0 -0
  67. data/lib/x86-mingw32/libstdc++-6.dll +0 -0
  68. data/lib/x86-mingw32/libtiff-5.dll +0 -0
  69. data/lib/x86-mingw32/libwinpthread-1.dll +0 -0
  70. data/lib/x86-mingw32/zlib1.dll +0 -0
  71. data/rdoc-sources/FXApp.rb +5 -0
  72. data/rdoc-sources/FXId.rb +5 -0
  73. data/swig-interfaces/FXApp.i +14 -78
  74. data/swig-interfaces/macros.i +56 -0
  75. data/test/TC_FXApp.rb +60 -10
  76. data/test/TC_FXJPGImage.rb +47 -0
  77. metadata +24 -103
  78. checksums.yaml.gz.sig +0 -0
  79. data.tar.gz.sig +0 -0
  80. metadata.gz.sig +0 -0
@@ -68,40 +68,40 @@ inline FXImage* cls ## _loadScaledImageStream(const cls* self,FXStream& store,FX
68
68
 
69
69
  #define IMPLEMENT_FXICONSOURCE_STUBS(cls) \
70
70
  FXIcon* cls::loadIconFile(const FXString& filename,const FXString& type) const { \
71
- return FXRbCallIconMethod(this,rb_intern("loadIconFile"),filename,type); \
71
+ return FXRbCallIconMethod(this,"loadIconFile",filename,type); \
72
72
  } \
73
73
  FXIcon* cls::loadIconData(const void* pixels,const FXString& type) const { \
74
- return FXRbCallIconMethod(this,rb_intern("loadIconData"),pixels,type); \
74
+ return FXRbCallIconMethod(this,"loadIconData",pixels,type); \
75
75
  } \
76
76
  FXIcon* cls::loadIconStream(FXStream& store,const FXString& type) const { \
77
- return FXRbCallIconMethod(this,rb_intern("loadIconStream"),store,type); \
77
+ return FXRbCallIconMethod(this,"loadIconStream",store,type); \
78
78
  } \
79
79
  FXImage* cls::loadImageFile(const FXString& filename,const FXString& type) const { \
80
- return FXRbCallImageMethod(this,rb_intern("loadImageFile"),filename,type); \
80
+ return FXRbCallImageMethod(this,"loadImageFile",filename,type); \
81
81
  } \
82
82
  FXImage* cls::loadImageData(const void* pixels,const FXString& type) const { \
83
- return FXRbCallImageMethod(this,rb_intern("loadImageData"),pixels,type); \
83
+ return FXRbCallImageMethod(this,"loadImageData",pixels,type); \
84
84
  } \
85
85
  FXImage* cls::loadImageStream(FXStream& store,const FXString& type) const { \
86
- return FXRbCallImageMethod(this,rb_intern("loadImageStream"),store,type); \
86
+ return FXRbCallImageMethod(this,"loadImageStream",store,type); \
87
87
  } \
88
88
  FXIcon* cls::loadScaledIconFile(const FXString& filename,FXint size,FXint qual,const FXString& type) const { \
89
- return FXRbCallIconMethod(this,rb_intern("loadScaledIconFile"),filename,size,qual,type); \
89
+ return FXRbCallIconMethod(this,"loadScaledIconFile",filename,size,qual,type); \
90
90
  } \
91
91
  FXIcon* cls::loadScaledIconData(const void* pixels,FXint size,FXint qual,const FXString& type) const { \
92
- return FXRbCallIconMethod(this,rb_intern("loadScaledIconData"),pixels,size,qual,type); \
92
+ return FXRbCallIconMethod(this,"loadScaledIconData",pixels,size,qual,type); \
93
93
  } \
94
94
  FXIcon* cls::loadScaledIconStream(FXStream& store,FXint size,FXint qual,const FXString& type) const { \
95
- return FXRbCallIconMethod(this,rb_intern("loadScaledIconStream"),store,size,qual,type); \
95
+ return FXRbCallIconMethod(this,"loadScaledIconStream",store,size,qual,type); \
96
96
  } \
97
97
  FXImage* cls::loadScaledImageFile(const FXString& filename,FXint size,FXint qual,const FXString& type) const { \
98
- return FXRbCallImageMethod(this,rb_intern("loadScaledImageFile"),filename,size,qual,type); \
98
+ return FXRbCallImageMethod(this,"loadScaledImageFile",filename,size,qual,type); \
99
99
  } \
100
100
  FXImage* cls::loadScaledImageData(const void* pixels,FXint size,FXint qual,const FXString& type) const { \
101
- return FXRbCallImageMethod(this,rb_intern("loadScaledImageData"),pixels,size,qual,type); \
101
+ return FXRbCallImageMethod(this,"loadScaledImageData",pixels,size,qual,type); \
102
102
  } \
103
103
  FXImage* cls::loadScaledImageStream(FXStream& store,FXint size,FXint qual,const FXString& type) const { \
104
- return FXRbCallImageMethod(this,rb_intern("loadScaledImageStream"),store,size,qual,type); \
104
+ return FXRbCallImageMethod(this,"loadScaledImageStream",store,size,qual,type); \
105
105
  }
106
106
 
107
107
 
@@ -41,13 +41,13 @@ inline void klass ## _destroy(klass* self){ \
41
41
 
42
42
  #define IMPLEMENT_FXID_STUBS(cls) \
43
43
  void cls::create(){ \
44
- FXRbCallVoidMethod(this,rb_intern("create")); \
44
+ FXRbCallVoidMethod(this,"create"); \
45
45
  } \
46
46
  void cls::detach(){ \
47
- FXRbCallVoidMethod(this,rb_intern("detach")); \
47
+ FXRbCallVoidMethod(this,"detach"); \
48
48
  } \
49
49
  void cls::destroy(){ \
50
- FXRbCallVoidMethod(this,rb_intern("destroy")); \
50
+ FXRbCallVoidMethod(this,"destroy"); \
51
51
  }
52
52
 
53
53
 
@@ -73,65 +73,65 @@ inline void klass ## _gradient(klass* self,FXColor topleft,FXColor topright,FXCo
73
73
  inline void klass ## _blend(klass* self,FXColor color){ \
74
74
  self->klass::blend(color); \
75
75
  } \
76
- inline bool klass ## _savePixels(const klass* self,FXStream& store){ \
76
+ inline bool klass ## _savePixels_gvl(const klass* self,FXStream& store){ \
77
77
  return self->klass::savePixels(store); \
78
78
  } \
79
- inline bool klass ## _loadPixels(klass* self,FXStream& store){ \
79
+ inline bool klass ## _loadPixels_gvl(klass* self,FXStream& store){ \
80
80
  return self->klass::loadPixels(store); \
81
81
  }
82
82
 
83
83
 
84
84
  #define IMPLEMENT_FXIMAGE_STUBS(cls) \
85
85
  void cls::restore(){ \
86
- FXRbCallVoidMethod(this,rb_intern("restore")); \
86
+ FXRbCallVoidMethod(this,"restore"); \
87
87
  } \
88
88
  void cls::render(){ \
89
- FXRbCallVoidMethod(this,rb_intern("render")); \
89
+ FXRbCallVoidMethod(this,"render"); \
90
90
  } \
91
91
  void cls::release(){ \
92
- FXRbCallVoidMethod(this,rb_intern("release")); \
92
+ FXRbCallVoidMethod(this,"release"); \
93
93
  } \
94
94
  void cls::scale(FXint w,FXint h,FXint quality){ \
95
- FXRbCallVoidMethod(this,rb_intern("scale"),w,h,quality); \
95
+ FXRbCallVoidMethod(this,"scale",w,h,quality); \
96
96
  } \
97
97
  void cls::mirror(bool horizontal,bool vertical){ \
98
- FXRbCallVoidMethod(this,rb_intern("mirror"),horizontal,vertical); \
98
+ FXRbCallVoidMethod(this,"mirror",horizontal,vertical); \
99
99
  } \
100
100
  void cls::rotate(FXint degrees){ \
101
- FXRbCallVoidMethod(this,rb_intern("rotate"),degrees); \
101
+ FXRbCallVoidMethod(this,"rotate",degrees); \
102
102
  } \
103
103
  void cls::crop(FXint x,FXint y,FXint w,FXint h,FXColor color){ \
104
- FXRbCallVoidMethod(this,rb_intern("crop"),x,y,w,h,color); \
104
+ FXRbCallVoidMethod(this,"crop",x,y,w,h,color); \
105
105
  } \
106
106
  void cls::fill(FXColor color){ \
107
- FXRbCallVoidMethod(this,rb_intern("fill"),color); \
107
+ FXRbCallVoidMethod(this,"fill",color); \
108
108
  } \
109
109
  void cls::fade(FXColor color,FXint factor){ \
110
- FXRbCallVoidMethod(this,rb_intern("fade"),color,factor); \
110
+ FXRbCallVoidMethod(this,"fade",color,factor); \
111
111
  } \
112
112
  void cls::xshear(FXint shear,FXColor clr){ \
113
- FXRbCallVoidMethod(this,rb_intern("xshear"),shear,clr); \
113
+ FXRbCallVoidMethod(this,"xshear",shear,clr); \
114
114
  } \
115
115
  void cls::yshear(FXint shear,FXColor clr){ \
116
- FXRbCallVoidMethod(this,rb_intern("yshear"),shear,clr); \
116
+ FXRbCallVoidMethod(this,"yshear",shear,clr); \
117
117
  } \
118
118
  void cls::hgradient(FXColor left,FXColor right){ \
119
- FXRbCallVoidMethod(this,rb_intern("hgradient"),left,right); \
119
+ FXRbCallVoidMethod(this,"hgradient",left,right); \
120
120
  } \
121
121
  void cls::vgradient(FXColor top,FXColor bottom){ \
122
- FXRbCallVoidMethod(this,rb_intern("vgradient"),top,bottom); \
122
+ FXRbCallVoidMethod(this,"vgradient",top,bottom); \
123
123
  } \
124
124
  void cls::gradient(FXColor topleft,FXColor topright,FXColor bottomleft,FXColor bottomright){ \
125
- FXRbCallVoidMethod(this,rb_intern("gradient"),topleft,topright,bottomleft,bottomright); \
125
+ FXRbCallVoidMethod(this,"gradient",topleft,topright,bottomleft,bottomright); \
126
126
  } \
127
127
  void cls::blend(FXColor color){ \
128
- FXRbCallVoidMethod(this,rb_intern("blend"),color); \
128
+ FXRbCallVoidMethod(this,"blend",color); \
129
129
  } \
130
130
  bool cls::savePixels(FXStream& store) const { \
131
- return FXRbCallBoolMethod(this,rb_intern("savePixels"),store); \
131
+ return FXRbCallBoolMethod(this,"savePixels",store); \
132
132
  } \
133
133
  bool cls::loadPixels(FXStream& store){ \
134
- return FXRbCallBoolMethod(this,rb_intern("loadPixels"),store); \
134
+ return FXRbCallBoolMethod(this,"loadPixels",store); \
135
135
  }
136
136
 
137
137
 
@@ -65,37 +65,37 @@ inline FXint klass ## _getHeight(const klass* self,const FXList* list){ \
65
65
 
66
66
  #define IMPLEMENT_FXLISTITEM_STUBS(cls) \
67
67
  void cls::create(){ \
68
- FXRbCallVoidMethod(this,rb_intern("create")); \
68
+ FXRbCallVoidMethod(this,"create"); \
69
69
  } \
70
70
  void cls::detach(){ \
71
- FXRbCallVoidMethod(this,rb_intern("detach")); \
71
+ FXRbCallVoidMethod(this,"detach"); \
72
72
  } \
73
73
  void cls::destroy(){ \
74
- FXRbCallVoidMethod(this,rb_intern("destroy")); \
74
+ FXRbCallVoidMethod(this,"destroy"); \
75
75
  } \
76
76
  void cls::setText(const FXString& txt){ \
77
- FXRbCallVoidMethod(this,rb_intern("setText"),txt); \
77
+ FXRbCallVoidMethod(this,"setText",txt); \
78
78
  } \
79
79
  void cls::setIcon(FXIcon* icn,FXbool owned){ \
80
- FXRbCallVoidMethod(this,rb_intern("setIcon"),icn,owned); \
80
+ FXRbCallVoidMethod(this,"setIcon",icn,owned); \
81
81
  } \
82
82
  void cls::setFocus(FXbool focus){ \
83
- FXRbCallVoidMethod(this,rb_intern("setFocus"),focus); \
83
+ FXRbCallVoidMethod(this,"setFocus",focus); \
84
84
  } \
85
85
  void cls::setSelected(FXbool selected){ \
86
- FXRbCallVoidMethod(this,rb_intern("setSelected"),selected); \
86
+ FXRbCallVoidMethod(this,"setSelected",selected); \
87
87
  } \
88
88
  void cls::setEnabled(FXbool enabled){ \
89
- FXRbCallVoidMethod(this,rb_intern("setEnabled"),enabled); \
89
+ FXRbCallVoidMethod(this,"setEnabled",enabled); \
90
90
  } \
91
91
  void cls::setDraggable(FXbool draggable){ \
92
- FXRbCallVoidMethod(this,rb_intern("setDraggable"),draggable); \
92
+ FXRbCallVoidMethod(this,"setDraggable",draggable); \
93
93
  } \
94
94
  FXint cls::getWidth(const FXList* list) const { \
95
- return FXRbCallIntMethod(this,rb_intern("getWidth"),list); \
95
+ return FXRbCallIntMethod(this,"getWidth",list); \
96
96
  } \
97
97
  FXint cls::getHeight(const FXList* list) const { \
98
- return FXRbCallIntMethod(this,rb_intern("getHeight"),list); \
98
+ return FXRbCallIntMethod(this,"getHeight",list); \
99
99
  }
100
100
 
101
101
 
@@ -160,34 +160,34 @@ inline void klass ## _setCurrentItem(klass* self,FXint index,FXbool notify){ \
160
160
 
161
161
  #define IMPLEMENT_FXLIST_STUBS(cls) \
162
162
  FXbool cls::enableItem(FXint index){ \
163
- return FXRbCallBoolMethod(this,rb_intern("enableItem"),index); \
163
+ return FXRbCallBoolMethod(this,"enableItem",index); \
164
164
  } \
165
165
  FXbool cls::disableItem(FXint index){ \
166
- return FXRbCallBoolMethod(this,rb_intern("disableItem"),index); \
166
+ return FXRbCallBoolMethod(this,"disableItem",index); \
167
167
  } \
168
168
  void cls::makeItemVisible(FXint index) { \
169
- FXRbCallVoidMethod(this,rb_intern("makeItemVisible"),index); \
169
+ FXRbCallVoidMethod(this,"makeItemVisible",index); \
170
170
  } \
171
171
  FXint cls::getItemAt(FXint x,FXint y) const { \
172
- return FXRbCallIntMethod(this,rb_intern("getItemAt"),x,y); \
172
+ return FXRbCallIntMethod(this,"getItemAt",x,y); \
173
173
  } \
174
174
  FXbool cls::selectItem(FXint index,FXbool notify){ \
175
- return FXRbCallBoolMethod(this,rb_intern("selectItem"),index,notify); \
175
+ return FXRbCallBoolMethod(this,"selectItem",index,notify); \
176
176
  } \
177
177
  FXbool cls::deselectItem(FXint index,FXbool notify){ \
178
- return FXRbCallBoolMethod(this,rb_intern("deselectItem"),index,notify); \
178
+ return FXRbCallBoolMethod(this,"deselectItem",index,notify); \
179
179
  } \
180
180
  FXbool cls::toggleItem(FXint index,FXbool notify){ \
181
- return FXRbCallBoolMethod(this,rb_intern("toggleItem"),index,notify); \
181
+ return FXRbCallBoolMethod(this,"toggleItem",index,notify); \
182
182
  } \
183
183
  FXbool cls::extendSelection(FXint index,FXbool notify){ \
184
- return FXRbCallBoolMethod(this,rb_intern("extendSelection"),index,notify); \
184
+ return FXRbCallBoolMethod(this,"extendSelection",index,notify); \
185
185
  } \
186
186
  FXbool cls::killSelection(FXbool notify){ \
187
- return FXRbCallBoolMethod(this,rb_intern("killSelection"),notify); \
187
+ return FXRbCallBoolMethod(this,"killSelection",notify); \
188
188
  } \
189
189
  void cls::setCurrentItem(FXint index,FXbool notify){ \
190
- FXRbCallVoidMethod(this,rb_intern("setCurrentItem"),index,notify); \
190
+ FXRbCallVoidMethod(this,"setCurrentItem",index,notify); \
191
191
  }
192
192
 
193
193
 
@@ -34,7 +34,7 @@ inline void klass ## _setCurrentItem(klass* self,FXint index,FXbool notify){ \
34
34
 
35
35
  #define IMPLEMENT_FXLISTBOX_STUBS(cls) \
36
36
  void cls::setCurrentItem(FXint index,FXbool notify){ \
37
- FXRbCallVoidMethod(this,rb_intern("setCurrentItem"),index,notify); \
37
+ FXRbCallVoidMethod(this,"setCurrentItem",index,notify); \
38
38
  }
39
39
 
40
40
  class FXRbListBox : public FXListBox {
@@ -44,16 +44,16 @@ inline FXbool klass ## _close(klass* self,FXbool notify){ \
44
44
 
45
45
  #define IMPLEMENT_FXMDICHILD_STUBS(cls) \
46
46
  FXbool cls::minimize(FXbool notify){ \
47
- return FXRbCallBoolMethod(this,rb_intern("minimize"),notify); \
47
+ return FXRbCallBoolMethod(this,"minimize",notify); \
48
48
  } \
49
49
  FXbool cls::maximize(FXbool notify){ \
50
- return FXRbCallBoolMethod(this,rb_intern("maximize"),notify); \
50
+ return FXRbCallBoolMethod(this,"maximize",notify); \
51
51
  } \
52
52
  FXbool cls::restore(FXbool notify){ \
53
- return FXRbCallBoolMethod(this,rb_intern("restore"),notify); \
53
+ return FXRbCallBoolMethod(this,"restore",notify); \
54
54
  } \
55
55
  FXbool cls::close(FXbool notify){ \
56
- return FXRbCallBoolMethod(this,rb_intern("close"),notify); \
56
+ return FXRbCallBoolMethod(this,"close",notify); \
57
57
  }
58
58
 
59
59
 
@@ -43,16 +43,16 @@
43
43
 
44
44
  #define IMPLEMENT_FXMDICLIENT_STUBS(cls) \
45
45
  FXbool cls::setActiveChild(FXMDIChild* child,FXbool notify){ \
46
- return FXRbCallBoolMethod(this,rb_intern("setActiveChild"),child,notify); \
46
+ return FXRbCallBoolMethod(this,"setActiveChild",child,notify); \
47
47
  } \
48
48
  void cls::cascade(FXbool notify){ \
49
- FXRbCallVoidMethod(this,rb_intern("cascade"),notify); \
49
+ FXRbCallVoidMethod(this,"cascade",notify); \
50
50
  } \
51
51
  void cls::horizontal(FXbool notify){ \
52
- FXRbCallVoidMethod(this,rb_intern("horizontal"),notify); \
52
+ FXRbCallVoidMethod(this,"horizontal",notify); \
53
53
  } \
54
54
  void cls::vertical(FXbool notify){ \
55
- FXRbCallVoidMethod(this,rb_intern("vertical"),notify); \
55
+ FXRbCallVoidMethod(this,"vertical",notify); \
56
56
  }
57
57
 
58
58
  class FXRbMDIClient : public FXMDIClient {
@@ -38,10 +38,10 @@ inline void cls ## _load(cls* self,FXStream& store){ \
38
38
 
39
39
  #define IMPLEMENT_FXOBJECT_STUBS(cls) \
40
40
  void cls::save(FXStream& store) const { \
41
- FXRbCallVoidMethod(this,rb_intern("save"),store); \
41
+ FXRbCallVoidMethod(this,"save",store); \
42
42
  } \
43
43
  void cls::load(FXStream& store){ \
44
- FXRbCallVoidMethod(this,rb_intern("load"),store); \
44
+ FXRbCallVoidMethod(this,"load",store); \
45
45
  }
46
46
 
47
47
 
@@ -38,10 +38,10 @@ inline void klass ## _popdown(klass* self){ \
38
38
 
39
39
  #define IMPLEMENT_FXPOPUP_STUBS(cls) \
40
40
  void cls::popup(FXWindow* grabto,FXint x,FXint y,FXint w,FXint h){ \
41
- FXRbCallVoidMethod(this,rb_intern("popup"),grabto,x,y,w,h); \
41
+ FXRbCallVoidMethod(this,"popup",grabto,x,y,w,h); \
42
42
  } \
43
43
  void cls::popdown(){ \
44
- FXRbCallVoidMethod(this,rb_intern("popdown")); \
44
+ FXRbCallVoidMethod(this,"popdown"); \
45
45
  }
46
46
 
47
47
 
@@ -35,7 +35,7 @@ inline void klass ## _setValue(klass* self,FXdouble value,FXbool notify){ \
35
35
 
36
36
  #define IMPLEMENT_FXREALSPINNER_STUBS(cls) \
37
37
  void cls::setValue(FXdouble value,FXbool notify){ \
38
- FXRbCallVoidMethod(this,rb_intern("setValue"),value,notify); \
38
+ FXRbCallVoidMethod(this,"setValue",value,notify); \
39
39
  }
40
40
 
41
41
 
@@ -44,16 +44,16 @@ inline FXint klass ## _getViewportHeight(klass* self){ \
44
44
 
45
45
  #define IMPLEMENT_FXSCROLLAREA_STUBS(cls) \
46
46
  FXint cls::getContentWidth(){ \
47
- return FXRbCallIntMethod(this,rb_intern("getContentWidth")); \
47
+ return FXRbCallIntMethod(this,"getContentWidth"); \
48
48
  } \
49
49
  FXint cls::getContentHeight(){ \
50
- return FXRbCallIntMethod(this,rb_intern("getContentHeight")); \
50
+ return FXRbCallIntMethod(this,"getContentHeight"); \
51
51
  } \
52
52
  FXint cls::getViewportWidth(){ \
53
- return FXRbCallIntMethod(this,rb_intern("getViewportWidth")); \
53
+ return FXRbCallIntMethod(this,"getViewportWidth"); \
54
54
  } \
55
55
  FXint cls::getViewportHeight(){ \
56
- return FXRbCallIntMethod(this,rb_intern("getViewportHeight")); \
56
+ return FXRbCallIntMethod(this,"getViewportHeight"); \
57
57
  }
58
58
 
59
59
 
@@ -57,7 +57,7 @@ inline void klass ## _setCurrent(klass* self,FXint panel){ \
57
57
 
58
58
  #define IMPLEMENT_FXSHUTTER_STUBS(cls) \
59
59
  void cls::setCurrent(FXint panel){ \
60
- FXRbCallVoidMethod(this,rb_intern("setCurrent"),panel); \
60
+ FXRbCallVoidMethod(this,"setCurrent",panel); \
61
61
  }
62
62
 
63
63
 
@@ -35,7 +35,7 @@ inline void klass ## _setValue(klass* self,FXint value,FXbool notify){ \
35
35
 
36
36
  #define IMPLEMENT_FXSPINNER_STUBS(cls) \
37
37
  void cls::setValue(FXint value,FXbool notify){ \
38
- FXRbCallVoidMethod(this,rb_intern("setValue"),value,notify); \
38
+ FXRbCallVoidMethod(this,"setValue",value,notify); \
39
39
  }
40
40
 
41
41
 
@@ -41,13 +41,13 @@ inline bool klass ## _position(klass* self,FXlong p,FXWhence whence){ \
41
41
 
42
42
  #define IMPLEMENT_FXSTREAM_STUBS(cls) \
43
43
  bool cls::close(){ \
44
- return FXRbCallBoolMethod(this,rb_intern("close")); \
44
+ return FXRbCallBoolMethod(this,"close"); \
45
45
  } \
46
46
  bool cls::flush(){ \
47
- return FXRbCallBoolMethod(this,rb_intern("flush")); \
47
+ return FXRbCallBoolMethod(this,"flush"); \
48
48
  } \
49
49
  bool cls::position(FXlong p,FXWhence whence){ \
50
- return FXRbCallBoolMethod(this,rb_intern("setPosition"),p,whence); \
50
+ return FXRbCallBoolMethod(this,"setPosition",p,whence); \
51
51
  }
52
52
 
53
53
 
@@ -35,7 +35,7 @@ inline void klass ## _setCurrent(klass* self,FXint panel,FXbool notify){ \
35
35
 
36
36
  #define IMPLEMENT_FXTABBAR_STUBS(cls) \
37
37
  void cls::setCurrent(FXint panel,FXbool notify){ \
38
- FXRbCallVoidMethod(this,rb_intern("setCurrent"),panel,notify); \
38
+ FXRbCallVoidMethod(this,"setCurrent",panel,notify); \
39
39
  }
40
40
 
41
41
 
@@ -109,91 +109,91 @@ inline void klass ## _destroy(klass* self){ \
109
109
 
110
110
  #define IMPLEMENT_FXTABLEITEM_STUBS(klass,superklass) \
111
111
  void klass::draw(const FXTable* table,FXDC& dc,FXint x,FXint y,FXint w,FXint h) const { \
112
- FXRbCallVoidMethod(this,rb_intern("draw"),table,dc,x,y,w,h); \
112
+ FXRbCallVoidMethod(this,"draw",table,dc,x,y,w,h); \
113
113
  } \
114
114
  void klass::public_draw(const FXTable* table,FXDC& dc,FXint x,FXint y,FXint w,FXint h) const { \
115
115
  superklass::draw(table,dc,x,y,w,h); \
116
116
  } \
117
117
  void klass::drawBorders(const FXTable* table,FXDC& dc,FXint x,FXint y,FXint w,FXint h) const { \
118
- FXRbCallVoidMethod(this,rb_intern("drawBorders"),table,dc,x,y,w,h); \
118
+ FXRbCallVoidMethod(this,"drawBorders",table,dc,x,y,w,h); \
119
119
  } \
120
120
  void klass::public_drawBorders(const FXTable* table,FXDC& dc,FXint x,FXint y,FXint w,FXint h) const { \
121
121
  superklass::drawBorders(table,dc,x,y,w,h); \
122
122
  } \
123
123
  void klass::drawContent(const FXTable* table,FXDC& dc,FXint x,FXint y,FXint w,FXint h) const { \
124
- FXRbCallVoidMethod(this,rb_intern("drawContent"),table,dc,x,y,w,h); \
124
+ FXRbCallVoidMethod(this,"drawContent",table,dc,x,y,w,h); \
125
125
  } \
126
126
  void klass::public_drawContent(const FXTable* table,FXDC& dc,FXint x,FXint y,FXint w,FXint h) const { \
127
127
  superklass::drawContent(table,dc,x,y,w,h); \
128
128
  } \
129
129
  void klass::drawPattern(const FXTable* table,FXDC& dc,FXint x,FXint y,FXint w,FXint h) const { \
130
- FXRbCallVoidMethod(this,rb_intern("drawPattern"),table,dc,x,y,w,h); \
130
+ FXRbCallVoidMethod(this,"drawPattern",table,dc,x,y,w,h); \
131
131
  } \
132
132
  void klass::public_drawPattern(const FXTable* table,FXDC& dc,FXint x,FXint y,FXint w,FXint h) const { \
133
133
  superklass::drawPattern(table,dc,x,y,w,h); \
134
134
  } \
135
135
  void klass::drawBackground(const FXTable* table,FXDC& dc,FXint x,FXint y,FXint w,FXint h) const { \
136
- FXRbCallVoidMethod(this,rb_intern("drawBackground"),table,dc,x,y,w,h); \
136
+ FXRbCallVoidMethod(this,"drawBackground",table,dc,x,y,w,h); \
137
137
  } \
138
138
  void klass::public_drawBackground(const FXTable* table,FXDC& dc,FXint x,FXint y,FXint w,FXint h) const { \
139
139
  superklass::drawBackground(table,dc,x,y,w,h); \
140
140
  } \
141
141
  void klass::setText(const FXString& txt){ \
142
- FXRbCallVoidMethod(this,rb_intern("setText"),txt); \
142
+ FXRbCallVoidMethod(this,"setText",txt); \
143
143
  } \
144
144
  FXString klass::getText() const { \
145
- return FXRbCallStringMethod(this,rb_intern("getText")); \
145
+ return FXRbCallStringMethod(this,"getText"); \
146
146
  } \
147
147
  void klass::setIcon(FXIcon* icn,FXbool owned){ \
148
- FXRbCallVoidMethod(this,rb_intern("setIcon"),icn,owned); \
148
+ FXRbCallVoidMethod(this,"setIcon",icn,owned); \
149
149
  } \
150
150
  FXIcon* klass::getIcon() const { \
151
- return FXRbCallIconMethod(this,rb_intern("getIcon")); \
151
+ return FXRbCallIconMethod(this,"getIcon"); \
152
152
  } \
153
153
  void klass::setFocus(FXbool focus){ \
154
- FXRbCallVoidMethod(this,rb_intern("setFocus"),focus); \
154
+ FXRbCallVoidMethod(this,"setFocus",focus); \
155
155
  } \
156
156
  void klass::setSelected(FXbool selected){ \
157
- FXRbCallVoidMethod(this,rb_intern("setSelected"),selected); \
157
+ FXRbCallVoidMethod(this,"setSelected",selected); \
158
158
  } \
159
159
  void klass::setEnabled(FXbool enabled){ \
160
- FXRbCallVoidMethod(this,rb_intern("setEnabled"),enabled); \
160
+ FXRbCallVoidMethod(this,"setEnabled",enabled); \
161
161
  } \
162
162
  void klass::setDraggable(FXbool draggable){ \
163
- FXRbCallVoidMethod(this,rb_intern("setDraggable"),draggable); \
163
+ FXRbCallVoidMethod(this,"setDraggable",draggable); \
164
164
  } \
165
165
  void klass::setJustify(FXuint justify){ \
166
- FXRbCallVoidMethod(this,rb_intern("setJustify"),justify); \
166
+ FXRbCallVoidMethod(this,"setJustify",justify); \
167
167
  } \
168
168
  void klass::setIconPosition(FXuint mode){ \
169
- FXRbCallVoidMethod(this,rb_intern("setIconPosition"),mode); \
169
+ FXRbCallVoidMethod(this,"setIconPosition",mode); \
170
170
  } \
171
171
  void klass::setBorders(FXuint borders){ \
172
- FXRbCallVoidMethod(this,rb_intern("setBorders"),borders); \
172
+ FXRbCallVoidMethod(this,"setBorders",borders); \
173
173
  } \
174
174
  void klass::setStipple(FXStipplePattern pattern){ \
175
- FXRbCallVoidMethod(this,rb_intern("setStipple"),pattern); \
175
+ FXRbCallVoidMethod(this,"setStipple",pattern); \
176
176
  } \
177
177
  FXWindow* klass::getControlFor(FXTable* table){ \
178
- return FXRbCallWindowMethod(this,rb_intern("getControlFor"),table); \
178
+ return FXRbCallWindowMethod(this,"getControlFor",table); \
179
179
  } \
180
180
  void klass::setFromControl(FXWindow* control){ \
181
- FXRbCallVoidMethod(this,rb_intern("setFromControl"),control); \
181
+ FXRbCallVoidMethod(this,"setFromControl",control); \
182
182
  } \
183
183
  FXint klass::getWidth(const FXTable* table) const { \
184
- return FXRbCallIntMethod(this,rb_intern("getWidth"),table); \
184
+ return FXRbCallIntMethod(this,"getWidth",table); \
185
185
  } \
186
186
  FXint klass::getHeight(const FXTable* table) const { \
187
- return FXRbCallIntMethod(this,rb_intern("getHeight"),table); \
187
+ return FXRbCallIntMethod(this,"getHeight",table); \
188
188
  } \
189
189
  void klass::create(){ \
190
- FXRbCallVoidMethod(this,rb_intern("create")); \
190
+ FXRbCallVoidMethod(this,"create"); \
191
191
  } \
192
192
  void klass::detach(){ \
193
- FXRbCallVoidMethod(this,rb_intern("detach")); \
193
+ FXRbCallVoidMethod(this,"detach"); \
194
194
  } \
195
195
  void klass::destroy(){ \
196
- FXRbCallVoidMethod(this,rb_intern("destroy")); \
196
+ FXRbCallVoidMethod(this,"destroy"); \
197
197
  }
198
198
 
199
199
 
@@ -371,109 +371,109 @@ inline FXbool klass ## _disableItem(klass* self,FXint r,FXint c){ \
371
371
 
372
372
  #define IMPLEMENT_FXTABLE_STUBS(klass,superklass) \
373
373
  void klass::drawCell(FXDC& dc,FXint sr,FXint er,FXint sc,FXint ec){ \
374
- FXRbCallVoidMethod(this,rb_intern("drawCell"),dc,sr,er,sc,ec); \
374
+ FXRbCallVoidMethod(this,"drawCell",dc,sr,er,sc,ec); \
375
375
  } \
376
376
  void klass::public_drawCell(FXDC& dc,FXint sr,FXint er,FXint sc,FXint ec){ \
377
377
  superklass::drawCell(dc,sr,er,sc,ec); \
378
378
  } \
379
379
  void klass::drawRange(FXDC& dc,FXint rlo,FXint rhi,FXint clo,FXint chi){ \
380
- FXRbCallVoidMethod(this,rb_intern("drawRange"),dc,rlo,rhi,clo,chi); \
380
+ FXRbCallVoidMethod(this,"drawRange",dc,rlo,rhi,clo,chi); \
381
381
  } \
382
382
  void klass::public_drawRange(FXDC& dc,FXint rlo,FXint rhi,FXint clo,FXint chi){ \
383
383
  superklass::drawRange(dc,rlo,rhi,clo,chi); \
384
384
  } \
385
385
  void klass::drawHGrid(FXDC& dc,FXint rlo,FXint rhi,FXint clo,FXint chi){ \
386
- FXRbCallVoidMethod(this,rb_intern("drawHGrid"),dc,rlo,rhi,clo,chi); \
386
+ FXRbCallVoidMethod(this,"drawHGrid",dc,rlo,rhi,clo,chi); \
387
387
  } \
388
388
  void klass::public_drawHGrid(FXDC& dc,FXint rlo,FXint rhi,FXint clo,FXint chi){ \
389
389
  superklass::drawHGrid(dc,rlo,rhi,clo,chi); \
390
390
  } \
391
391
  void klass::drawVGrid(FXDC& dc,FXint rlo,FXint rhi,FXint clo,FXint chi){ \
392
- FXRbCallVoidMethod(this,rb_intern("drawVGrid"),dc,rlo,rhi,clo,chi); \
392
+ FXRbCallVoidMethod(this,"drawVGrid",dc,rlo,rhi,clo,chi); \
393
393
  } \
394
394
  void klass::public_drawVGrid(FXDC& dc,FXint rlo,FXint rhi,FXint clo,FXint chi){ \
395
395
  superklass::drawVGrid(dc,rlo,rhi,clo,chi); \
396
396
  } \
397
397
  void klass::drawContents(FXDC& dc,FXint x,FXint y,FXint w,FXint h){ \
398
- FXRbCallVoidMethod(this,rb_intern("drawContents"),dc,x,y,w,h); \
398
+ FXRbCallVoidMethod(this,"drawContents",dc,x,y,w,h); \
399
399
  } \
400
400
  void klass::public_drawContents(FXDC& dc,FXint x,FXint y,FXint w,FXint h){ \
401
401
  superklass::drawContents(dc,x,y,w,h); \
402
402
  } \
403
403
  FXTableItem* klass::createItem(const FXString& text,FXIcon* icon,void* ptr){ \
404
- return FXRbCallTableItemMethod(this,rb_intern("createItem"),text,icon,ptr); \
404
+ return FXRbCallTableItemMethod(this,"createItem",text,icon,ptr); \
405
405
  } \
406
406
  FXTableItem* klass::public_createItem(const FXString& text,FXIcon* icon,void* ptr){ \
407
407
  return superklass::createItem(text,icon,ptr); \
408
408
  } \
409
409
  void klass::setTableSize(FXint nr,FXint nc,FXbool notify){ \
410
- FXRbCallVoidMethod(this,rb_intern("setTableSize"),nr,nc,notify); \
410
+ FXRbCallVoidMethod(this,"setTableSize",nr,nc,notify); \
411
411
  } \
412
412
  void klass::insertRows(FXint row,FXint nr,FXbool notify){ \
413
- FXRbCallVoidMethod(this,rb_intern("insertRows"),row,nr,notify); \
413
+ FXRbCallVoidMethod(this,"insertRows",row,nr,notify); \
414
414
  } \
415
415
  void klass::insertColumns(FXint col,FXint nc,FXbool notify){ \
416
- FXRbCallVoidMethod(this,rb_intern("insertColumns"),col,nc,notify); \
416
+ FXRbCallVoidMethod(this,"insertColumns",col,nc,notify); \
417
417
  } \
418
418
  void klass::removeRows(FXint row,FXint nr,FXbool notify){ \
419
- FXRbCallVoidMethod(this,rb_intern("removeRows"),row,nr,notify); \
419
+ FXRbCallVoidMethod(this,"removeRows",row,nr,notify); \
420
420
  } \
421
421
  void klass::removeColumns(FXint col,FXint nc,FXbool notify){ \
422
- FXRbCallVoidMethod(this,rb_intern("removeColumns"),col,nc,notify); \
422
+ FXRbCallVoidMethod(this,"removeColumns",col,nc,notify); \
423
423
  } \
424
424
  FXTableItem* klass::extractItem(FXint row,FXint col,FXbool notify){ \
425
- return FXRbCallTableItemMethod(this,rb_intern("extractItem"),row,col,notify); \
425
+ return FXRbCallTableItemMethod(this,"extractItem",row,col,notify); \
426
426
  } \
427
427
  void klass::removeItem(FXint row,FXint col,FXbool notify){ \
428
- FXRbCallVoidMethod(this,rb_intern("removeItem"),row,col,notify); \
428
+ FXRbCallVoidMethod(this,"removeItem",row,col,notify); \
429
429
  } \
430
430
  void klass::removeRange(FXint startrow,FXint startcol,FXint endrow,FXint endcol,FXbool notify){ \
431
- FXRbCallVoidMethod(this,rb_intern("removeRange"),startrow,startcol,endrow,endcol,notify); \
431
+ FXRbCallVoidMethod(this,"removeRange",startrow,startcol,endrow,endcol,notify); \
432
432
  } \
433
433
  void klass::clearItems(FXbool notify){ \
434
- FXRbCallVoidMethod(this,rb_intern("clearItems"),notify); \
434
+ FXRbCallVoidMethod(this,"clearItems",notify); \
435
435
  } \
436
436
  void klass::setColumnWidth(FXint col,FXint cwidth){ \
437
- FXRbCallVoidMethod(this,rb_intern("setColumnWidth"),col,cwidth); \
437
+ FXRbCallVoidMethod(this,"setColumnWidth",col,cwidth); \
438
438
  } \
439
439
  void klass::setRowHeight(FXint row,FXint rheight){ \
440
- FXRbCallVoidMethod(this,rb_intern("setRowHeight"),row,rheight); \
440
+ FXRbCallVoidMethod(this,"setRowHeight",row,rheight); \
441
441
  } \
442
442
  void klass::setCurrentItem(FXint r,FXint c,FXbool notify){ \
443
- FXRbCallVoidMethod(this,rb_intern("setCurrentItem"),r,c,notify); \
443
+ FXRbCallVoidMethod(this,"setCurrentItem",r,c,notify); \
444
444
  } \
445
445
  FXbool klass::selectRow(FXint row,FXbool notify){ \
446
- return FXRbCallBoolMethod(this,rb_intern("selectRow"),row,notify); \
446
+ return FXRbCallBoolMethod(this,"selectRow",row,notify); \
447
447
  } \
448
448
  FXbool klass::selectColumn(FXint col,FXbool notify){ \
449
- return FXRbCallBoolMethod(this,rb_intern("selectColumn"),col,notify); \
449
+ return FXRbCallBoolMethod(this,"selectColumn",col,notify); \
450
450
  } \
451
451
  FXbool klass::selectRange(FXint sr,FXint er,FXint sc,FXint ec,FXbool notify){ \
452
- return FXRbCallBoolMethod(this,rb_intern("selectRange"),sr,er,sc,ec,notify); \
452
+ return FXRbCallBoolMethod(this,"selectRange",sr,er,sc,ec,notify); \
453
453
  } \
454
454
  FXbool klass::extendSelection(FXint r,FXint c,FXbool notify){ \
455
- return FXRbCallBoolMethod(this,rb_intern("extendSelection"),r,c,notify); \
455
+ return FXRbCallBoolMethod(this,"extendSelection",r,c,notify); \
456
456
  } \
457
457
  FXbool klass::killSelection(FXbool notify){ \
458
- return FXRbCallBoolMethod(this,rb_intern("killSelection"),notify); \
458
+ return FXRbCallBoolMethod(this,"killSelection",notify); \
459
459
  } \
460
460
  void klass::startInput(FXint row,FXint col){ \
461
- FXRbCallVoidMethod(this,rb_intern("startInput"),row,col); \
461
+ FXRbCallVoidMethod(this,"startInput",row,col); \
462
462
  } \
463
463
  void klass::cancelInput(){ \
464
- FXRbCallVoidMethod(this,rb_intern("cancelInput")); \
464
+ FXRbCallVoidMethod(this,"cancelInput"); \
465
465
  } \
466
466
  void klass::acceptInput(FXbool notify){ \
467
- FXRbCallVoidMethod(this,rb_intern("acceptInput"),notify); \
467
+ FXRbCallVoidMethod(this,"acceptInput",notify); \
468
468
  } \
469
469
  void klass::makePositionVisible(FXint r,FXint c){ \
470
- FXRbCallVoidMethod(this,rb_intern("makePositionVisible"),r,c); \
470
+ FXRbCallVoidMethod(this,"makePositionVisible",r,c); \
471
471
  } \
472
472
  FXbool klass::enableItem(FXint r,FXint c){ \
473
- return FXRbCallBoolMethod(this,rb_intern("enableItem"),r,c); \
473
+ return FXRbCallBoolMethod(this,"enableItem",r,c); \
474
474
  } \
475
475
  FXbool klass::disableItem(FXint r,FXint c){ \
476
- return FXRbCallBoolMethod(this,rb_intern("disableItem"),r,c); \
476
+ return FXRbCallBoolMethod(this,"disableItem",r,c); \
477
477
  }
478
478
 
479
479
  class FXRbTable : public FXTable {