fxruby 1.6.28 → 1.6.29

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 (217) hide show
  1. checksums.yaml +7 -7
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/.gitignore +1 -1
  5. data/History.txt +13 -1
  6. data/Manifest.txt +1 -1
  7. data/Rakefile +49 -39
  8. data/examples/RAA.rb +8 -2
  9. data/examples/WhatAQuietStiff.rb +2 -2
  10. data/examples/babelfish.rb +9 -2
  11. data/examples/browser.rb +1 -1
  12. data/examples/button.rb +3 -9
  13. data/examples/canvasdemo.rb +3 -3
  14. data/examples/charts.rb +9 -2
  15. data/examples/dctest.rb +4 -10
  16. data/examples/gembrowser.rb +4 -4
  17. data/examples/gltest.rb +3 -3
  18. data/examples/glviewer.rb +3 -9
  19. data/examples/groupbox.rb +3 -9
  20. data/examples/header.rb +1 -1
  21. data/examples/hello2.rb +1 -1
  22. data/examples/iRAA.rb +7 -1
  23. data/examples/iconlist.rb +3 -9
  24. data/examples/imageviewer.rb +3 -9
  25. data/examples/mditest.rb +1 -1
  26. data/examples/raabrowser.rb +8 -2
  27. data/examples/rmagick.rb +7 -1
  28. data/examples/shutter.rb +3 -9
  29. data/examples/splitter.rb +3 -9
  30. data/examples/table.rb +26 -3
  31. data/examples/textedit/textedit.rb +3 -3
  32. data/ext/fox16_c/FXRbApp.cpp +1 -1
  33. data/ext/fox16_c/FXRuby.cpp +18 -9
  34. data/ext/fox16_c/extconf.rb +252 -11
  35. data/ext/fox16_c/include/FXRbTreeList.h +3 -3
  36. data/ext/fox16_c/include/FXRuby.h +7 -6
  37. data/ext/fox16_c/markfuncs.cpp +3 -22
  38. data/ext/fox16_c/unregisterOwnedObjects.cpp +1 -2
  39. data/lib/fox16.rb +16 -6
  40. data/lib/fox16/core.rb +14 -0
  41. data/lib/fox16/glshapes.rb +1 -0
  42. data/lib/fox16/version.rb +1 -1
  43. data/rdoc-sources/FXBMPIcon.rb +1 -1
  44. data/rdoc-sources/FXImage.rb +8 -2
  45. data/swig-interfaces/FX4Splitter.i +0 -6
  46. data/swig-interfaces/FX7Segment.i +0 -8
  47. data/swig-interfaces/FXAccelTable.i +0 -7
  48. data/swig-interfaces/FXApp.i +15 -23
  49. data/swig-interfaces/FXArrowButton.i +0 -10
  50. data/swig-interfaces/FXBMPIcon.i +0 -2
  51. data/swig-interfaces/FXBMPImage.i +0 -2
  52. data/swig-interfaces/FXBitmap.i +0 -6
  53. data/swig-interfaces/FXButton.i +0 -4
  54. data/swig-interfaces/FXCURCursor.i +0 -2
  55. data/swig-interfaces/FXCanvas.i +0 -2
  56. data/swig-interfaces/FXCheckButton.i +0 -7
  57. data/swig-interfaces/FXChoiceBox.i +0 -8
  58. data/swig-interfaces/FXColorBar.i +0 -8
  59. data/swig-interfaces/FXColorDialog.i +0 -4
  60. data/swig-interfaces/FXColorList.i +0 -9
  61. data/swig-interfaces/FXColorRing.i +0 -40
  62. data/swig-interfaces/FXColorSelector.i +0 -25
  63. data/swig-interfaces/FXColorWell.i +0 -10
  64. data/swig-interfaces/FXColorWheel.i +0 -15
  65. data/swig-interfaces/FXComboBox.i +0 -7
  66. data/swig-interfaces/FXComposeContext.i +0 -5
  67. data/swig-interfaces/FXComposite.i +0 -4
  68. data/swig-interfaces/FXCursor.i +0 -9
  69. data/swig-interfaces/FXDC.i +0 -26
  70. data/swig-interfaces/FXDCPrint.i +0 -19
  71. data/swig-interfaces/FXDataTarget.i +0 -5
  72. data/swig-interfaces/FXDebugTarget.i +0 -4
  73. data/swig-interfaces/FXDelegator.i +0 -2
  74. data/swig-interfaces/FXDial.i +0 -14
  75. data/swig-interfaces/FXDialogBox.i +0 -2
  76. data/swig-interfaces/FXDict.i +0 -27
  77. data/swig-interfaces/FXDirDialog.i +0 -5
  78. data/swig-interfaces/FXDirList.i +0 -31
  79. data/swig-interfaces/FXDirSelector.i +0 -19
  80. data/swig-interfaces/FXDockBar.i +0 -8
  81. data/swig-interfaces/FXDockHandler.i +0 -10
  82. data/swig-interfaces/FXDockSite.i +0 -7
  83. data/swig-interfaces/FXDockTitle.i +0 -6
  84. data/swig-interfaces/FXDragCorner.i +0 -9
  85. data/swig-interfaces/FXDrawable.i +0 -7
  86. data/swig-interfaces/FXFileDialog.i +0 -5
  87. data/swig-interfaces/FXFileDict.i +0 -5
  88. data/swig-interfaces/FXFileList.i +0 -23
  89. data/swig-interfaces/FXFileSelector.i +0 -33
  90. data/swig-interfaces/FXFoldingList.i +6 -19
  91. data/swig-interfaces/FXFont.i +0 -20
  92. data/swig-interfaces/FXFontDialog.i +3 -7
  93. data/swig-interfaces/FXFontSelector.i +3 -29
  94. data/swig-interfaces/FXFrame.i +0 -20
  95. data/swig-interfaces/FXGIFIcon.i +0 -2
  96. data/swig-interfaces/FXGIFImage.i +0 -2
  97. data/swig-interfaces/FXGLCanvas.i +0 -4
  98. data/swig-interfaces/FXGLContext.i +0 -4
  99. data/swig-interfaces/FXGLShape.i +0 -11
  100. data/swig-interfaces/FXGLViewer.i +0 -65
  101. data/swig-interfaces/FXGradientBar.i +8 -9
  102. data/swig-interfaces/FXGroupBox.i +0 -6
  103. data/swig-interfaces/FXHeader.i +0 -24
  104. data/swig-interfaces/FXHorizontalFrame.i +0 -2
  105. data/swig-interfaces/FXICOIcon.i +0 -2
  106. data/swig-interfaces/FXICOImage.i +0 -2
  107. data/swig-interfaces/FXIcon.i +0 -7
  108. data/swig-interfaces/FXIconList.i +0 -51
  109. data/swig-interfaces/FXIconSource.i +0 -4
  110. data/swig-interfaces/FXId.i +0 -4
  111. data/swig-interfaces/FXImage.i +21 -4
  112. data/swig-interfaces/FXImageFrame.i +0 -7
  113. data/swig-interfaces/FXImageView.i +0 -6
  114. data/swig-interfaces/FXInputDialog.i +0 -8
  115. data/swig-interfaces/FXJPGIcon.i +0 -4
  116. data/swig-interfaces/FXJPGImage.i +0 -4
  117. data/swig-interfaces/FXKnob.i +0 -12
  118. data/swig-interfaces/FXLabel.i +0 -16
  119. data/swig-interfaces/FXList.i +0 -33
  120. data/swig-interfaces/FXListBox.i +0 -7
  121. data/swig-interfaces/FXMDIButton.i +0 -12
  122. data/swig-interfaces/FXMDIChild.i +0 -51
  123. data/swig-interfaces/FXMDIClient.i +0 -6
  124. data/swig-interfaces/FXMainWindow.i +0 -2
  125. data/swig-interfaces/FXMat3d.i +0 -2
  126. data/swig-interfaces/FXMat3f.i +0 -2
  127. data/swig-interfaces/FXMat4d.i +0 -2
  128. data/swig-interfaces/FXMat4f.i +0 -2
  129. data/swig-interfaces/FXMatrix.i +0 -4
  130. data/swig-interfaces/FXMemoryStream.i +0 -1
  131. data/swig-interfaces/FXMenuBar.i +0 -2
  132. data/swig-interfaces/FXMenuButton.i +0 -7
  133. data/swig-interfaces/FXMenuCaption.i +0 -15
  134. data/swig-interfaces/FXMenuCascade.i +0 -5
  135. data/swig-interfaces/FXMenuCheck.i +0 -8
  136. data/swig-interfaces/FXMenuCommand.i +0 -5
  137. data/swig-interfaces/FXMenuPane.i +0 -2
  138. data/swig-interfaces/FXMenuRadio.i +0 -8
  139. data/swig-interfaces/FXMenuSeparator.i +0 -5
  140. data/swig-interfaces/FXMenuTitle.i +0 -4
  141. data/swig-interfaces/FXMessageBox.i +13 -10
  142. data/swig-interfaces/FXOptionMenu.i +0 -7
  143. data/swig-interfaces/FXPCXIcon.i +0 -2
  144. data/swig-interfaces/FXPCXImage.i +0 -2
  145. data/swig-interfaces/FXPNGIcon.i +0 -2
  146. data/swig-interfaces/FXPNGImage.i +0 -2
  147. data/swig-interfaces/FXPPMIcon.i +0 -2
  148. data/swig-interfaces/FXPPMImage.i +0 -2
  149. data/swig-interfaces/FXPacker.i +0 -23
  150. data/swig-interfaces/FXPicker.i +0 -2
  151. data/swig-interfaces/FXPopup.i +0 -18
  152. data/swig-interfaces/FXPrintDialog.i +0 -31
  153. data/swig-interfaces/FXProgressBar.i +0 -12
  154. data/swig-interfaces/FXProgressDialog.i +0 -8
  155. data/swig-interfaces/FXRGBIcon.i +0 -2
  156. data/swig-interfaces/FXRGBImage.i +0 -2
  157. data/swig-interfaces/FXRadioButton.i +0 -7
  158. data/swig-interfaces/FXRecentFiles.i +0 -6
  159. data/swig-interfaces/FXRegion.i +0 -2
  160. data/swig-interfaces/FXRegistry.i +0 -12
  161. data/swig-interfaces/FXReplaceDialog.i +0 -15
  162. data/swig-interfaces/FXRootWindow.i +0 -6
  163. data/swig-interfaces/FXRuler.i +0 -45
  164. data/swig-interfaces/FXScrollArea.i +0 -14
  165. data/swig-interfaces/FXScrollBar.i +0 -2
  166. data/swig-interfaces/FXScrollPane.i +0 -10
  167. data/swig-interfaces/FXScrollWindow.i +0 -2
  168. data/swig-interfaces/FXSearchDialog.i +0 -2
  169. data/swig-interfaces/FXSeparator.i +0 -9
  170. data/swig-interfaces/FXSettings.i +0 -11
  171. data/swig-interfaces/FXShell.i +0 -4
  172. data/swig-interfaces/FXShutter.i +0 -14
  173. data/swig-interfaces/FXSlider.i +0 -19
  174. data/swig-interfaces/FXSpinner.i +0 -9
  175. data/swig-interfaces/FXSplashWindow.i +0 -8
  176. data/swig-interfaces/FXSplitter.i +0 -10
  177. data/swig-interfaces/FXSpring.i +0 -8
  178. data/swig-interfaces/FXStatusBar.i +0 -5
  179. data/swig-interfaces/FXStatusLine.i +0 -8
  180. data/swig-interfaces/FXStringDict.i +0 -3
  181. data/swig-interfaces/FXSwitcher.i +0 -4
  182. data/swig-interfaces/FXTGAIcon.i +0 -2
  183. data/swig-interfaces/FXTGAImage.i +0 -2
  184. data/swig-interfaces/FXTIFIcon.i +0 -4
  185. data/swig-interfaces/FXTIFImage.i +0 -4
  186. data/swig-interfaces/FXTabBar.i +0 -5
  187. data/swig-interfaces/FXTabBook.i +0 -2
  188. data/swig-interfaces/FXTabItem.i +0 -2
  189. data/swig-interfaces/FXTable.i +0 -17
  190. data/swig-interfaces/FXToggleButton.i +0 -12
  191. data/swig-interfaces/FXToolBarGrip.i +0 -4
  192. data/swig-interfaces/FXToolBarShell.i +0 -16
  193. data/swig-interfaces/FXToolBarTab.i +0 -13
  194. data/swig-interfaces/FXToolTip.i +0 -10
  195. data/swig-interfaces/FXTopWindow.i +0 -17
  196. data/swig-interfaces/FXTranslator.i +0 -2
  197. data/swig-interfaces/FXTreeList.i +18 -75
  198. data/swig-interfaces/FXTreeListBox.i +18 -38
  199. data/swig-interfaces/FXVerticalFrame.i +0 -2
  200. data/swig-interfaces/FXVisual.i +0 -38
  201. data/swig-interfaces/FXWindow.i +3 -53
  202. data/swig-interfaces/FXWizard.i +0 -17
  203. data/swig-interfaces/FXXBMIcon.i +0 -2
  204. data/swig-interfaces/FXXBMImage.i +0 -2
  205. data/swig-interfaces/FXXPMIcon.i +0 -2
  206. data/swig-interfaces/FXXPMImage.i +0 -2
  207. data/swig-interfaces/fxdefs.i +33 -35
  208. data/swig-interfaces/ruby-typemaps.i +19 -2
  209. data/test/TC_FXBMPImage.rb +13 -0
  210. data/test/TC_FXFileStream.rb +3 -3
  211. data/test/TC_FXImage.rb +40 -2
  212. data/test/TC_FXSize.rb +12 -0
  213. data/test/TC_FXWindow.rb +26 -0
  214. data/test/TC_Misc.rb +2 -0
  215. metadata +164 -158
  216. metadata.gz.sig +0 -0
  217. data/Rakefile.cross +0 -421
