fxruby 1.6.28-x86-mingw32 → 1.6.29-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (231) 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/1.8/fox16_c.so +0 -0
  40. data/lib/1.9/fox16_c.so +0 -0
  41. data/lib/2.0/fox16_c.so +0 -0
  42. data/lib/2.1/fox16_c.so +0 -0
  43. data/lib/2.2/fox16_c.so +0 -0
  44. data/lib/fox16.rb +16 -6
  45. data/lib/fox16/core.rb +14 -0
  46. data/lib/fox16/glshapes.rb +1 -0
  47. data/lib/fox16/version.rb +1 -1
  48. data/lib/x86-mingw32/libFOX-1.6-0.dll +0 -0
  49. data/lib/x86-mingw32/libfxscintilla-20.dll +0 -0
  50. data/lib/x86-mingw32/libgcc_s_sjlj-1.dll +0 -0
  51. data/lib/x86-mingw32/libjpeg-8.dll +0 -0
  52. data/lib/x86-mingw32/libpng15-15.dll +0 -0
  53. data/lib/x86-mingw32/libstdc++-6.dll +0 -0
  54. data/lib/x86-mingw32/libtiff-5.dll +0 -0
  55. data/lib/x86-mingw32/libwinpthread-1.dll +0 -0
  56. data/lib/x86-mingw32/zlib1.dll +0 -0
  57. data/rdoc-sources/FXBMPIcon.rb +1 -1
  58. data/rdoc-sources/FXImage.rb +8 -2
  59. data/swig-interfaces/FX4Splitter.i +0 -6
  60. data/swig-interfaces/FX7Segment.i +0 -8
  61. data/swig-interfaces/FXAccelTable.i +0 -7
  62. data/swig-interfaces/FXApp.i +15 -23
  63. data/swig-interfaces/FXArrowButton.i +0 -10
  64. data/swig-interfaces/FXBMPIcon.i +0 -2
  65. data/swig-interfaces/FXBMPImage.i +0 -2
  66. data/swig-interfaces/FXBitmap.i +0 -6
  67. data/swig-interfaces/FXButton.i +0 -4
  68. data/swig-interfaces/FXCURCursor.i +0 -2
  69. data/swig-interfaces/FXCanvas.i +0 -2
  70. data/swig-interfaces/FXCheckButton.i +0 -7
  71. data/swig-interfaces/FXChoiceBox.i +0 -8
  72. data/swig-interfaces/FXColorBar.i +0 -8
  73. data/swig-interfaces/FXColorDialog.i +0 -4
  74. data/swig-interfaces/FXColorList.i +0 -9
  75. data/swig-interfaces/FXColorRing.i +0 -40
  76. data/swig-interfaces/FXColorSelector.i +0 -25
  77. data/swig-interfaces/FXColorWell.i +0 -10
  78. data/swig-interfaces/FXColorWheel.i +0 -15
  79. data/swig-interfaces/FXComboBox.i +0 -7
  80. data/swig-interfaces/FXComposeContext.i +0 -5
  81. data/swig-interfaces/FXComposite.i +0 -4
  82. data/swig-interfaces/FXCursor.i +0 -9
  83. data/swig-interfaces/FXDC.i +0 -26
  84. data/swig-interfaces/FXDCPrint.i +0 -19
  85. data/swig-interfaces/FXDataTarget.i +0 -5
  86. data/swig-interfaces/FXDebugTarget.i +0 -4
  87. data/swig-interfaces/FXDelegator.i +0 -2
  88. data/swig-interfaces/FXDial.i +0 -14
  89. data/swig-interfaces/FXDialogBox.i +0 -2
  90. data/swig-interfaces/FXDict.i +0 -27
  91. data/swig-interfaces/FXDirDialog.i +0 -5
  92. data/swig-interfaces/FXDirList.i +0 -31
  93. data/swig-interfaces/FXDirSelector.i +0 -19
  94. data/swig-interfaces/FXDockBar.i +0 -8
  95. data/swig-interfaces/FXDockHandler.i +0 -10
  96. data/swig-interfaces/FXDockSite.i +0 -7
  97. data/swig-interfaces/FXDockTitle.i +0 -6
  98. data/swig-interfaces/FXDragCorner.i +0 -9
  99. data/swig-interfaces/FXDrawable.i +0 -7
  100. data/swig-interfaces/FXFileDialog.i +0 -5
  101. data/swig-interfaces/FXFileDict.i +0 -5
  102. data/swig-interfaces/FXFileList.i +0 -23
  103. data/swig-interfaces/FXFileSelector.i +0 -33
  104. data/swig-interfaces/FXFoldingList.i +6 -19
  105. data/swig-interfaces/FXFont.i +0 -20
  106. data/swig-interfaces/FXFontDialog.i +3 -7
  107. data/swig-interfaces/FXFontSelector.i +3 -29
  108. data/swig-interfaces/FXFrame.i +0 -20
  109. data/swig-interfaces/FXGIFIcon.i +0 -2
  110. data/swig-interfaces/FXGIFImage.i +0 -2
  111. data/swig-interfaces/FXGLCanvas.i +0 -4
  112. data/swig-interfaces/FXGLContext.i +0 -4
  113. data/swig-interfaces/FXGLShape.i +0 -11
  114. data/swig-interfaces/FXGLViewer.i +0 -65
  115. data/swig-interfaces/FXGradientBar.i +8 -9
  116. data/swig-interfaces/FXGroupBox.i +0 -6
  117. data/swig-interfaces/FXHeader.i +0 -24
  118. data/swig-interfaces/FXHorizontalFrame.i +0 -2
  119. data/swig-interfaces/FXICOIcon.i +0 -2
  120. data/swig-interfaces/FXICOImage.i +0 -2
  121. data/swig-interfaces/FXIcon.i +0 -7
  122. data/swig-interfaces/FXIconList.i +0 -51
  123. data/swig-interfaces/FXIconSource.i +0 -4
  124. data/swig-interfaces/FXId.i +0 -4
  125. data/swig-interfaces/FXImage.i +21 -4
  126. data/swig-interfaces/FXImageFrame.i +0 -7
  127. data/swig-interfaces/FXImageView.i +0 -6
  128. data/swig-interfaces/FXInputDialog.i +0 -8
  129. data/swig-interfaces/FXJPGIcon.i +0 -4
  130. data/swig-interfaces/FXJPGImage.i +0 -4
  131. data/swig-interfaces/FXKnob.i +0 -12
  132. data/swig-interfaces/FXLabel.i +0 -16
  133. data/swig-interfaces/FXList.i +0 -33
  134. data/swig-interfaces/FXListBox.i +0 -7
  135. data/swig-interfaces/FXMDIButton.i +0 -12
  136. data/swig-interfaces/FXMDIChild.i +0 -51
  137. data/swig-interfaces/FXMDIClient.i +0 -6
  138. data/swig-interfaces/FXMainWindow.i +0 -2
  139. data/swig-interfaces/FXMat3d.i +0 -2
  140. data/swig-interfaces/FXMat3f.i +0 -2
  141. data/swig-interfaces/FXMat4d.i +0 -2
  142. data/swig-interfaces/FXMat4f.i +0 -2
  143. data/swig-interfaces/FXMatrix.i +0 -4
  144. data/swig-interfaces/FXMemoryStream.i +0 -1
  145. data/swig-interfaces/FXMenuBar.i +0 -2
  146. data/swig-interfaces/FXMenuButton.i +0 -7
  147. data/swig-interfaces/FXMenuCaption.i +0 -15
  148. data/swig-interfaces/FXMenuCascade.i +0 -5
  149. data/swig-interfaces/FXMenuCheck.i +0 -8
  150. data/swig-interfaces/FXMenuCommand.i +0 -5
  151. data/swig-interfaces/FXMenuPane.i +0 -2
  152. data/swig-interfaces/FXMenuRadio.i +0 -8
  153. data/swig-interfaces/FXMenuSeparator.i +0 -5
  154. data/swig-interfaces/FXMenuTitle.i +0 -4
  155. data/swig-interfaces/FXMessageBox.i +13 -10
  156. data/swig-interfaces/FXOptionMenu.i +0 -7
  157. data/swig-interfaces/FXPCXIcon.i +0 -2
  158. data/swig-interfaces/FXPCXImage.i +0 -2
  159. data/swig-interfaces/FXPNGIcon.i +0 -2
  160. data/swig-interfaces/FXPNGImage.i +0 -2
  161. data/swig-interfaces/FXPPMIcon.i +0 -2
  162. data/swig-interfaces/FXPPMImage.i +0 -2
  163. data/swig-interfaces/FXPacker.i +0 -23
  164. data/swig-interfaces/FXPicker.i +0 -2
  165. data/swig-interfaces/FXPopup.i +0 -18
  166. data/swig-interfaces/FXPrintDialog.i +0 -31
  167. data/swig-interfaces/FXProgressBar.i +0 -12
  168. data/swig-interfaces/FXProgressDialog.i +0 -8
  169. data/swig-interfaces/FXRGBIcon.i +0 -2
  170. data/swig-interfaces/FXRGBImage.i +0 -2
  171. data/swig-interfaces/FXRadioButton.i +0 -7
  172. data/swig-interfaces/FXRecentFiles.i +0 -6
  173. data/swig-interfaces/FXRegion.i +0 -2
  174. data/swig-interfaces/FXRegistry.i +0 -12
  175. data/swig-interfaces/FXReplaceDialog.i +0 -15
  176. data/swig-interfaces/FXRootWindow.i +0 -6
  177. data/swig-interfaces/FXRuler.i +0 -45
  178. data/swig-interfaces/FXScrollArea.i +0 -14
  179. data/swig-interfaces/FXScrollBar.i +0 -2
  180. data/swig-interfaces/FXScrollPane.i +0 -10
  181. data/swig-interfaces/FXScrollWindow.i +0 -2
  182. data/swig-interfaces/FXSearchDialog.i +0 -2
  183. data/swig-interfaces/FXSeparator.i +0 -9
  184. data/swig-interfaces/FXSettings.i +0 -11
  185. data/swig-interfaces/FXShell.i +0 -4
  186. data/swig-interfaces/FXShutter.i +0 -14
  187. data/swig-interfaces/FXSlider.i +0 -19
  188. data/swig-interfaces/FXSpinner.i +0 -9
  189. data/swig-interfaces/FXSplashWindow.i +0 -8
  190. data/swig-interfaces/FXSplitter.i +0 -10
  191. data/swig-interfaces/FXSpring.i +0 -8
  192. data/swig-interfaces/FXStatusBar.i +0 -5
  193. data/swig-interfaces/FXStatusLine.i +0 -8
  194. data/swig-interfaces/FXStringDict.i +0 -3
  195. data/swig-interfaces/FXSwitcher.i +0 -4
  196. data/swig-interfaces/FXTGAIcon.i +0 -2
  197. data/swig-interfaces/FXTGAImage.i +0 -2
  198. data/swig-interfaces/FXTIFIcon.i +0 -4
  199. data/swig-interfaces/FXTIFImage.i +0 -4
  200. data/swig-interfaces/FXTabBar.i +0 -5
  201. data/swig-interfaces/FXTabBook.i +0 -2
  202. data/swig-interfaces/FXTabItem.i +0 -2
  203. data/swig-interfaces/FXTable.i +0 -17
  204. data/swig-interfaces/FXToggleButton.i +0 -12
  205. data/swig-interfaces/FXToolBarGrip.i +0 -4
  206. data/swig-interfaces/FXToolBarShell.i +0 -16
  207. data/swig-interfaces/FXToolBarTab.i +0 -13
  208. data/swig-interfaces/FXToolTip.i +0 -10
  209. data/swig-interfaces/FXTopWindow.i +0 -17
  210. data/swig-interfaces/FXTranslator.i +0 -2
  211. data/swig-interfaces/FXTreeList.i +18 -75
  212. data/swig-interfaces/FXTreeListBox.i +18 -38
  213. data/swig-interfaces/FXVerticalFrame.i +0 -2
  214. data/swig-interfaces/FXVisual.i +0 -38
  215. data/swig-interfaces/FXWindow.i +3 -53
  216. data/swig-interfaces/FXWizard.i +0 -17
  217. data/swig-interfaces/FXXBMIcon.i +0 -2
  218. data/swig-interfaces/FXXBMImage.i +0 -2
  219. data/swig-interfaces/FXXPMIcon.i +0 -2
  220. data/swig-interfaces/FXXPMImage.i +0 -2
  221. data/swig-interfaces/fxdefs.i +33 -35
  222. data/swig-interfaces/ruby-typemaps.i +19 -2
  223. data/test/TC_FXBMPImage.rb +13 -0
  224. data/test/TC_FXFileStream.rb +3 -3
  225. data/test/TC_FXImage.rb +40 -2
  226. data/test/TC_FXSize.rb +12 -0
  227. data/test/TC_FXWindow.rb +26 -0
  228. data/test/TC_Misc.rb +2 -0
  229. metadata +177 -161
  230. metadata.gz.sig +0 -0
  231. data/Rakefile.cross +0 -421
