fxruby 1.6.28-x64-mingw32 → 1.6.29-x64-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 (229) hide show
  1. checksums.yaml +7 -7
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +3 -2
  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/2.0/fox16_c.so +0 -0
  40. data/lib/2.1/fox16_c.so +0 -0
  41. data/lib/2.2/fox16_c.so +0 -0
  42. data/lib/fox16.rb +16 -6
  43. data/lib/fox16/core.rb +14 -0
  44. data/lib/fox16/glshapes.rb +1 -0
  45. data/lib/fox16/version.rb +1 -1
  46. data/lib/x64-mingw32/libFOX-1.6-0.dll +0 -0
  47. data/lib/x64-mingw32/libfxscintilla-20.dll +0 -0
  48. data/lib/x64-mingw32/libgcc_s_sjlj-1.dll +0 -0
  49. data/lib/x64-mingw32/libjpeg-8.dll +0 -0
  50. data/lib/x64-mingw32/libpng15-15.dll +0 -0
  51. data/lib/x64-mingw32/libstdc++-6.dll +0 -0
  52. data/lib/x64-mingw32/libtiff-5.dll +0 -0
  53. data/lib/x64-mingw32/libwinpthread-1.dll +0 -0
  54. data/lib/x64-mingw32/zlib1.dll +0 -0
  55. data/rdoc-sources/FXBMPIcon.rb +1 -1
  56. data/rdoc-sources/FXImage.rb +8 -2
  57. data/swig-interfaces/FX4Splitter.i +0 -6
  58. data/swig-interfaces/FX7Segment.i +0 -8
  59. data/swig-interfaces/FXAccelTable.i +0 -7
  60. data/swig-interfaces/FXApp.i +15 -23
  61. data/swig-interfaces/FXArrowButton.i +0 -10
  62. data/swig-interfaces/FXBMPIcon.i +0 -2
  63. data/swig-interfaces/FXBMPImage.i +0 -2
  64. data/swig-interfaces/FXBitmap.i +0 -6
  65. data/swig-interfaces/FXButton.i +0 -4
  66. data/swig-interfaces/FXCURCursor.i +0 -2
  67. data/swig-interfaces/FXCanvas.i +0 -2
  68. data/swig-interfaces/FXCheckButton.i +0 -7
  69. data/swig-interfaces/FXChoiceBox.i +0 -8
  70. data/swig-interfaces/FXColorBar.i +0 -8
  71. data/swig-interfaces/FXColorDialog.i +0 -4
  72. data/swig-interfaces/FXColorList.i +0 -9
  73. data/swig-interfaces/FXColorRing.i +0 -40
  74. data/swig-interfaces/FXColorSelector.i +0 -25
  75. data/swig-interfaces/FXColorWell.i +0 -10
  76. data/swig-interfaces/FXColorWheel.i +0 -15
  77. data/swig-interfaces/FXComboBox.i +0 -7
  78. data/swig-interfaces/FXComposeContext.i +0 -5
  79. data/swig-interfaces/FXComposite.i +0 -4
  80. data/swig-interfaces/FXCursor.i +0 -9
  81. data/swig-interfaces/FXDC.i +0 -26
  82. data/swig-interfaces/FXDCPrint.i +0 -19
  83. data/swig-interfaces/FXDataTarget.i +0 -5
  84. data/swig-interfaces/FXDebugTarget.i +0 -4
  85. data/swig-interfaces/FXDelegator.i +0 -2
  86. data/swig-interfaces/FXDial.i +0 -14
  87. data/swig-interfaces/FXDialogBox.i +0 -2
  88. data/swig-interfaces/FXDict.i +0 -27
  89. data/swig-interfaces/FXDirDialog.i +0 -5
  90. data/swig-interfaces/FXDirList.i +0 -31
  91. data/swig-interfaces/FXDirSelector.i +0 -19
  92. data/swig-interfaces/FXDockBar.i +0 -8
  93. data/swig-interfaces/FXDockHandler.i +0 -10
  94. data/swig-interfaces/FXDockSite.i +0 -7
  95. data/swig-interfaces/FXDockTitle.i +0 -6
  96. data/swig-interfaces/FXDragCorner.i +0 -9
  97. data/swig-interfaces/FXDrawable.i +0 -7
  98. data/swig-interfaces/FXFileDialog.i +0 -5
  99. data/swig-interfaces/FXFileDict.i +0 -5
  100. data/swig-interfaces/FXFileList.i +0 -23
  101. data/swig-interfaces/FXFileSelector.i +0 -33
  102. data/swig-interfaces/FXFoldingList.i +6 -19
  103. data/swig-interfaces/FXFont.i +0 -20
  104. data/swig-interfaces/FXFontDialog.i +3 -7
  105. data/swig-interfaces/FXFontSelector.i +3 -29
  106. data/swig-interfaces/FXFrame.i +0 -20
  107. data/swig-interfaces/FXGIFIcon.i +0 -2
  108. data/swig-interfaces/FXGIFImage.i +0 -2
  109. data/swig-interfaces/FXGLCanvas.i +0 -4
  110. data/swig-interfaces/FXGLContext.i +0 -4
  111. data/swig-interfaces/FXGLShape.i +0 -11
  112. data/swig-interfaces/FXGLViewer.i +0 -65
  113. data/swig-interfaces/FXGradientBar.i +8 -9
  114. data/swig-interfaces/FXGroupBox.i +0 -6
  115. data/swig-interfaces/FXHeader.i +0 -24
  116. data/swig-interfaces/FXHorizontalFrame.i +0 -2
  117. data/swig-interfaces/FXICOIcon.i +0 -2
  118. data/swig-interfaces/FXICOImage.i +0 -2
  119. data/swig-interfaces/FXIcon.i +0 -7
  120. data/swig-interfaces/FXIconList.i +0 -51
  121. data/swig-interfaces/FXIconSource.i +0 -4
  122. data/swig-interfaces/FXId.i +0 -4
  123. data/swig-interfaces/FXImage.i +21 -4
  124. data/swig-interfaces/FXImageFrame.i +0 -7
  125. data/swig-interfaces/FXImageView.i +0 -6
  126. data/swig-interfaces/FXInputDialog.i +0 -8
  127. data/swig-interfaces/FXJPGIcon.i +0 -4
  128. data/swig-interfaces/FXJPGImage.i +0 -4
  129. data/swig-interfaces/FXKnob.i +0 -12
  130. data/swig-interfaces/FXLabel.i +0 -16
  131. data/swig-interfaces/FXList.i +0 -33
  132. data/swig-interfaces/FXListBox.i +0 -7
  133. data/swig-interfaces/FXMDIButton.i +0 -12
  134. data/swig-interfaces/FXMDIChild.i +0 -51
  135. data/swig-interfaces/FXMDIClient.i +0 -6
  136. data/swig-interfaces/FXMainWindow.i +0 -2
  137. data/swig-interfaces/FXMat3d.i +0 -2
  138. data/swig-interfaces/FXMat3f.i +0 -2
  139. data/swig-interfaces/FXMat4d.i +0 -2
  140. data/swig-interfaces/FXMat4f.i +0 -2
  141. data/swig-interfaces/FXMatrix.i +0 -4
  142. data/swig-interfaces/FXMemoryStream.i +0 -1
  143. data/swig-interfaces/FXMenuBar.i +0 -2
  144. data/swig-interfaces/FXMenuButton.i +0 -7
  145. data/swig-interfaces/FXMenuCaption.i +0 -15
  146. data/swig-interfaces/FXMenuCascade.i +0 -5
  147. data/swig-interfaces/FXMenuCheck.i +0 -8
  148. data/swig-interfaces/FXMenuCommand.i +0 -5
  149. data/swig-interfaces/FXMenuPane.i +0 -2
  150. data/swig-interfaces/FXMenuRadio.i +0 -8
  151. data/swig-interfaces/FXMenuSeparator.i +0 -5
  152. data/swig-interfaces/FXMenuTitle.i +0 -4
  153. data/swig-interfaces/FXMessageBox.i +13 -10
  154. data/swig-interfaces/FXOptionMenu.i +0 -7
  155. data/swig-interfaces/FXPCXIcon.i +0 -2
  156. data/swig-interfaces/FXPCXImage.i +0 -2
  157. data/swig-interfaces/FXPNGIcon.i +0 -2
  158. data/swig-interfaces/FXPNGImage.i +0 -2
  159. data/swig-interfaces/FXPPMIcon.i +0 -2
  160. data/swig-interfaces/FXPPMImage.i +0 -2
  161. data/swig-interfaces/FXPacker.i +0 -23
  162. data/swig-interfaces/FXPicker.i +0 -2
  163. data/swig-interfaces/FXPopup.i +0 -18
  164. data/swig-interfaces/FXPrintDialog.i +0 -31
  165. data/swig-interfaces/FXProgressBar.i +0 -12
  166. data/swig-interfaces/FXProgressDialog.i +0 -8
  167. data/swig-interfaces/FXRGBIcon.i +0 -2
  168. data/swig-interfaces/FXRGBImage.i +0 -2
  169. data/swig-interfaces/FXRadioButton.i +0 -7
  170. data/swig-interfaces/FXRecentFiles.i +0 -6
  171. data/swig-interfaces/FXRegion.i +0 -2
  172. data/swig-interfaces/FXRegistry.i +0 -12
  173. data/swig-interfaces/FXReplaceDialog.i +0 -15
  174. data/swig-interfaces/FXRootWindow.i +0 -6
  175. data/swig-interfaces/FXRuler.i +0 -45
  176. data/swig-interfaces/FXScrollArea.i +0 -14
  177. data/swig-interfaces/FXScrollBar.i +0 -2
  178. data/swig-interfaces/FXScrollPane.i +0 -10
  179. data/swig-interfaces/FXScrollWindow.i +0 -2
  180. data/swig-interfaces/FXSearchDialog.i +0 -2
  181. data/swig-interfaces/FXSeparator.i +0 -9
  182. data/swig-interfaces/FXSettings.i +0 -11
  183. data/swig-interfaces/FXShell.i +0 -4
  184. data/swig-interfaces/FXShutter.i +0 -14
  185. data/swig-interfaces/FXSlider.i +0 -19
  186. data/swig-interfaces/FXSpinner.i +0 -9
  187. data/swig-interfaces/FXSplashWindow.i +0 -8
  188. data/swig-interfaces/FXSplitter.i +0 -10
  189. data/swig-interfaces/FXSpring.i +0 -8
  190. data/swig-interfaces/FXStatusBar.i +0 -5
  191. data/swig-interfaces/FXStatusLine.i +0 -8
  192. data/swig-interfaces/FXStringDict.i +0 -3
  193. data/swig-interfaces/FXSwitcher.i +0 -4
  194. data/swig-interfaces/FXTGAIcon.i +0 -2
  195. data/swig-interfaces/FXTGAImage.i +0 -2
  196. data/swig-interfaces/FXTIFIcon.i +0 -4
  197. data/swig-interfaces/FXTIFImage.i +0 -4
  198. data/swig-interfaces/FXTabBar.i +0 -5
  199. data/swig-interfaces/FXTabBook.i +0 -2
  200. data/swig-interfaces/FXTabItem.i +0 -2
  201. data/swig-interfaces/FXTable.i +0 -17
  202. data/swig-interfaces/FXToggleButton.i +0 -12
  203. data/swig-interfaces/FXToolBarGrip.i +0 -4
  204. data/swig-interfaces/FXToolBarShell.i +0 -16
  205. data/swig-interfaces/FXToolBarTab.i +0 -13
  206. data/swig-interfaces/FXToolTip.i +0 -10
  207. data/swig-interfaces/FXTopWindow.i +0 -17
  208. data/swig-interfaces/FXTranslator.i +0 -2
  209. data/swig-interfaces/FXTreeList.i +18 -75
  210. data/swig-interfaces/FXTreeListBox.i +18 -38
  211. data/swig-interfaces/FXVerticalFrame.i +0 -2
  212. data/swig-interfaces/FXVisual.i +0 -38
  213. data/swig-interfaces/FXWindow.i +3 -53
  214. data/swig-interfaces/FXWizard.i +0 -17
  215. data/swig-interfaces/FXXBMIcon.i +0 -2
  216. data/swig-interfaces/FXXBMImage.i +0 -2
  217. data/swig-interfaces/FXXPMIcon.i +0 -2
  218. data/swig-interfaces/FXXPMImage.i +0 -2
  219. data/swig-interfaces/fxdefs.i +33 -35
  220. data/swig-interfaces/ruby-typemaps.i +19 -2
  221. data/test/TC_FXBMPImage.rb +13 -0
  222. data/test/TC_FXFileStream.rb +3 -3
  223. data/test/TC_FXImage.rb +40 -2
  224. data/test/TC_FXSize.rb +12 -0
  225. data/test/TC_FXWindow.rb +26 -0
  226. data/test/TC_Misc.rb +2 -0
  227. metadata +175 -159
  228. metadata.gz.sig +0 -0
  229. data/Rakefile.cross +0 -421
@@ -28,10 +28,6 @@ class FXPopup;
28
28
  * for popping up a pulldown menu.
29
29
  */
30
30
  class FXMenuTitle : public FXMenuCaption {
31
- protected:
32
- FXPopup *pane;
33
- protected:
34
- FXMenuTitle(){}
35
31
  public:
36
32
  long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
37
33
  long onEnter(FXObject*,FXSelector,void* PTR_EVENT);
@@ -60,8 +60,6 @@ enum {
60
60
  * before the program may continue.
61
61
  */
62
62
  class FXMessageBox : public FXDialogBox {
63
- protected:
64
- FXMessageBox(){}
65
63
  public:
66
64
  long onCmdClicked(FXObject*,FXSelector,void* PTR_IGNORE);
67
65
  long onCmdCancel(FXObject*,FXSelector,void* PTR_IGNORE);
@@ -90,29 +88,34 @@ public:
90
88
  }
91
89
  }
92
90
 
91
+ %typemap(in) (const char* message_format, const char* message_string) {
92
+ $1 = (char*)"%s";
93
+ $2 = RSTRING_PTR($input);
94
+ }
95
+
93
96
  /// Show a modal error message
94
- static FXuint error(FXWindow* owner,FXuint opts,const char* caption,const char* message);
97
+ static FXuint error(FXWindow* owner,FXuint opts,const char* caption,const char* message_format, const char* message_string);
95
98
 
96
99
  // Show modal error message, in free floating window.
97
- static FXuint error(FXApp* app,FXuint opts,const char* caption,const char* message);
100
+ static FXuint error(FXApp* app,FXuint opts,const char* caption,const char* message_format, const char* message_string);
98
101
 
99
102
  /// Show a modal warning message
100
- static FXuint warning(FXWindow* owner,FXuint opts,const char* caption,const char* message);
103
+ static FXuint warning(FXWindow* owner,FXuint opts,const char* caption,const char* message_format, const char* message_string);
101
104
 
102
105
  /// Show a modal warning message, in a free-floating window
103
- static FXuint warning(FXApp* app,FXuint opts,const char* caption,const char* message);
106
+ static FXuint warning(FXApp* app,FXuint opts,const char* caption,const char* message_format, const char* message_string);
104
107
 
105
108
  /// Show a modal question dialog
106
- static FXuint question(FXWindow* owner,FXuint opts,const char* caption,const char* message);
109
+ static FXuint question(FXWindow* owner,FXuint opts,const char* caption,const char* message_format, const char* message_string);
107
110
 
108
111
  /// Show a modal question dialog, in a free-floating window
109
- static FXuint question(FXApp* app,FXuint opts,const char* caption,const char* message);
112
+ static FXuint question(FXApp* app,FXuint opts,const char* caption,const char* message_format, const char* message_string);
110
113
 
111
114
  /// Show a modal information dialog
112
- static FXuint information(FXWindow* owner,FXuint opts,const char* caption,const char* message);
115
+ static FXuint information(FXWindow* owner,FXuint opts,const char* caption,const char* message_format, const char* message_string);
113
116
 
114
117
  /// Show a modal information dialog, in a free-floating window
115
- static FXuint information(FXApp* app,FXuint opts,const char* caption,const char* message);
118
+ static FXuint information(FXApp* app,FXuint opts,const char* caption,const char* message_format, const char* message_string);
116
119
 
117
120
  // Destructor
118
121
  virtual ~FXMessageBox();
@@ -30,8 +30,6 @@ class FXPopup;
30
30
 
31
31
  /// Option Menu Button
32
32
  class FXOption : public FXLabel {
33
- protected:
34
- FXOption();
35
33
  public:
36
34
  long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
37
35
  long onEnter(FXObject*,FXSelector,void* PTR_EVENT);
@@ -75,11 +73,6 @@ DECLARE_FXWINDOW_VIRTUALS(FXOption)
75
73
 
76
74
  /// Option Menu
77
75
  class FXOptionMenu : public FXLabel {
78
- protected:
79
- FXPopup *pane;
80
- FXOption *current;
81
- protected:
82
- FXOptionMenu();
83
76
  public:
84
77
  long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
85
78
  long onLeftBtnPress(FXObject*,FXSelector,void* PTR_EVENT);
@@ -23,8 +23,6 @@
23
23
 
24
24
  /// PCX icon
25
25
  class FXPCXIcon : public FXIcon {
26
- protected:
27
- FXPCXIcon(){}
28
26
  public:
29
27
  %extend {
30
28
  static VALUE fileExt() {
@@ -23,8 +23,6 @@
23
23
 
24
24
  /// PCX graphics file
25
25
  class FXPCXImage : public FXImage {
26
- protected:
27
- FXPCXImage(){}
28
26
  public:
29
27
  %extend {
30
28
  static VALUE fileExt() {
@@ -24,8 +24,6 @@
24
24
 
25
25
  /// Portable Network Graphics (PNG) Icon
26
26
  class FXPNGIcon : public FXIcon {
27
- protected:
28
- FXPNGIcon(){}
29
27
  public:
30
28
  %extend {
31
29
  static VALUE fileExt() {
@@ -24,8 +24,6 @@
24
24
 
25
25
  /// Portable Network Graphics (PNG) Image
26
26
  class FXPNGImage : public FXImage {
27
- protected:
28
- FXPNGImage(){}
29
27
  public:
30
28
  %extend {
31
29
  static VALUE fileExt() {
@@ -23,8 +23,6 @@
23
23
 
24
24
  /// Portable Pixmap icon
25
25
  class FXPPMIcon : public FXIcon {
26
- protected:
27
- FXPPMIcon(){}
28
26
  public:
29
27
  %extend {
30
28
  static VALUE fileExt() {
@@ -23,8 +23,6 @@
23
23
 
24
24
  /// Portable Pixmap Image
25
25
  class FXPPMImage : public FXImage {
26
- protected:
27
- FXPPMImage(){}
28
26
  public:
29
27
  %extend {
30
28
  static VALUE fileExt() {
@@ -37,29 +37,6 @@ enum { DEFAULT_SPACING = 4 };
37
37
  * case it will be placed to take all remaining space.
38
38
  */
39
39
  class FXPacker : public FXComposite {
40
- protected:
41
- FXColor baseColor; // Base color
42
- FXColor hiliteColor; // Highlight color
43
- FXColor shadowColor; // Shadow color
44
- FXColor borderColor; // Border color
45
- FXint padtop; // Top margin
46
- FXint padbottom; // Bottom margin
47
- FXint padleft; // Left margin
48
- FXint padright; // Right margin
49
- FXint hspacing; // Horizontal child spacing
50
- FXint vspacing; // Vertical child spacing
51
- FXint border; // Border width
52
- protected:
53
- FXPacker();
54
- void drawBorderRectangle(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
55
- void drawRaisedRectangle(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
56
- void drawSunkenRectangle(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
57
- void drawRidgeRectangle(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
58
- void drawGrooveRectangle(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
59
- void drawDoubleRaisedRectangle(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
60
- void drawDoubleSunkenRectangle(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
61
- void drawFocusRectangle(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
62
- void drawFrame(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
63
40
  public:
64
41
  long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
65
42
  long onFocusUp(FXObject*,FXSelector,void* PTR_EVENT);
@@ -26,8 +26,6 @@
26
26
  * location on the screen.
27
27
  */
28
28
  class FXPicker : public FXButton {
29
- protected:
30
- FXPicker(){}
31
29
  public:
32
30
  long onMotion(FXObject*,FXSelector,void* PTR_EVENT);
33
31
  long onLeftBtnPress(FXObject*,FXSelector,void* PTR_EVENT);
@@ -30,24 +30,6 @@ enum {
30
30
 
31
31
  /// Popup window
32
32
  class FXPopup : public FXShell {
33
- protected:
34
- FXWindow *grabowner; // Window which will get grabbed when outside
35
- FXColor baseColor;
36
- FXColor hiliteColor;
37
- FXColor shadowColor;
38
- FXColor borderColor;
39
- FXint border;
40
- protected:
41
- FXPopup();
42
- virtual FXbool doesOverrideRedirect() const;
43
- void drawBorderRectangle(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
44
- void drawRaisedRectangle(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
45
- void drawSunkenRectangle(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
46
- void drawRidgeRectangle(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
47
- void drawGrooveRectangle(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
48
- void drawDoubleRaisedRectangle(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
49
- void drawDoubleSunkenRectangle(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
50
- void drawFrame(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
51
33
  public:
52
34
  long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
53
35
  long onFocusUp(FXObject*,FXSelector,void* PTR_EVENT);
@@ -30,37 +30,6 @@ class FXIcon;
30
30
 
31
31
  /// Printer selection dialog
32
32
  class FXPrintDialog : public FXDialogBox {
33
- protected:
34
- FXRadioButton *sendtoprinter;
35
- FXComboBox *printername;
36
- FXRadioButton *sendtofile;
37
- FXTextField *filename;
38
- FXRadioButton *printall;
39
- FXRadioButton *printeven;
40
- FXRadioButton *printodd;
41
- FXRadioButton *printrange;
42
- FXRadioButton *firstpagefirst;
43
- FXRadioButton *lastpagefirst;
44
- FXRadioButton *printincolor;
45
- FXRadioButton *printinblacknwhite;
46
- FXRadioButton *orientportrait;
47
- FXRadioButton *orientlanscape;
48
- FXListBox *media;
49
- FXRadioButton *sizeletter;
50
- FXRadioButton *sizelegal;
51
- FXRadioButton *sizeA4;
52
- FXRadioButton *sizeenvelope;
53
- FXRadioButton *sizecustom;
54
- FXTextField *sizewidth;
55
- FXTextField *sizeheight;
56
- FXSpinner *firstpage;
57
- FXSpinner *lastpage;
58
- FXSpinner *numberofcopies;
59
- FXIcon *landscapeIcon;
60
- FXIcon *portraitIcon;
61
- FXPrinter printer;
62
- protected:
63
- FXPrintDialog(){}
64
33
  public:
65
34
  long onCmdToPrinter(FXObject*,FXSelector,void* PTR_IGNORE);
66
35
  long onUpdToPrinter(FXObject*,FXSelector,void* PTR_IGNORE);
@@ -32,18 +32,6 @@ enum {
32
32
 
33
33
  /// Progress bar widget
34
34
  class FXProgressBar : public FXFrame {
35
- protected:
36
- FXuint progress; // Integer percentage number
37
- FXuint total; // Amount for completion
38
- FXint barsize; // Bar size
39
- FXFont* font;
40
- FXColor barBGColor;
41
- FXColor barColor;
42
- FXColor textNumColor;
43
- FXColor textAltColor;
44
- protected:
45
- FXProgressBar(){}
46
- void drawInterior(FXDCWindow& dc);
47
35
  public:
48
36
  long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
49
37
  long onCmdSetValue(FXObject*,FXSelector,void* PTR_UINT);
@@ -34,14 +34,6 @@ enum {
34
34
  * in a program and that the program is in fact still working.
35
35
  */
36
36
  class FXProgressDialog : public FXDialogBox {
37
- protected:
38
- FXProgressBar *progress; // Progress bar
39
- FXLabel *message; // Message
40
- FXHorizontalSeparator *separator; // Separator
41
- FXButton *cancel; // Cancel button
42
- FXbool cancelled; // User hit cancel
43
- protected:
44
- FXProgressDialog();
45
37
  public:
46
38
  long onCmdSetValue(FXObject*,FXSelector,void* PTR_INT);
47
39
  long onCmdSetIntValue(FXObject*,FXSelector,void* PTR_PINT);
@@ -23,8 +23,6 @@
23
23
 
24
24
  /// IRIS RGB icon
25
25
  class FXRGBIcon : public FXIcon {
26
- protected:
27
- FXRGBIcon(){}
28
26
  public:
29
27
  %extend {
30
28
  static VALUE fileExt() {
@@ -23,8 +23,6 @@
23
23
 
24
24
  /// IRIS RGB image
25
25
  class FXRGBImage : public FXImage {
26
- protected:
27
- FXRGBImage(){}
28
26
  public:
29
27
  %extend {
30
28
  static VALUE fileExt() {
@@ -39,13 +39,6 @@ enum {
39
39
  * common SEL_UPDATED handler to check and uncheck radio buttons as appropriate.
40
40
  */
41
41
  class FXRadioButton : public FXLabel {
42
- protected:
43
- FXColor radioColor; // Color of radio ball
44
- FXColor diskColor; // Color of radio disk
45
- FXbool check; // Radio state
46
- FXbool oldcheck; // Old radio state
47
- protected:
48
- FXRadioButton();
49
42
  public:
50
43
  long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
51
44
  long onUpdate(FXObject*,FXSelector,void* PTR_NULL);
@@ -27,12 +27,6 @@
27
27
  * means of the standard system registry.
28
28
  */
29
29
  class FXRecentFiles : public FXObject {
30
- protected:
31
- FXObject *target; // Target object to send message
32
- FXSelector message; // Message to send
33
- FXint maxfiles; // Maximum number of files to track
34
- protected:
35
- FXRecentFiles(const FXRecentFiles&);
36
30
  public:
37
31
  long onCmdClear(FXObject*,FXSelector,void* PTR_IGNORE);
38
32
  long onCmdFile(FXObject*,FXSelector,void* PTR_IGNORE);
@@ -29,8 +29,6 @@
29
29
  class FXRegion {
30
30
  friend class FXDC;
31
31
  friend class FXDCWindow;
32
- private:
33
- void *region;
34
32
  public:
35
33
 
36
34
  /// Construct new empty region
@@ -43,18 +43,6 @@
43
43
  * system when FXApp::exit() is called.
44
44
  */
45
45
  class FXRegistry : public FXSettings {
46
- protected:
47
- FXString applicationkey; // Application key
48
- FXString vendorkey; // Vendor key
49
- bool ascii; // ASCII file-based registry
50
- protected:
51
- bool readFromDir(const FXchar* dirname,FXbool mark);
52
- #ifdef WIN32
53
- bool readFromRegistry(void* hRootKey,FXbool mark);
54
- bool writeToRegistry(void* hRootKey);
55
- bool readFromRegistryGroup(void* org,const char* groupname,FXbool mark=FALSE);
56
- bool writeToRegistryGroup(void* org,const char* groupname);
57
- #endif
58
46
  public:
59
47
 
60
48
  /**
@@ -25,21 +25,6 @@ class FXTextField;
25
25
 
26
26
  /// Text replace dialog
27
27
  class FXReplaceDialog : public FXDialogBox {
28
- protected:
29
- FXLabel *searchlabel;
30
- FXTextField *searchtext;
31
- FXHorizontalFrame *searchbox;
32
- FXLabel *replacelabel;
33
- FXTextField *replacetext;
34
- FXHorizontalFrame *replacebox;
35
- FXButton *accept;
36
- FXButton *cancel;
37
- FXButton *every;
38
- FXuint searchmode;
39
- FXuint current;
40
- protected:
41
- FXReplaceDialog(){}
42
- void appendHistory(const FXString& search,const FXString& replace,FXuint mode);
43
28
  public:
44
29
  long onCmdAll(FXObject*,FXSelector,void* PTR_IGNORE);
45
30
  long onCmdNext(FXObject*,FXSelector,void* PTR_IGNORE);
@@ -23,12 +23,6 @@
23
23
 
24
24
  /// Root window
25
25
  class FXRootWindow : public FXComposite {
26
- protected:
27
- FXRootWindow(){}
28
- #ifdef WIN32
29
- virtual FXID GetDC() const;
30
- virtual int ReleaseDC(FXID) const;
31
- #endif
32
26
  public:
33
27
 
34
28
  /// Construct root window
@@ -57,51 +57,6 @@ class FXFont;
57
57
  * and size of entities within the document.
58
58
  */
59
59
  class FXRuler : public FXFrame {
60
- protected:
61
- FXFont *font; // Font for numbers
62
- FXint documentSize; // Size of document
63
- FXint edgeSpacing; // Edge spacing around document
64
- FXint marginLower; // Lower margin
65
- FXint marginUpper; // Upper margin
66
- FXint indentFirst; // First line paragraph indent
67
- FXint indentLower; // Lower paragraph indent
68
- FXint indentUpper; // Upper paragraph indent
69
- FXdouble pixelPerTick; // Number of pixels per tick increment
70
- FXint numberTicks; // Tick increments between numbers
71
- FXint majorTicks; // Tick increments between major ticks
72
- FXint mediumTicks; // Tick increments between medium ticks
73
- FXint tinyTicks; // Tick increments between tiny ticks
74
- FXint arrowPos; // Arrow position
75
- FXColor textColor; // Color for numbers and ticks
76
- FXint shift; // Left edge of content
77
- FXint pos; // Scroll position
78
- FXint off; // Offset item was grabbed
79
- FXString tip; // Tooltip text
80
- FXString help; // Help text
81
- FXuchar mode; // Mode widget is in
82
- protected:
83
- FXRuler();
84
- FXint picked(FXint x,FXint y);
85
- void drawLeftArrow(FXDCWindow& dc,FXint x,FXint y);
86
- void drawRightArrow(FXDCWindow& dc,FXint x,FXint y);
87
- void drawUpArrow(FXDCWindow& dc,FXint x,FXint y);
88
- void drawDownArrow(FXDCWindow& dc,FXint x,FXint y);
89
- void drawLeftMarker(FXDCWindow& dc,FXint x,FXint y);
90
- void drawRightMarker(FXDCWindow& dc,FXint x,FXint y);
91
- void drawUpMarker(FXDCWindow& dc,FXint x,FXint y);
92
- void drawDownMarker(FXDCWindow& dc,FXint x,FXint y);
93
- protected:
94
- enum{
95
- MOUSE_NONE, // No mouse operation
96
- MOUSE_MARG_LOWER, // Drag lower margin
97
- MOUSE_MARG_UPPER, // Drag upper margin
98
- MOUSE_PARA_FIRST, // Drag first indent
99
- MOUSE_PARA_LOWER, // Drag lower indent
100
- MOUSE_PARA_UPPER // Drag upper indent
101
- };
102
- private:
103
- FXRuler(const FXRuler&);
104
- FXRuler &operator=(const FXRuler&);
105
60
  public:
106
61
  long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
107
62
  long onLeftBtnPress(FXObject*,FXSelector,void* PTR_EVENT);