@@ -23,8 +23,6 @@
23
23
 
24
24
  /// X Pixmap icon
25
25
  class FXXPMIcon : public FXIcon {
26
- protected:
27
- FXXPMIcon(){}
28
26
  public:
29
27
  %extend {
30
28
  static VALUE fileExt() {
@@ -23,8 +23,6 @@
23
23
 
24
24
  /// X Pixmap image
25
25
  class FXXPMImage : public FXImage {
26
- protected:
27
- FXXPMImage(){}
28
26
  public:
29
27
  %extend {
30
28
  static VALUE fileExt() {
@@ -253,8 +253,20 @@ typedef FXint FXInputHandle;
253
253
 
254
254
 
255
255
  /********************************** Macros ***********************************/
256
+ /// Make int out of two shorts
257
+ %rename(MKUINT) _MKUINT;
256
258
 
257
- %{
259
+ /// Make selector from message type and message id
260
+ %rename(FXSEL) _FXSEL;
261
+
262
+ /// Get type from selector
263
+ %rename(FXSELTYPE) _FXSELTYPE;
264
+
265
+ /// Get ID from selector
266
+ %rename(FXSELID) _FXSELID;
267
+
268
+
269
+ %inline %{
258
270
  static FXuint _MKUINT(FXushort l,FXushort h){
259
271
  return MKUINT(l,h);
260
272
  }
@@ -272,20 +284,29 @@ static FXushort _FXSELID(FXuint s){
272
284
  }
273
285
  %}
274
286
 
275
- /// Make int out of two shorts
276
- %name(MKUINT) FXuint _MKUINT(FXushort l,FXushort h);
287
+ /// Make RGB color
288
+ %rename(FXRGB) _FXRGB;
277
289
 
278
- /// Make selector from message type and message id
279
- %name(FXSEL) FXuint _FXSEL(FXushort type,FXushort id);
290
+ /// Make RGBA color
291
+ %rename(FXRGBA) _FXRGBA;
280
292
 
281
- /// Get type from selector
282
- %name(FXSELTYPE) FXushort _FXSELTYPE(FXuint s);
293
+ /// Get red value from RGBA color
294
+ %rename(FXREDVAL) _FXREDVAL;
283
295
 
284
- /// Get ID from selector
285
- %name(FXSELID) FXushort _FXSELID(FXuint s);
296
+ /// Get green value from RGBA color
297
+ %rename(FXGREENVAL) _FXGREENVAL;
298
+
299
+ /// Get blue value from RGBA color
300
+ %rename(FXBLUEVAL) _FXBLUEVAL;
301
+
302
+ /// Get alpha value from RGBA color
303
+ %rename(FXALPHAVAL) _FXALPHAVAL;
304
+
305
+ /// Get component value of RGBA color
306
+ %rename(FXRGBACOMPVAL) _FXRGBACOMPVAL;
286
307
 
287
308
  // The order in memory is [R G B A] matches that in FXColor
288
- %{
309
+ %inline %{
289
310
  static FXuint _FXRGB(FXuchar r,FXuchar g,FXuchar b){
290
311
  return FXRGB(r,g,b);
291
312
  }
@@ -315,27 +336,6 @@ static FXuchar _FXRGBACOMPVAL(FXuint rgba,FXuchar comp){
315
336
  }
316
337
  %}
317
338
 
318
- /// Make RGB color
319
- %name(FXRGB) FXuint _FXRGB(FXuchar r,FXuchar g,FXuchar b);
320
-
321
- /// Make RGBA color
322
- %name(FXRGBA) FXuint _FXRGBA(FXuchar r,FXuchar g,FXuchar b,FXuchar a);
323
-
324
- /// Get red value from RGBA color
325
- %name(FXREDVAL) FXuchar _FXREDVAL(FXuint rgba);
326
-
327
- /// Get green value from RGBA color
328
- %name(FXGREENVAL) FXuchar _FXGREENVAL(FXuint rgba);
329
-
330
- /// Get blue value from RGBA color
331
- %name(FXBLUEVAL) FXuchar _FXBLUEVAL(FXuint rgba);
332
-
333
- /// Get alpha value from RGBA color
334
- %name(FXALPHAVAL) FXuchar _FXALPHAVAL(FXuint rgba);
335
-
336
- /// Get component value of RGBA color
337
- %name(FXRGBACOMPVAL) FXuchar _FXRGBACOMPVAL(FXuint rgba,FXuchar comp);
338
-
339
339
  /********************************** Globals **********************************/
340
340
 
341
341
 
@@ -404,7 +404,8 @@ VALUE fxparsegeometry(const FXchar *string){
404
404
  /// True if executable with given path is a console application
405
405
  FXbool fxisconsole(const FXchar *path);
406
406
 
407
- %{
407
+ %rename(fxversion) _fxversion;
408
+ %inline %{
408
409
  /// Version number that the library has been compiled with
409
410
  VALUE _fxversion(){
410
411
  FXString version=FXStringFormat("%d.%d.%d",fxversion[0],fxversion[1],fxversion[2]);
@@ -412,8 +413,5 @@ VALUE _fxversion(){
412
413
  }
413
414
  %}
414
415
 
415
- %name(fxversion) VALUE _fxversion();
416
-
417
416
  /// Controls tracing level
418
417
  unsigned int fxTraceLevel;
419
-
@@ -34,6 +34,19 @@
34
34
  FXWindow* owner
35
35
  }
36
36
 
37
+ %typemap(in) FXchar "$1 = NUM2INT($input);";
38
+ %typemap(in) FXuchar "$1 = NUM2UINT($input);";
39
+ %typemap(in) FXshort "$1 = NUM2INT($input);";
40
+ %typemap(in) FXushort "$1 = NUM2UINT($input);";
41
+ %typemap(in) FXint "$1 = NUM2INT($input);";
42
+ %typemap(in) FXuint "$1 = NUM2UINT($input);";
43
+ %typemap(in) FXlong "$1 = NUM2LONG($input);";
44
+ %typemap(in) FXulong "$1 = NUM2ULONG($input);";
45
+
46
+ %typecheck(SWIG_TYPECHECK_INTEGER) FXchar, FXuchar, FXshort, FXushort, FXint, FXuint, FXlong, FXulong {
47
+ $1 = (TYPE($input) == T_FIXNUM || TYPE($input) == T_BIGNUM) ? 1 : 0;
48
+ }
49
+
37
50
  /* Type-checking rules */
38
51
  %typecheck(SWIG_TYPECHECK_STRING) const FXString&, FXuchar *data {
39
52
  $1 = (NIL_P($input) || TYPE($input) == T_STRING) ? 1 : 0;
@@ -127,6 +140,9 @@ inline FXbool to_FXbool(VALUE obj){
127
140
  $1 = NULL;
128
141
  }
129
142
  }
143
+ %typecheck(SWIG_TYPECHECK_VOIDPTR) const void * pix {
144
+ $1 = (NIL_P($input) || TYPE($input) == T_STRING) ? 1 : 0;
145
+ }
130
146
 
131
147
  /**
132
148
  * Used by constructors for icons and images that require an array
@@ -140,9 +156,9 @@ inline FXbool to_FXbool(VALUE obj){
140
156
  if(FXMALLOC(&$1,FXColor,RARRAY_LEN($input))){
141
157
  for(long i=0; i<RARRAY_LEN($input); i++){
142
158
  $1[i]=static_cast<FXColor>(NUM2UINT(rb_ary_entry($input,i)));
143
- }
144
159
  }
145
160
  }
161
+ }
146
162
  }
147
163
 
148
164
  /**
@@ -417,6 +433,7 @@ inline void* to_FXEvent(VALUE obj){
417
433
 
418
434
  /* Output typemap for FXChore instances */
419
435
  %typemap(out) FXChore* "$result = FXRbGetRubyObj($1, \"$1_ltype\");";
436
+ %nodefaultctor FXChore;
420
437
 
421
438
  /* Output typemap for FXComposite instances */
422
439
  %typemap(out) FXComposite * = FXObject *;
@@ -588,6 +605,7 @@ inline void* to_FXEvent(VALUE obj){
588
605
 
589
606
  /* Output typemap for FXTimer instances */
590
607
  %typemap(out) FXTimer* "$result = FXRbGetRubyObj($1, \"$1_ltype\");";
608
+ %nodefaultctor FXTimer;
591
609
 
592
610
  /* Output typemap for FXTreeItem instances */
593
611
  %typemap(out) FXTreeItem * = FXObject *;
@@ -775,4 +793,3 @@ inline void* to_FXEvent(VALUE obj){
775
793
  // FXulong values
776
794
  %typemap(in) FXulong "$1 = static_cast<FXulong>(NUM2ULONG($input));";
777
795
  %typemap(out) FXulong "$result = ULONG2NUM($1);";
778
-
@@ -12,4 +12,17 @@ class TC_FXBMPImage < Fox::TestCase
12
12
  def test_fileExt
13
13
  assert_equal("bmp", FXBMPImage.fileExt)
14
14
  end
15
+
16
+ def test_image_from_pixel_data
17
+ img = FXBMPImage.new app
18
+ img.setPixels "rgbaRGBA", 0, 1, 2
19
+ bmp_data = FXMemoryStream.open(FXStreamSave, nil) do |outfile|
20
+ img.savePixels(outfile)
21
+ outfile.takeBuffer
22
+ end
23
+ assert_not_equal "rgbaRGBA", bmp_data
24
+
25
+ img2 = FXBMPImage.new app, bmp_data
26
+ assert_equal "rgbaRGBA", img2.pixel_string
27
+ end
15
28
  end
@@ -22,7 +22,7 @@ class TC_FXFileStream < Test::Unit::TestCase
22
22
 
23
23
  def test_open_existing_file
24
24
  assert_equal(FXStreamDead, @filestream.direction)
25
- status = @filestream.open("README", FXStreamLoad)
25
+ status = @filestream.open(__FILE__, FXStreamLoad)
26
26
  assert(status)
27
27
  assert_equal(FXStreamLoad, @filestream.direction)
28
28
  status = @filestream.close
@@ -42,14 +42,14 @@ class TC_FXFileStream < Test::Unit::TestCase
42
42
 
43
43
  def test_status
44
44
  assert_equal(FXStreamOK, @filestream.status)
45
- @filestream.open("README", FXStreamLoad)
45
+ @filestream.open(__FILE__, FXStreamLoad)
46
46
  assert_equal(FXStreamOK, @filestream.status)
47
47
  @filestream.close
48
48
  assert_equal(FXStreamOK, @filestream.status)
49
49
  end
50
50
 
51
51
  def test_position
52
- @filestream.open("README", FXStreamLoad)
52
+ @filestream.open(__FILE__, FXStreamLoad)
53
53
  assert_equal(0, @filestream.position)
54
54
  @filestream.position = 500
55
55
  assert_equal(500, @filestream.position)
data/test/TC_FXImage.rb CHANGED
@@ -76,7 +76,7 @@ class TC_FXImage < Fox::TestCase
76
76
  def test_setPixels_string
77
77
  img = FXImage.new(app, nil, 0, 2, 1)
78
78
  img.pixels = "rgbaRGBA"
79
- assert_equal(IMAGE_OWNED, img.options)
79
+ assert_equal(0, img.options)
80
80
  assert_equal("rgbaRGBA", img.pixel_string)
81
81
  end
82
82
 
@@ -101,7 +101,7 @@ class TC_FXImage < Fox::TestCase
101
101
  end
102
102
 
103
103
  def test_create_with_data
104
- img = FXImage.new(app, "rgbaRGBA", 0, 1, 2)
104
+ img = FXImage.new(app, "rgbaRGBA", IMAGE_OWNED, 1, 2)
105
105
  assert_equal("rgbaRGBA", img.pixel_string)
106
106
  img.create
107
107
  assert_nil(img.pixels)
@@ -112,6 +112,44 @@ class TC_FXImage < Fox::TestCase
112
112
  assert_not_nil(img.pixels)
113
113
  end
114
114
 
115
+ def image_with_non_owned_data
116
+ FXImage.new(app, "rgbaRGBA", 0, 1, 2)
117
+ end
118
+
119
+ def test_create_with_non_owned_data
120
+ GC.stress = true
121
+ img = image_with_non_owned_data
122
+ " " * 10000
123
+ GC.stress = false
124
+ assert_equal("rgbaRGBA", img.pixel_string)
125
+ assert_equal(0, img.options)
126
+ img.create
127
+ end
128
+
129
+ def set_non_owned_data(img)
130
+ img.setPixels("rgbaRGBA", 0, 2, 1)
131
+ end
132
+
133
+ def test_set_pixel_with_non_owned_data
134
+ img = FXImage.new(app, nil, 0, 1, 2)
135
+ GC.stress = true
136
+ set_non_owned_data(img)
137
+ " " * 10000
138
+ GC.stress = false
139
+ assert_equal("rgbaRGBA", img.pixel_string)
140
+ assert_equal(0, img.options)
141
+ img.create
142
+ end
143
+
144
+ def test_partial_pixel_string
145
+ img = FXImage.new(app, "rgbaRGBA", IMAGE_OWNED, 1, 2)
146
+ assert_equal("baR", img.pixel_string(2,3))
147
+ assert_equal(nil, img.pixel_string(-2,3))
148
+ assert_equal(nil, img.pixel_string(2,-1))
149
+ assert_equal(nil, img.pixel_string(10,3))
150
+ assert_equal("baRGBA", img.pixel_string(2,10))
151
+ end
152
+
115
153
  #
116
154
  # Restore client-side pixel buffer from image.
117
155
  #
data/test/TC_FXSize.rb CHANGED
@@ -36,6 +36,18 @@ class TC_FXSize < Test::Unit::TestCase
36
36
  assert(size2.w == -(@size2.w) && size2.h == -(@size2.h))
37
37
  end
38
38
 
39
+ def test_float
40
+ @size1.w = 2.8
41
+ @size2.h = 5.8
42
+ assert_equal(2, @size1.w)
43
+ assert_equal(5, @size2.h)
44
+ end
45
+
46
+ def test_invalid_type
47
+ assert_raise(TypeError){ @size1.w = nil }
48
+ assert_raise(TypeError){ @size2.h = true }
49
+ end
50
+
39
51
  def test_add
40
52
  assert_equal(FXSize.new(1, 2) + FXSize.new(3, 4), FXSize.new(4, 6))
41
53
  end
@@ -0,0 +1,26 @@
1
+ require 'test/unit'
2
+ require 'fox16'
3
+ require 'testcase'
4
+
5
+ class TC_FXWindow < Fox::TestCase
6
+ include Fox
7
+
8
+ def setup
9
+ super(self.class.name)
10
+ @window = FXWindow.new(mainWindow)
11
+ end
12
+
13
+ def test_width_accessor
14
+ pos = @window.width
15
+ assert_instance_of(Fixnum, pos)
16
+ @window.width = pos + 1
17
+ assert_equal(pos + 1, @window.width)
18
+ @window.width = pos + 2.7
19
+ assert_equal(pos + 2, @window.width)
20
+ assert_kind_of(Integer, @window.width)
21
+ end
22
+
23
+ def test_width_invalid
24
+ assert_raise(TypeError){ @window.width = nil }
25
+ end
26
+ end
data/test/TC_Misc.rb CHANGED
@@ -44,6 +44,7 @@ class TC_Misc < Test::Unit::TestCase
44
44
 
45
45
  def test_FXREDVAL
46
46
  assert_equal(1, Fox.FXREDVAL(Fox.FXRGB(1, 0, 0)))
47
+ assert_equal(10, Fox.FXREDVAL(Fox.FXRGB(10.6, 0, 0)))
47
48
  end
48
49
 
49
50
  def test_FXGREENVAL
@@ -56,6 +57,7 @@ class TC_Misc < Test::Unit::TestCase
56
57
 
57
58
  def test_FXALPHAVAL
58
59
  assert_equal(1, Fox.FXALPHAVAL(Fox.FXRGBA(0, 0, 0, 1)))
60
+ assert_equal(10, Fox.FXALPHAVAL(Fox.FXRGBA(0, 0, 0, 10.6)))
59
61
  end
60
62
 
61
63
  def test_FXRGBACOMPVAL
metadata CHANGED
@@ -1,81 +1,87 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: fxruby
3
- version: !ruby/object:Gem::Version
4
- version: 1.6.28
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.6.29
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Lyle Johnson
8
8
  - Lars Kanis
9
9
  autorequire:
10
10
  bindir: bin
11
- cert_chain:
11
+ cert_chain:
12
12
  - |
13
13
  -----BEGIN CERTIFICATE-----
14
- MIIDPDCCAiSgAwIBAgIBADANBgkqhkiG9w0BAQUFADBEMQ0wCwYDVQQDDARsYXJz
15
- MR8wHQYKCZImiZPyLGQBGRYPZ3JlaXotcmVpbnNkb3JmMRIwEAYKCZImiZPyLGQB
16
- GRYCZGUwHhcNMTMwMzExMjAyMjIyWhcNMTQwMzExMjAyMjIyWjBEMQ0wCwYDVQQD
17
- DARsYXJzMR8wHQYKCZImiZPyLGQBGRYPZ3JlaXotcmVpbnNkb3JmMRIwEAYKCZIm
18
- iZPyLGQBGRYCZGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZb4Uv
19
- RFJfRu/VEWiy3psh2jinETjiuBrL0NeRFGf8H7iU9+gx/DI/FFhfHGLrDeIskrJx
20
- YIWDMmEjVO10UUdj7wu4ZhmU++0Cd7Kq9/TyP/shIP3IjqHjVLCnJ3P6f1cl5rxZ
21
- gqo+d3BAoDrmPk0rtaf6QopwUw9RBiF8V4HqvpiY+ruJotP5UQDP4/lVOKvA8PI9
22
- P0GmVbFBrbc7Zt5h78N3UyOK0u+nvOC23BvyHXzCtcFsXCoEkt+Wwh0RFqVZdnjM
23
- LMO2vULHKKHDdX54K/sbVCj9pN9h1aotNzrEyo55zxn0G9PHg/G3P8nMvAXPkUTe
24
- brhXrfCwWRvOXA4TAgMBAAGjOTA3MAsGA1UdDwQEAwIEsDAJBgNVHRMEAjAAMB0G
25
- A1UdDgQWBBRAHK81igrXodaDj8a8/BIKsaZrETANBgkqhkiG9w0BAQUFAAOCAQEA
26
- Iswhcol3ytXthaUH3k5LopZ09viZrZHzAw0QleI3Opl/9QEGJ2BPV9+93iC0OrNL
27
- hmnxig6vKK1EeJ5PHXJ8hOI3nTZBrOmQcEXNBqyToP1FHMWZqwZ8wiBPXtiCqDBR
28
- ePQ25J9xFNzQ1ItgzNSpx5cs67QNKrx5woocoBHD6kStFbshZPJx4axl3GbUFQd5
29
- H//3YdPQOH3jaVeUXhS+pz/gfbx8fhFAtsQ+855A3HO7g2ZRIg/atAp/0MFyn5s5
30
- 0rq+VHOIPyvxF5khT0mYAcNmZTC8z1yPsqdgwfYNDjsSWwiIRSPUSmJRvfjM8hsW
31
- mMFp4kPUHbWOqCp2mz9gCA==
14
+ MIIDLjCCAhagAwIBAgIBAjANBgkqhkiG9w0BAQUFADA9MQ4wDAYDVQQDDAVrYW5p
15
+ czEXMBUGCgmSJomT8ixkARkWB2NvbWNhcmQxEjAQBgoJkiaJk/IsZAEZFgJkZTAe
16
+ Fw0xNDAyMjYwOTMzMDBaFw0xNTAyMjYwOTMzMDBaMD0xDjAMBgNVBAMMBWthbmlz
17
+ MRcwFQYKCZImiZPyLGQBGRYHY29tY2FyZDESMBAGCgmSJomT8ixkARkWAmRlMIIB
18
+ IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApop+rNmg35bzRugZ21VMGqI6
19
+ HGzPLO4VHYncWn/xmgPU/ZMcZdfj6MzIaZJ/czXyt4eHpBk1r8QOV3gBXnRXEjVW
20
+ 9xi+EdVOkTV2/AVFKThcbTAQGiF/bT1n2M+B1GTybRzMg6hyhOJeGPqIhLfJEpxn
21
+ lJi4+ENAVT4MpqHEAGB8yFoPC0GqiOHQsdHxQV3P3c2OZqG+yJey74QtwA2tLcLn
22
+ Q53c63+VLGsOjODl1yPn/2ejyq8qWu6ahfTxiIlSar2UbwtaQGBDFdb2CXgEufXT
23
+ L7oaPxlmj+Q2oLOfOnInd2Oxop59HoJCQPsg8f921J43NCQGA8VHK6paxIRDLQID
24
+ AQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUvgTdT7fe
25
+ x17ugO3IOsjEJwW7KP4wDQYJKoZIhvcNAQEFBQADggEBAFmIAhRT0awqLQN9e4Uv
26
+ ZEk+jUWv4zkb+TWiKFJXlwjPyjGbZY9gVfOwAwMibYOK/t/+57ZzW3d0L12OUwvo
27
+ on84NVvYtIr1/iskJFWFkMoIquAFCdi9p68stSPMQK2XcrJJuRot29fJtropsZBa
28
+ 2cpaNd/sRYdK4oep2usdKifA1lI0hIkPb3r5nLfwG2lAqBH7WZsUICHcTgR0VEbG
29
+ z9Ug5qQp9Uz73xC9YdGvGiuOX53LYobHAR4MWi2xxDlHI+ER8mRz0eY2FUuNu/Wj
30
+ GrqF74zpLl7/KFdHC8VmzwZS18hvDjxeLVuVI2gIGnBInqnlqv05g/l4/1pISh5j
31
+ dS4=
32
32
  -----END CERTIFICATE-----
33
-
34
- date: 2013-07-05 00:00:00 Z
35
- dependencies:
36
- - !ruby/object:Gem::Dependency
33
+ date: 2015-02-17 00:00:00.000000000 Z
34
+ dependencies:
35
+ - !ruby/object:Gem::Dependency
37
36
  name: rdoc
38
- prerelease: false
39
- requirement: &id001 !ruby/object:Gem::Requirement
40
- requirements:
41
- - - ~>
42
- - !ruby/object:Gem::Version
43
- version: "4.0"
37
+ requirement: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '4.0'
44
42
  type: :development
45
- version_requirements: *id001
46
- - !ruby/object:Gem::Dependency
47
- name: hoe
48
43
  prerelease: false
49
- requirement: &id002 !ruby/object:Gem::Requirement
50
- requirements:
51
- - - ~>
52
- - !ruby/object:Gem::Version
53
- version: "3.6"
44
+ version_requirements: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '4.0'
49
+ - !ruby/object:Gem::Dependency
50
+ name: hoe
51
+ requirement: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '3.13'
54
56
  type: :development
55
- version_requirements: *id002
57
+ prerelease: false
58
+ version_requirements: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '3.13'
56
63
  description: FXRuby is the Ruby binding to the FOX GUI toolkit.
57
- email:
64
+ email:
58
65
  - lyle@lylejohnson.name
59
66
  - kanis@comcard.de
60
67
  executables: []
61
-
62
- extensions:
68
+ extensions:
63
69
  - ext/fox16_c/extconf.rb
64
- extra_rdoc_files:
70
+ extra_rdoc_files:
65
71
  - History.txt
66
72
  - Manifest.txt
67
73
  - README.rdoc
68
74
  - rdoc-sources/README.rdoc
69
- files:
70
- - .gemtest
71
- - .gitignore
72
- - .yardopts
75
+ files:
76
+ - ".gemtest"
77
+ - ".gitignore"
78
+ - ".yardopts"
73
79
  - History.txt
74
80
  - Manifest.txt
75
81
  - README.rdoc
76
82
  - Rakefile
77
- - Rakefile.cross
78
83
  - TODO
84
+ - doap.rdf
79
85
  - doap.rdf.erb
80
86
  - examples/RAA.rb
81
87
  - examples/README
@@ -204,7 +210,15 @@ files:
204
210
  - ext/fox16_c/FXRbGLViewer.cpp
205
211
  - ext/fox16_c/FXRuby.cpp
206
212
  - ext/fox16_c/MANIFEST
213
+ - ext/fox16_c/core_wrap.cpp
214
+ - ext/fox16_c/dc_wrap.cpp
215
+ - ext/fox16_c/dialogs_wrap.cpp
207
216
  - ext/fox16_c/extconf.rb
217
+ - ext/fox16_c/frames_wrap.cpp
218
+ - ext/fox16_c/fx3d_wrap.cpp
219
+ - ext/fox16_c/iconlist_wrap.cpp
220
+ - ext/fox16_c/icons_wrap.cpp
221
+ - ext/fox16_c/image_wrap.cpp
208
222
  - ext/fox16_c/impl.cpp
209
223
  - ext/fox16_c/include/FXMemoryBuffer.h
210
224
  - ext/fox16_c/include/FXRb4Splitter.h
@@ -428,8 +442,20 @@ files:
428
442
  - ext/fox16_c/include/FXRbXPMImage.h
429
443
  - ext/fox16_c/include/FXRuby.h
430
444
  - ext/fox16_c/include/impl.h
445
+ - ext/fox16_c/include/inlinestubs.h
446
+ - ext/fox16_c/label_wrap.cpp
447
+ - ext/fox16_c/layout_wrap.cpp
448
+ - ext/fox16_c/list_wrap.cpp
431
449
  - ext/fox16_c/make_impl.rb
432
450
  - ext/fox16_c/markfuncs.cpp
451
+ - ext/fox16_c/mdi_wrap.cpp
452
+ - ext/fox16_c/menu_wrap.cpp
453
+ - ext/fox16_c/scintilla_wrap.cpp
454
+ - ext/fox16_c/swigruby.h
455
+ - ext/fox16_c/table_wrap.cpp
456
+ - ext/fox16_c/text_wrap.cpp
457
+ - ext/fox16_c/treelist_wrap.cpp
458
+ - ext/fox16_c/ui_wrap.cpp
433
459
  - ext/fox16_c/unregisterOwnedObjects.cpp
434
460
  - index.html
435
461
  - lib/fox16.rb
@@ -450,6 +476,7 @@ files:
450
476
  - lib/fox16/irb.rb
451
477
  - lib/fox16/iterators.rb
452
478
  - lib/fox16/keys.rb
479
+ - lib/fox16/kwargs.rb
453
480
  - lib/fox16/missingdep.rb
454
481
  - lib/fox16/pseudokeyboard.rb
455
482
  - lib/fox16/pseudomouse.rb
@@ -965,6 +992,7 @@ files:
965
992
  - test/TC_FXVec3f.rb
966
993
  - test/TC_FXVec4f.rb
967
994
  - test/TC_FXViewport.rb
995
+ - test/TC_FXWindow.rb
968
996
  - test/TC_FXXBMIcon.rb
969
997
  - test/TC_FXXBMImage.rb
970
998
  - test/TC_FXXPMIcon.rb
@@ -978,133 +1006,111 @@ files:
978
1006
  - test/stress2.rb
979
1007
  - test/stress3.rb
980
1008
  - test/testcase.rb
981
- - ext/fox16_c/label_wrap.cpp
982
- - ext/fox16_c/core_wrap.cpp
983
- - ext/fox16_c/image_wrap.cpp
984
- - ext/fox16_c/fx3d_wrap.cpp
985
- - ext/fox16_c/dialogs_wrap.cpp
986
- - ext/fox16_c/scintilla_wrap.cpp
987
- - ext/fox16_c/list_wrap.cpp
988
- - ext/fox16_c/dc_wrap.cpp
989
- - ext/fox16_c/mdi_wrap.cpp
990
- - ext/fox16_c/menu_wrap.cpp
991
- - ext/fox16_c/treelist_wrap.cpp
992
- - ext/fox16_c/text_wrap.cpp
993
- - ext/fox16_c/table_wrap.cpp
994
- - ext/fox16_c/layout_wrap.cpp
995
- - ext/fox16_c/frames_wrap.cpp
996
- - ext/fox16_c/ui_wrap.cpp
997
- - ext/fox16_c/icons_wrap.cpp
998
- - ext/fox16_c/iconlist_wrap.cpp
999
- - ext/fox16_c/include/inlinestubs.h
1000
- - ext/fox16_c/librb.c
1001
- - doap.rdf
1002
- - lib/fox16/kwargs.rb
1003
1009
  homepage: http://github.com/larskanis/fxruby
1004
- licenses: []
1005
-
1010
+ licenses:
1011
+ - MIT
1006
1012
  metadata: {}
1007
-
1008
1013
  post_install_message:
1009
- rdoc_options:
1010
- - --main
1014
+ rdoc_options:
1015
+ - "--main"
1011
1016
  - rdoc-sources/README.rdoc
1012
- - --exclude
1017
+ - "--exclude"
1013
1018
  - ext/fox16_c
1014
- - --exclude
1015
- - /aliases|kwargs|missingdep|responder/
1016
- require_paths:
1019
+ - "--exclude"
1020
+ - "/aliases|kwargs|missingdep|responder/"
1021
+ require_paths:
1017
1022
  - lib
1018
- required_ruby_version: !ruby/object:Gem::Requirement
1019
- requirements:
1020
- - &id003
1021
- - ">="
1022
- - !ruby/object:Gem::Version
1023
- version: "0"
1024
- required_rubygems_version: !ruby/object:Gem::Requirement
1025
- requirements:
1026
- - *id003
1023
+ required_ruby_version: !ruby/object:Gem::Requirement
1024
+ requirements:
1025
+ - - ">="
1026
+ - !ruby/object:Gem::Version
1027
+ version: '0'
1028
+ required_rubygems_version: !ruby/object:Gem::Requirement
1029
+ requirements:
1030
+ - - ">="
1031
+ - !ruby/object:Gem::Version
1032
+ version: '0'
1027
1033
  requirements: []
1028
-
1029
- rubyforge_project: fxruby
1030
- rubygems_version: 2.0.3
1034
+ rubyforge_project:
1035
+ rubygems_version: 2.4.5
1031
1036
  signing_key:
1032
1037
  specification_version: 4
1033
1038
  summary: FXRuby is the Ruby binding to the FOX GUI toolkit.
1034
- test_files:
1035
- - test/TC_FXMenuRadio.rb
1036
- - test/TC_FXLight.rb
1037
- - test/TC_FXMainWindow.rb
1038
- - test/TC_FXFont.rb
1039
- - test/TC_FXMenuCheck.rb
1039
+ test_files:
1040
+ - test/TC_FXWindow.rb
1041
+ - test/TC_FXArc.rb
1042
+ - test/TC_FXViewport.rb
1043
+ - test/TC_FXText.rb
1040
1044
  - test/TC_FXAccelTable.rb
1041
- - test/TC_FXHiliteStyle.rb
1042
1045
  - test/TC_FXTreeListBox.rb
1046
+ - test/TC_FXMainWindow.rb
1047
+ - test/TC_FXDirList.rb
1048
+ - test/TC_FXVec3f.rb
1049
+ - test/TC_FXBMPImage.rb
1050
+ - test/TC_FXXPMImage.rb
1051
+ - test/TC_FXRegion.rb
1052
+ - test/TC_FXButton.rb
1053
+ - test/TC_FXGLViewer.rb
1054
+ - test/TC_FXRanged.rb
1055
+ - test/TC_FXRegistry.rb
1056
+ - test/TC_FXMat4f.rb
1057
+ - test/TC_FXListBox.rb
1058
+ - test/TC_FXTopWindow.rb
1059
+ - test/TC_FXTableItem.rb
1060
+ - test/TC_FXFileStream.rb
1043
1061
  - test/TC_FXComboBox.rb
1044
- - test/TC_FXVec2f.rb
1045
- - test/TC_FXDialogBox.rb
1046
- - test/TC_FXStream.rb
1047
- - test/TC_FXVec3d.rb
1048
- - test/TC_Misc.rb
1049
- - test/TC_FXIconList.rb
1050
- - test/TC_FXMemoryStream.rb
1051
- - test/TC_FXExtentd.rb
1052
- - test/TC_downcast.rb
1053
- - test/TC_FXList.rb
1054
- - test/TC_FXShell.rb
1062
+ - test/TC_FXApp.rb
1063
+ - test/TC_FXTable.rb
1055
1064
  - test/TC_FXRadioButton.rb
1056
- - test/TC_FXDCPrint.rb
1057
- - test/TC_FXTableItem.rb
1058
- - test/TC_FXIconDict.rb
1059
- - test/TC_FXXBMImage.rb
1060
1065
  - test/TC_FXVec4f.rb
1066
+ - test/TC_FXExtentd.rb
1067
+ - test/TC_FXMenuCommand.rb
1068
+ - test/TC_FXPoint.rb
1069
+ - test/TC_FXFontDesc.rb
1070
+ - test/TC_FXTreeList.rb
1071
+ - test/TC_FXIconList.rb
1072
+ - test/TC_FXGLShape.rb
1061
1073
  - test/TC_FXId.rb
1062
- - test/TC_FXQuatf.rb
1063
- - test/TC_FXTable.rb
1064
- - test/TC_FXSize.rb
1065
- - test/TC_FXVec3f.rb
1066
- - test/TC_FXViewport.rb
1074
+ - test/TC_FXVec2f.rb
1075
+ - test/TC_FXXBMIcon.rb
1076
+ - test/TC_FXLight.rb
1077
+ - test/TC_FXMaterial.rb
1078
+ - test/TC_FXSegment.rb
1079
+ - test/TC_FXMemoryStream.rb
1080
+ - test/TC_FXScrollWindow.rb
1081
+ - test/TC_FXImage.rb
1067
1082
  - test/TC_FXUndoList.rb
1068
- - test/TC_FXText.rb
1069
- - test/TC_FXMessageBox.rb
1070
- - test/TC_FXScrollArea.rb
1071
- - test/TC_FXTreeList.rb
1072
- - test/TC_FXVec2d.rb
1083
+ - test/TC_FXXBMImage.rb
1084
+ - test/TC_FXSize.rb
1085
+ - test/TC_FXDC.rb
1086
+ - test/TC_FXIconDict.rb
1073
1087
  - test/TC_FXSettings.rb
1088
+ - test/TC_FXBMPIcon.rb
1089
+ - test/TC_FXFileAssoc.rb
1090
+ - test/TC_Misc.rb
1091
+ - test/TC_FXList.rb
1092
+ - test/TC_FXDataTarget.rb
1093
+ - test/TC_FXXPMIcon.rb
1094
+ - test/TC_FXRangef.rb
1095
+ - test/TC_FXHeader.rb
1074
1096
  - test/TC_FXRectangle.rb
1097
+ - test/TC_FXMessageBox.rb
1098
+ - test/TC_downcast.rb
1099
+ - test/TC_FXDialogBox.rb
1100
+ - test/TC_FXStream.rb
1101
+ - test/TC_FXQuatf.rb
1102
+ - test/TC_FXVec3d.rb
1103
+ - test/TC_FXHiliteStyle.rb
1104
+ - test/TC_FXExtentf.rb
1105
+ - test/TC_FXShell.rb
1106
+ - test/TC_FXMenuCheck.rb
1075
1107
  - test/TC_FXGradientBar.rb
1076
- - test/TC_FXMaterial.rb
1077
- - test/TC_FXImage.rb
1078
- - test/TC_FXScrollWindow.rb
1079
- - test/TC_FXFileStream.rb
1080
- - test/TC_FXFoldingList.rb
1081
- - test/TC_FXTopWindow.rb
1082
- - test/TC_FXXBMIcon.rb
1083
- - test/TC_FXMenuCommand.rb
1084
- - test/TC_FXRegion.rb
1085
- - test/TC_FXRanged.rb
1086
- - test/TC_FXListBox.rb
1108
+ - test/TC_FXMenuRadio.rb
1087
1109
  - test/TC_FXDCWindow.rb
1088
- - test/TC_FXSegment.rb
1089
- - test/TC_FXArc.rb
1090
- - test/TC_FXMat4f.rb
1110
+ - test/TC_FXScrollArea.rb
1111
+ - test/TC_FXFont.rb
1112
+ - test/TC_FXDCPrint.rb
1113
+ - test/TC_FXFoldingList.rb
1091
1114
  - test/TC_FXCheckButton.rb
1092
- - test/TC_FXPoint.rb
1093
- - test/TC_FXRegistry.rb
1094
- - test/TC_FXDC.rb
1095
- - test/TC_FXButton.rb
1096
- - test/TC_FXFileAssoc.rb
1097
1115
  - test/TC_FXGLGroup.rb
1098
- - test/TC_FXBMPImage.rb
1099
- - test/TC_FXDirList.rb
1100
- - test/TC_FXBMPIcon.rb
1101
- - test/TC_FXGLViewer.rb
1102
- - test/TC_FXExtentf.rb
1103
- - test/TC_FXHeader.rb
1104
- - test/TC_FXGLShape.rb
1105
- - test/TC_FXXPMIcon.rb
1106
- - test/TC_FXFontDesc.rb
1107
- - test/TC_FXRangef.rb
1108
- - test/TC_FXXPMImage.rb
1109
- - test/TC_FXApp.rb
1110
- - test/TC_FXDataTarget.rb
1116
+ - test/TC_FXVec2d.rb