@@ -23,8 +23,6 @@
23
23
 
24
24
  /// CUR Cursor class
25
25
  class FXCURCursor : public FXCursor {
26
- protected:
27
- FXCURCursor(){}
28
26
  public:
29
27
  %extend {
30
28
  static VALUE fileExt() {
@@ -23,8 +23,6 @@
23
23
 
24
24
  /// Canvas, an area drawn by another object
25
25
  class FXCanvas : public FXWindow {
26
- protected:
27
- FXCanvas();
28
26
  public:
29
27
  long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
30
28
  public:
@@ -31,13 +31,6 @@ enum {
31
31
 
32
32
  /// Check button
33
33
  class FXCheckButton : public FXLabel {
34
- protected:
35
- FXColor checkColor; // Color of check mark
36
- FXColor boxColor; // Color of check box
37
- FXbool check; // Check state
38
- FXbool oldcheck; // Old check state
39
- protected:
40
- FXCheckButton();
41
34
  public:
42
35
  long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
43
36
  long onUpdate(FXObject*,FXSelector,void* PTR_NULL);
@@ -29,14 +29,6 @@
29
29
  * while a -1 is returned if the dialog was canceled,
30
30
  */
31
31
  class FXChoiceBox : public FXDialogBox {
32
- protected:
33
- FXList *list;
34
- protected:
35
- FXChoiceBox(){}
36
- private:
37
- FXChoiceBox(const FXChoiceBox&);
38
- FXChoiceBox &operator=(const FXChoiceBox&);
39
- void initialize(const FXString& text,FXIcon* icon);
40
32
  public:
41
33
  long onCmdClicked(FXObject*,FXSelector,void* PTR_IGNORE);
42
34
  long onCmdCancel(FXObject*,FXSelector,void* PTR_IGNORE);
@@ -35,14 +35,6 @@ class FXImage;
35
35
  * color by means of the hue, saturation, value specification system.
36
36
  */
37
37
  class FXColorBar : public FXFrame {
38
- protected:
39
- FXImage *bar; // Intensity bar
40
- FXfloat hsv[3]; // Hue, saturation, value
41
- FXString tip; // Tooltip value
42
- FXString help; // Help value
43
- protected:
44
- FXColorBar();
45
- void updatebar();
46
38
  public:
47
39
  long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
48
40
  long onLeftBtnPress(FXObject*,FXSelector,void* PTR_EVENT);
@@ -33,10 +33,6 @@ class FXColorSelector;
33
33
  * automatically saved into the registry for future use.
34
34
  */
35
35
  class FXColorDialog : public FXDialogBox {
36
- protected:
37
- FXColorSelector *colorbox;
38
- protected:
39
- FXColorDialog(){}
40
36
  public:
41
37
  long onChgColor(FXObject*,FXSelector,void* PTR_COLOR);
42
38
  long onCmdColor(FXObject*,FXSelector,void* PTR_COLOR);
@@ -25,12 +25,6 @@
25
25
 
26
26
  /// Color item
27
27
  class FXColorItem : public FXListItem {
28
- protected:
29
- FXColor color;
30
- protected:
31
- FXColorItem();
32
- virtual void draw(const FXList* list,FXDC& dc,FXint x,FXint y,FXint w,FXint h);
33
- virtual FXint hitItem(const FXList* list,FXint x,FXint y) const;
34
28
  public:
35
29
  %extend {
36
30
  /// Construct new item with given text, color, and user-data
@@ -56,9 +50,6 @@ DECLARE_FXLISTITEM_VIRTUALS(FXColorItem)
56
50
  * A ColorList Widget displays a list of colors.
57
51
  */
58
52
  class FXColorList : public FXList {
59
- protected:
60
- FXColorList();
61
- virtual FXListItem *createItem(const FXString& text,FXIcon* icon,void* ptr);
62
53
  public:
63
54
  %extend {
64
55
  /// Construct a list with initially no items in it
@@ -42,46 +42,6 @@
42
42
  * the brightness goes from black to a bright color.
43
43
  */
44
44
  class FXColorRing : public FXFrame {
45
- protected:
46
- FXImage *dial; // HSV dial image
47
- FXfloat hsv[3]; // Hue, saturation, value
48
- FXint ringwidth; // Width of hue ring
49
- FXint ringouter; // Outer radius
50
- FXint ringinner; // Inner radius
51
- FXint dialx; // Dial x location
52
- FXint dialy; // Dial y location
53
- FXint satvalx; // Saturation value x
54
- FXint satvaly; // Saturation value y
55
- FXint huex; // Hue x
56
- FXint huey; // Hue y
57
- FXint clrx; // Color corner of triangle
58
- FXint clry;
59
- FXint blkx; // Black corner of triangle
60
- FXint blky;
61
- FXint whtx; // White corner of triangle
62
- FXint whty;
63
- FXString tip; // Tooltip value
64
- FXString help; // Help value
65
- FXuchar mode; // Mode widget is in
66
- protected:
67
- FXColorRing();
68
- void updatering();
69
- FXfloat hueFromXY(FXint x,FXint y) const;
70
- void hueToXY(FXint& x,FXint& y,FXfloat hue) const;
71
- void satValToXY(FXint& x,FXint& y,FXfloat s,FXfloat v) const;
72
- void satValFromXY(FXfloat& s,FXfloat& v,FXint x,FXint y) const;
73
- FXbool inCorner(FXint x,FXint y) const;
74
- FXbool inHueRing(FXint x,FXint y) const;
75
- FXbool inTriangle(FXint x,FXint y) const;
76
- protected:
77
- enum {
78
- MOUSE_NONE, // No mouse operation
79
- MOUSE_HUE, // Moving in hue-ring
80
- MOUSE_SATVAL // Moving in saturation/value triangle
81
- };
82
- private:
83
- FXColorRing(const FXColorRing&);
84
- FXColorRing &operator=(const FXColorRing&);
85
45
  public:
86
46
  long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
87
47
  long onLeftBtnPress(FXObject*,FXSelector,void* PTR_EVENT);
@@ -34,31 +34,6 @@ class FXLabel;
34
34
 
35
35
  /// Color selection widget
36
36
  class FXColorSelector : public FXPacker {
37
- protected:
38
- FXTabBook *panels; // Color panes
39
- FXColorWell *well; // Main well
40
- FXColorList *list; // List of color names
41
- FXColorRing *wheel; // Color ring
42
- FXSlider *rgbaslider[4]; // RGBA sliders
43
- FXTextField *rgbatext[4]; // RGBA text fields
44
- FXSlider *hsvaslider[4]; // HSVA sliders
45
- FXTextField *hsvatext[4]; // HSVA text fields
46
- FXSlider *cmyslider[4]; // CMY sliders
47
- FXTextField *cmytext[4]; // CMY text fields
48
- FXColorWell *colorwells[24]; // Custom color wells
49
- FXIcon *eyedropicon; // Icon for eye dropper
50
- FXIcon *dialmodeicon; // Icon for dial mode
51
- FXIcon *rgbmodeicon; // Icon for RGB mode
52
- FXIcon *hsvmodeicon; // Icon for HSV mode
53
- FXIcon *cmymodeicon; // Icon for CMY mode
54
- FXIcon *txtmodeicon; // Icon for TEXT mode
55
- FXButton *accept; // Accept button
56
- FXButton *cancel; // Cancel button
57
- FXfloat rgba[4]; // Accurate RGBA color
58
- FXfloat hsva[4]; // Accurate HSVA color
59
- protected:
60
- FXColorSelector(){}
61
- void updateWell();
62
37
  public:
63
38
  long onCmdWell(FXObject*,FXSelector,void* PTR_IGNORE);
64
39
  long onChgWell(FXObject*,FXSelector,void* PTR_COLOR);
@@ -38,16 +38,6 @@ enum {
38
38
  * you can highlight the word `red' and paste it into a color well.
39
39
  */
40
40
  class FXColorWell : public FXFrame {
41
- protected:
42
- FXColor wellColor[2]; // Pixel value of RGBA over black and white
43
- FXColor rgba; // Color with RGB and Alpha
44
- FXColor oldrgba; // Old color
45
- FXString tip; // Tooltip value
46
- FXString help; // Help value
47
- protected:
48
- FXColorWell();
49
- static FXColor rgbaoverblack(FXColor clr);
50
- static FXColor rgbaoverwhite(FXColor clr);
51
41
  public:
52
42
  long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
53
43
  long onLeftBtnPress(FXObject*,FXSelector,void* PTR_EVENT);
@@ -28,21 +28,6 @@ class FXImage;
28
28
  * of the hue, saturation, value color specification system.
29
29
  */
30
30
  class FXColorWheel : public FXFrame {
31
- protected:
32
- FXImage *dial; // HSV dial image
33
- FXfloat hsv[3]; // Hue, saturation, value
34
- FXint dialx; // Dial x location
35
- FXint dialy; // Dial Y location
36
- FXint spotx; // Spot x location
37
- FXint spoty; // Spot Y location
38
- FXString tip; // Tooltip value
39
- FXString help; // Help value
40
- protected:
41
- FXColorWheel();
42
- void updatedial();
43
- void movespot(FXint x,FXint y);
44
- FXbool hstoxy(FXint& x,FXint& y,FXfloat h,FXfloat s) const;
45
- FXbool xytohs(FXfloat& h,FXfloat& s,FXint x,FXint y) const;
46
31
  public:
47
32
  long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
48
33
  long onLeftBtnPress(FXObject*,FXSelector,void* PTR_EVENT);
@@ -72,13 +72,6 @@ class FXPopup;
72
72
  * the value of the field.
73
73
  */
74
74
  class FXComboBox : public FXPacker {
75
- protected:
76
- FXTextField *field;
77
- FXMenuButton *button;
78
- FXList *list;
79
- FXPopup *pane;
80
- protected:
81
- FXComboBox(){}
82
75
  public:
83
76
  long onFocusUp(FXObject*,FXSelector,void* PTR_EVENT);
84
77
  long onFocusDown(FXObject*,FXSelector,void* PTR_EVENT);
@@ -28,11 +28,6 @@
28
28
  * if input method support is enabled.
29
29
  */
30
30
  class FXComposeContext : public FXId {
31
- protected:
32
- FXWindow *window; // Window we belong to
33
- FXSelector message; // Message to send it
34
- protected:
35
- FXComposeContext();
36
31
  public:
37
32
 
38
33
  %extend {
@@ -23,10 +23,6 @@
23
23
 
24
24
  /// Base composite
25
25
  class FXComposite : public FXWindow {
26
- protected:
27
- FXComposite(){}
28
- FXComposite(FXApp* a,FXVisual *vis);
29
- FXComposite(FXApp* a,FXWindow* own,FXuint opts,FXint x,FXint y,FXint w,FXint h);
30
26
  public:
31
27
  long onKeyPress(FXObject*,FXSelector,void* PTR_EVENT);
32
28
  long onKeyRelease(FXObject*,FXSelector,void* PTR_EVENT);
@@ -42,15 +42,6 @@ enum {
42
42
 
43
43
  /// Cursor class
44
44
  class FXCursor : public FXId {
45
- protected:
46
- FXColor *data; // Source data
47
- FXint width; // Width
48
- FXint height; // Height
49
- FXint hotx; // Hot spot x
50
- FXint hoty; // Hot spot y
51
- FXuint options; // Options
52
- protected:
53
- FXCursor();
54
45
  public:
55
46
  %extend {
56
47
  /// Make stock cursor
@@ -164,32 +164,6 @@ class FXDrawable;
164
164
  * application regardless of the actual device surface being utilized.
165
165
  */
166
166
  class FXDC {
167
- private:
168
- FXApp *app; // Application
169
- protected:
170
- void *ctx; // Context handle
171
- FXFont *font; // Drawing font
172
- FXStipplePattern pattern; // Stipple pattern
173
- FXBitmap *stipple; // Stipple bitmap
174
- FXImage *tile; // Tile image
175
- FXBitmap *mask; // Mask bitmap
176
- FXRectangle clip; // Clip rectangle
177
- FXColor fg; // Foreground color
178
- FXColor bg; // Background color
179
- FXuint width; // Line width
180
- FXCapStyle cap; // Line cap style
181
- FXJoinStyle join; // Line join style
182
- FXLineStyle style; // Line style
183
- FXFillStyle fill; // Fill style
184
- FXFillRule rule; // Fill rule
185
- FXFunction rop; // RasterOp
186
- FXchar dashpat[32]; // Line dash pattern data
187
- FXuint dashlen; // Line dash pattern length
188
- FXuint dashoff; // Line dash pattern offset
189
- FXint tx; // Tile dx
190
- FXint ty; // Tile dy
191
- FXint cx; // Clip x
192
- FXint cy; // Clip y
193
167
  public:
194
168
  %extend {
195
169
  /// Construct dummy DC
@@ -91,25 +91,6 @@ struct FXPrinter {
91
91
 
92
92
  /// Postscript Printer Device Context
93
93
  class FXDCPrint : public FXDC {
94
- protected:
95
- void *psout; // File Stream for PS output
96
- FXFont *font;
97
- FXuint flags;
98
- FXint Xr,Yr;
99
- FXdouble mediawidth; // Media width
100
- FXdouble mediaheight; // Media height
101
- FXPSBounds mediabb; // Media bounding box
102
- FXPSBounds docbb; // Document bounding box
103
- FXPSBounds pagebb; // Page bounding box
104
- FXint pagecount; // Number of pages printed
105
- FXint nchars; // Number of characters on a line
106
- FXint pxmin; // min X coord in content
107
- FXint pymin; // min Y coord in content
108
- FXint pxmax; // max X coord in content
109
- FXint pymax; // max Y coord in content
110
- protected:
111
- void bbox(FXfloat x,FXfloat y);
112
- void tfm(FXfloat& xo,FXfloat& yo,FXfloat xi,FXfloat yi);
113
94
  public:
114
95
  %extend {
115
96
  /// Construct
@@ -34,11 +34,6 @@
34
34
  * by subtracting ID_OPTION from the message ID.
35
35
  */
36
36
  class FXDataTarget : public FXObject {
37
- protected:
38
- FXObject *target; // Target object
39
- void *data; // Associated data
40
- FXSelector message; // Message ID
41
- FXuint type; // Type of data
42
37
  public:
43
38
  long onCmdValue(FXObject*,FXSelector,void* PTR_IGNORE);
44
39
  long onUpdValue(FXObject*,FXSelector,void* PTR_IGNORE);
@@ -27,10 +27,6 @@
27
27
  * whose messages you want to see,
28
28
  */
29
29
  class FXDebugTarget : public FXObject {
30
- protected:
31
- FXObject *lastsender;
32
- FXSelector lastsel;
33
- FXuint count;
34
30
  public:
35
31
  #ifdef SWIGRUBY
36
32
  %extend {
@@ -31,8 +31,6 @@
31
31
  * new target.
32
32
  */
33
33
  class FXDelegator : public FXObject {
34
- protected:
35
- FXObject *delegate;
36
34
  public:
37
35
  %extend {
38
36
  /// Construct a delegator
@@ -32,20 +32,6 @@ enum {
32
32
 
33
33
  /// Dial
34
34
  class FXDial : public FXFrame {
35
- protected:
36
- FXint range[2]; // Reported data range
37
- FXColor notchColor; // Main notch color
38
- FXint notchangle; // Angle of main notch
39
- FXint notchspacing; // Angle between notches
40
- FXint notchoffset; // Notch offset
41
- FXint dragpoint; // Place where clicked
42
- FXint dragpos; // Value where clicked
43
- FXint incr; // Rate of change/revolution
44
- FXint pos; // Reported data position
45
- FXString help; // Help string
46
- FXString tip; // Tip string
47
- protected:
48
- FXDial(){}
49
35
  public:
50
36
  long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
51
37
  long onMotion(FXObject*,FXSelector,void* PTR_EVENT);
@@ -27,8 +27,6 @@
27
27
  * To close the DialogBox when not running modally, simply send it ID_HIDE.
28
28
  */
29
29
  class FXDialogBox : public FXTopWindow {
30
- protected:
31
- FXDialogBox(){}
32
30
  public:
33
31
  long onKeyPress(FXObject*,FXSelector,void* PTR_EVENT);
34
32
  long onKeyRelease(FXObject*,FXSelector,void* PTR_EVENT);
@@ -37,33 +37,6 @@
37
37
  * be indexed by strings.
38
38
  */
39
39
  class FXDict : public FXObject {
40
- protected:
41
- struct FXDictEntry {
42
- FXchar *key; // Key string
43
- void *data; // Data
44
- FXint hash; // Hash value of key
45
- bool mark; // Entry is marked
46
- };
47
- protected:
48
- FXDictEntry *dict; // Dictionary
49
- FXint total; // Dictionary size
50
- FXint number; // Number of entries
51
- protected:
52
-
53
- /**
54
- * Overload this function in a derived class to return the
55
- * data pointer given an input pointer; the default implementation
56
- * just returns the input pointer.
57
- */
58
- virtual void *createData(const void*);
59
-
60
- /**
61
- * Overload this function in a derived class to delete the pointer
62
- * previously returned by createData(); the default implementation
63
- * does nothing.
64
- */
65
- virtual void deleteData(void*);
66
-
67
40
  public:
68
41
  %extend {
69
42
  /**