fxruby 1.6.28-x64-mingw32 → 1.6.29-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -35,14 +35,6 @@ enum {
35
35
 
36
36
  /// Directory item
37
37
  class FXDirItem : public FXTreeItem {
38
- protected:
39
- FXFileAssoc *assoc; // File association
40
- FXDirItem *link; // Link to next item
41
- FXDirItem *list; // List of child items
42
- FXlong size; // File size (if a file)
43
- FXTime date; // Time of item
44
- protected:
45
- FXDirItem():assoc(NULL),link(NULL),list(NULL),size(0L),date(0){}
46
38
  public:
47
39
  enum {
48
40
  FOLDER = 512, // Directory item
@@ -118,29 +110,6 @@ DECLARE_FXTREEITEM_VIRTUALS(FXDirItem)
118
110
  * The Directory list widget supports drags and drops of files.
119
111
  */
120
112
  class FXDirList : public FXTreeList {
121
- protected:
122
- FXFileDict *associations; // Association table
123
- FXDirItem *list; // Root item list
124
- FXString dropdirectory; // Drop directory
125
- FXDragAction dropaction; // Drop action
126
- FXString dragfiles; // Dragged files
127
- FXString pattern; // Pattern of file names
128
- FXuint matchmode; // File wildcard match mode
129
- FXuint counter; // Refresh counter
130
- FXIcon *open_folder; // Open folder icon
131
- FXIcon *closed_folder; // Closed folder icon
132
- FXIcon *mini_doc; // Document icon
133
- FXIcon *mini_app; // Application icon
134
- FXIcon *cdromicon;
135
- FXIcon *harddiskicon;
136
- FXIcon *networkicon;
137
- FXIcon *floppyicon;
138
- FXIcon *zipdiskicon;
139
- protected:
140
- FXDirList();
141
- void listRootItems();
142
- void listChildItems(FXDirItem *par);
143
- virtual FXTreeItem* createItem(const FXString& text,FXIcon* oi,FXIcon* ci,void* ptr);
144
113
  public:
145
114
  long onRefreshTimer(FXObject*,FXSelector,void* PTR_IGNORE);
146
115
  long onBeginDrag(FXObject*,FXSelector,void* PTR_EVENT);
@@ -35,25 +35,6 @@ class FXDriveBox;
35
35
 
36
36
  /// Directory selection widget
37
37
  class FXDirSelector : public FXPacker {
38
- protected:
39
- FXDirList *dirbox; // Directory list widget
40
- FXDriveBox *drivebox; // Drive selection widget
41
- FXTextField *dirname; // Directory name entry field
42
- FXButton *accept; // Accept button
43
- FXButton *cancel; // Cancel button
44
- FXIcon *updiricon; // Up directory icon
45
- FXIcon *homeicon; // Go home icon
46
- FXIcon *workicon; // Go home icon
47
- FXIcon *markicon; // Book mark icon
48
- FXIcon *clearicon; // Book clear icon
49
- FXIcon *newicon; // New directory icon
50
- FXIcon *deleteicon; // Delete file icon
51
- FXIcon *moveicon; // Rename file icon
52
- FXIcon *copyicon; // Copy file icon
53
- FXIcon *linkicon; // Link file icon
54
- FXRecentFiles mrufiles; // Recently visited places
55
- protected:
56
- FXDirSelector(){}
57
38
  public:
58
39
  long onCmdName(FXObject*,FXSelector,void* PTR_IGNORE);
59
40
  long onCmdOpened(FXObject*,FXSelector,void* PTR_TREEITEM);
@@ -37,14 +37,6 @@
37
37
  * in the void* pointer argument of the message.
38
38
  */
39
39
  class FXDockBar : public FXPacker {
40
- protected:
41
- FXComposite *drydock; // Parent when docked
42
- FXComposite *wetdock; // Parent when floating
43
- FXint gripx; // Grip offset x
44
- FXint gripy; // Grip offset y
45
- FXuchar allowed; // Where we're allowed to dock
46
- protected:
47
- FXDockBar();
48
40
  public:
49
41
  long onCmdUndock(FXObject*,FXSelector,void* PTR_IGNORE);
50
42
  long onUpdUndock(FXObject*,FXSelector,void* PTR_IGNORE);
@@ -30,14 +30,6 @@
30
30
  * and dock title.
31
31
  */
32
32
  class FXDockHandler : public FXFrame {
33
- protected:
34
- FXString tip; // Tool tip
35
- FXString help; // Help string
36
- protected:
37
- FXDockHandler();
38
- private:
39
- FXDockHandler(const FXDockHandler&);
40
- FXDockHandler& operator=(const FXDockHandler&);
41
33
  public:
42
34
  long onLeftBtnPress(FXObject*,FXSelector,void*);
43
35
  long onLeftBtnRelease(FXObject*,FXSelector,void*);
@@ -50,8 +42,6 @@ public:
50
42
  long onCmdGetTip(FXObject*,FXSelector,void*);
51
43
  long onCmdSetHelp(FXObject*,FXSelector,void*);
52
44
  long onCmdGetHelp(FXObject*,FXSelector,void*);
53
- protected:
54
- FXDockHandler(FXComposite* p,FXObject* tgt,FXSelector sel,FXuint opts,FXint x,FXint y,FXint w,FXint h,FXint pl,FXint pr,FXint pt,FXint pb);
55
45
  public:
56
46
 
57
47
  /// Set the status line help text for grip
@@ -53,13 +53,6 @@ enum {
53
53
  * vertically oriented if placed with LAYOUT_SIDE_LEFT or LAYOUT_SIDE_RIGHT.
54
54
  */
55
55
  class FXDockSite : public FXPacker {
56
- protected:
57
- FXDockSite(){}
58
- protected:
59
- void moveVerBar(FXWindow* bar,FXWindow *begin,FXWindow* end,FXint bx,FXint by);
60
- void moveHorBar(FXWindow* bar,FXWindow *begin,FXWindow* end,FXint bx,FXint by);
61
- FXint galleyWidth(FXWindow *begin,FXWindow*& end,FXint space,FXint& require,FXint& expand) const;
62
- FXint galleyHeight(FXWindow *begin,FXWindow*& end,FXint space,FXint& require,FXint& expand) const;
63
56
  public:
64
57
 
65
58
  %extend {
@@ -35,12 +35,6 @@
35
35
  * caption above the dock bar.
36
36
  */
37
37
  class FXDockTitle : public FXDockHandler {
38
- protected:
39
- FXString caption; // Caption text
40
- FXFont *font; // Caption font
41
- FXColor captionColor; // Caption color
42
- protected:
43
- FXDockTitle();
44
38
  public:
45
39
  long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
46
40
  long onCmdSetValue(FXObject*,FXSelector,void*); // FIXME
@@ -26,15 +26,6 @@
26
26
  * so as to allow the window to be resized more easily.
27
27
  */
28
28
  class FXDragCorner : public FXWindow {
29
- protected:
30
- FXColor hiliteColor;
31
- FXColor shadowColor;
32
- FXint oldw;
33
- FXint oldh;
34
- FXint xoff;
35
- FXint yoff;
36
- protected:
37
- FXDragCorner();
38
29
  public:
39
30
  long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
40
31
  long onLeftBtnPress(FXObject*,FXSelector,void* PTR_EVENT);
@@ -28,13 +28,6 @@ class FXVisual;
28
28
  * drawn upon, such as a FXWindow, or FXImage.
29
29
  */
30
30
  class FXDrawable : public FXId {
31
- protected:
32
- FXVisual *visual; // Visual for this window
33
- FXint width; // Width
34
- FXint height; // Height
35
- protected:
36
- FXDrawable();
37
- FXDrawable(FXApp* a,FXint w,FXint h);
38
31
  public:
39
32
  %extend {
40
33
  // Construct with this width and height
@@ -38,11 +38,6 @@ class FXFileSelector;
38
38
 
39
39
  /// File selection dialog
40
40
  class FXFileDialog : public FXDialogBox {
41
- protected:
42
- FXFileSelector *filebox;
43
- protected:
44
- FXFileDialog(){}
45
- void initdialog();
46
41
  public:
47
42
  %extend {
48
43
  /// Construct file dialog box
@@ -38,11 +38,6 @@ struct FXFileAssoc {
38
38
 
39
39
  /// File Association dictionary
40
40
  class FXFileDict : public FXDict {
41
- protected:
42
- FXFileDict(){}
43
- virtual void *createData(const void*);
44
- virtual void deleteData(void*);
45
-
46
41
  public:
47
42
  %extend {
48
43
  /// Registry key used to find fallback executable icons
@@ -126,29 +126,6 @@ DECLARE_FXICONITEM_VIRTUALS(FXFileItem)
126
126
  * The File list widget supports drags and drops of files.
127
127
  */
128
128
  class FXFileList : public FXIconList {
129
- protected:
130
- FXString directory; // Current directory
131
- FXString orgdirectory; // Original directory
132
- FXString dropdirectory; // Drop directory
133
- FXDragAction dropaction; // Drop action
134
- FXString dragfiles; // Dragged files
135
- FXFileDict *associations; // Association table
136
- FXFileItem *list; // File item list
137
- FXString pattern; // Pattern of file names
138
- FXuint matchmode; // File wildcard match mode
139
- FXuint counter; // Refresh counter
140
- FXint imagesize; // Image size
141
- FXTime timestamp; // Time when last refreshed
142
- FXIcon *big_folder; // Big folder icon
143
- FXIcon *mini_folder; // Mini folder icon
144
- FXIcon *big_doc; // Big document icon
145
- FXIcon *mini_doc; // Mini document icon
146
- FXIcon *big_app; // Big application icon
147
- FXIcon *mini_app; // Mini application icon
148
- protected:
149
- FXFileList();
150
- virtual FXIconItem *createItem(const FXString& text,FXIcon *big,FXIcon* mini,void* ptr);
151
- void listItems(FXbool force);
152
129
  public:
153
130
  long onOpenTimer(FXObject*,FXSelector,void* PTR_IGNORE);
154
131
  long onRefreshTimer(FXObject*,FXSelector,void* PTR_IGNORE);
@@ -60,39 +60,6 @@ enum {
60
60
 
61
61
  /// File selection widget
62
62
  class FXFileSelector : public FXPacker {
63
- protected:
64
- FXFileList *filebox; // File list widget
65
- FXTextField *filename; // File name entry field
66
- FXComboBox *filefilter; // Combobox for pattern list
67
- FXMenuPane *bookmarkmenu; // Menu for bookmarks
68
- FXHorizontalFrame *navbuttons; // Navigation buttons
69
- FXHorizontalFrame *fileboxframe; // Frame around file list
70
- FXMatrix *entryblock; // Entry block
71
- FXCheckButton *readonly; // Open file as read only
72
- FXDirBox *dirbox; // Directory hierarchy list
73
- FXButton *accept; // Accept button
74
- FXButton *cancel; // Cancel button
75
- FXIcon *updiricon; // Up directory icon
76
- FXIcon *listicon; // List mode icon
77
- FXIcon *detailicon; // Detail mode icon
78
- FXIcon *iconsicon; // Icon mode icon
79
- FXIcon *homeicon; // Go home icon
80
- FXIcon *workicon; // Go home icon
81
- FXIcon *shownicon; // Files shown icon
82
- FXIcon *hiddenicon; // Files hidden icon
83
- FXIcon *markicon; // Book mark icon
84
- FXIcon *clearicon; // Book clear icon
85
- FXIcon *newicon; // New directory icon
86
- FXIcon *deleteicon; // Delete file icon
87
- FXIcon *moveicon; // Rename file icon
88
- FXIcon *copyicon; // Copy file icon
89
- FXIcon *linkicon; // Link file icon
90
- FXRecentFiles bookmarks; // Bookmarked places
91
- FXuint selectmode; // Select mode
92
- protected:
93
- FXFileSelector(){}
94
- FXString *getSelectedFiles() const;
95
- FXString *getSelectedFilesOnly() const;
96
63
  public:
97
64
  long onCmdAccept(FXObject*,FXSelector,void* PTR_IGNORE);
98
65
  long onCmdFilter(FXObject*,FXSelector,void* PTR_CSTRING);
@@ -38,10 +38,6 @@ enum {
38
38
 
39
39
  /// Tree list Item
40
40
  class FXFoldingItem : public FXObject {
41
- protected:
42
- FXFoldingItem():parent(NULL),prev(NULL),next(NULL),first(NULL),last(NULL),openIcon(NULL),closedIcon(NULL),data(NULL),state(0),x(0),y(0){}
43
- virtual void draw(const FXFoldingList* list,FXDC& dc,FXint x,FXint y,FXint w,FXint h) const;
44
- virtual FXint hitItem(const FXFoldingList* list,FXint x,FXint y) const;
45
41
  public:
46
42
  enum{
47
43
  SELECTED = 1,
@@ -168,15 +164,6 @@ DECLARE_FXFOLDINGITEM_VIRTUALS(FXFoldingItem)
168
164
  * 3rd argument of the message.
169
165
  */
170
166
  class FXFoldingList : public FXScrollArea {
171
- protected:
172
- FXFoldingList();
173
- void recompute();
174
- void mergesort(FXFoldingItem*& list);
175
- void sort(FXFoldingItem*& f1,FXFoldingItem*& t1,FXFoldingItem*& f2,FXFoldingItem*& t2,int n);
176
- virtual void moveContents(FXint x,FXint y);
177
- virtual FXFoldingItem* createItem(const FXString& text,FXIcon* oi,FXIcon* ci,void* ptr);
178
- static FXint compareSection(const FXchar *p,const FXchar* q,FXint s);
179
- static FXint compareSectionCase(const FXchar *p,const FXchar* q,FXint s);
180
167
  public:
181
168
  long onPaint(FXObject*,FXSelector,void*);
182
169
  long onEnter(FXObject*,FXSelector,void*);
@@ -233,11 +220,11 @@ public:
233
220
  if(FXMALLOC(&strings,FXchar*,len+1)){
234
221
  for(long i=0;i<len;i++){
235
222
  VALUE s=rb_ary_entry(stringArray,i);
236
- strings[i]=StringValuePtr(s);
223
+ strings[i]=StringValuePtr(s);
237
224
  }
238
- strings[len]=0;
225
+ strings[len]=0;
239
226
  self->setHeaders(strings,size);
240
- FXFREE(&strings);
227
+ FXFREE(&strings);
241
228
  }
242
229
  }
243
230
  }
@@ -296,7 +283,7 @@ public:
296
283
  FXFoldingItem* insertItem(FXFoldingItem* other,FXFoldingItem* father,FXFoldingItem* item,FXbool notify=FALSE){
297
284
  if(item->isMemberOf(FXMETACLASS(FXRbFoldingItem))){
298
285
  dynamic_cast<FXRbFoldingItem*>(item)->owned=TRUE;
299
- }
286
+ }
300
287
  return self->insertItem(other,father,item,notify);
301
288
  }
302
289
  }
@@ -309,7 +296,7 @@ public:
309
296
  FXFoldingItem* appendItem(FXFoldingItem* father,FXFoldingItem* item,FXbool notify=FALSE){
310
297
  if(item->isMemberOf(FXMETACLASS(FXRbFoldingItem))){
311
298
  dynamic_cast<FXRbFoldingItem*>(item)->owned=TRUE;
312
- }
299
+ }
313
300
  return self->appendItem(father,item,notify);
314
301
  }
315
302
  }
@@ -322,7 +309,7 @@ public:
322
309
  FXFoldingItem* prependItem(FXFoldingItem* father,FXFoldingItem* item,FXbool notify=FALSE){
323
310
  if(item->isMemberOf(FXMETACLASS(FXRbFoldingItem))){
324
311
  dynamic_cast<FXRbFoldingItem*>(item)->owned=TRUE;
325
- }
312
+ }
326
313
  return self->prependItem(father,item,notify);
327
314
  }
328
315
  }
@@ -125,26 +125,6 @@ struct FXFontDesc {
125
125
 
126
126
  /// Font class
127
127
  class FXFont : public FXId {
128
- protected:
129
- FXString wantedName; // Desired font font name
130
- FXString actualName; // Matched font font name
131
- FXushort wantedSize; // Font size (points*10)
132
- FXushort actualSize; // Actual size that was matched
133
- FXushort wantedWeight; // Font weight
134
- FXushort actualWeight; // Font weight
135
- FXushort wantedSlant; // Font slant
136
- FXushort actualSlant; // Font slant
137
- FXushort wantedSetwidth; // Relative setwidth
138
- FXushort actualSetwidth; // Relative setwidth
139
- FXushort wantedEncoding; // Character set encoding
140
- FXushort actualEncoding; // Character set encoding
141
- FXushort hints; // Matching hint flags
142
- FXushort flags; // Actual flags
143
- FXshort angle; // Angle
144
- void *font; // Info about the font
145
- protected:
146
- FXFont();
147
- void* match(const FXString& wantfamily,const FXString& wantforge,FXuint wantsize,FXuint wantweight,FXuint wantslant,FXuint wantsetwidth,FXuint wantencoding,FXuint wanthints,FXint res);
148
128
  public:
149
129
 
150
130
  /// Font pitch hints
@@ -25,10 +25,6 @@ class FXFontSelector;
25
25
 
26
26
  /// Font selection dialog
27
27
  class FXFontDialog : public FXDialogBox {
28
- protected:
29
- FXFontSelector *fontbox;
30
- protected:
31
- FXFontDialog(){}
32
28
  public:
33
29
  %extend {
34
30
  /// Constructor
@@ -43,9 +39,9 @@ public:
43
39
  %extend {
44
40
  /// Get the current font selection
45
41
  FXFontDesc getFontSelection() const {
46
- FXFontDesc fontdesc;
47
- self->getFontSelection(fontdesc);
48
- return fontdesc;
42
+ FXFontDesc fontdesc;
43
+ self->getFontSelection(fontdesc);
44
+ return fontdesc;
49
45
  }
50
46
  }
51
47
 
@@ -31,32 +31,6 @@ class FXFont;
31
31
 
32
32
  /// Font selection widget
33
33
  class FXFontSelector : public FXPacker {
34
- protected:
35
- FXTextField *family;
36
- FXList *familylist;
37
- FXTextField *weight;
38
- FXList *weightlist;
39
- FXTextField *style;
40
- FXList *stylelist;
41
- FXTextField *size;
42
- FXList *sizelist;
43
- FXComboBox *charset;
44
- FXComboBox *setwidth;
45
- FXComboBox *pitch;
46
- FXCheckButton *scalable;
47
- FXCheckButton *allfonts;
48
- FXButton *accept;
49
- FXButton *cancel;
50
- FXLabel *preview;
51
- FXFont *previewfont;
52
- FXFontDesc selected;
53
- protected:
54
- FXFontSelector(){}
55
- void listFontFaces();
56
- void listWeights();
57
- void listSlants();
58
- void listFontSizes();
59
- void previewFont();
60
34
  public:
61
35
  long onCmdFamily(FXObject*,FXSelector,void* PTR_INT);
62
36
  long onCmdWeight(FXObject*,FXSelector,void* PTR_INT);
@@ -109,9 +83,9 @@ public:
109
83
  %extend {
110
84
  /// Get font selection
111
85
  FXFontDesc getFontSelection() const {
112
- FXFontDesc fontdesc;
113
- self->getFontSelection(fontdesc);
114
- return fontdesc;
86
+ FXFontDesc fontdesc;
87
+ self->getFontSelection(fontdesc);
88
+ return fontdesc;
115
89
  }
116
90
  }
117
91
 
@@ -40,26 +40,6 @@ enum { DEFAULT_PAD = 2 };
40
40
 
41
41
  /// Base Frame
42
42
  class FXFrame : public FXWindow {
43
- protected:
44
- FXColor baseColor; // Base color
45
- FXColor hiliteColor; // Highlight color
46
- FXColor shadowColor; // Shadow color
47
- FXColor borderColor; // Border color
48
- FXint padtop; // Top padding
49
- FXint padbottom; // Bottom padding
50
- FXint padleft; // Left padding
51
- FXint padright; // right padding
52
- FXint border; // Border size
53
- protected:
54
- FXFrame();
55
- void drawBorderRectangle(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
56
- void drawRaisedRectangle(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
57
- void drawSunkenRectangle(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
58
- void drawRidgeRectangle(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
59
- void drawGrooveRectangle(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
60
- void drawDoubleRaisedRectangle(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
61
- void drawDoubleSunkenRectangle(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
62
- void drawFrame(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
63
43
  public:
64
44
  long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
65
45
  public: