fxruby 1.6.28-x86-mingw32 → 1.6.29-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 (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
  /// Popup menu pane
25
25
  class FXMenuPane : public FXPopup {
26
- protected:
27
- FXMenuPane(){}
28
26
  public:
29
27
  %extend {
30
28
  /// Construct menu pane
@@ -32,14 +32,6 @@
32
32
  * properly maintain the state between them.
33
33
  */
34
34
  class FXMenuRadio : public FXMenuCommand {
35
- protected:
36
- FXuchar check; // State of menu
37
- FXColor radioColor; // Color of the radio
38
- protected:
39
- FXMenuRadio();
40
- private:
41
- FXMenuRadio(const FXMenuRadio&);
42
- FXMenuRadio &operator=(const FXMenuRadio&);
43
35
  public:
44
36
  long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
45
37
  long onButtonPress(FXObject*,FXSelector,void* PTR_EVENT);
@@ -26,11 +26,6 @@
26
26
  * used to delineate items in a popup menu.
27
27
  */
28
28
  class FXMenuSeparator : public FXWindow {
29
- protected:
30
- FXColor hiliteColor;
31
- FXColor shadowColor;
32
- protected:
33
- FXMenuSeparator();
34
29
  public:
35
30
  long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
36
31
  public:
@@ -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