fxruby 1.6.25.pre1 → 1.6.25.pre2

Sign up to get free protection for your applications and to get access to all the features.
data/ext/fox16/MANIFEST CHANGED
@@ -148,6 +148,7 @@ include/FXRbShutter.h
148
148
  include/FXRbShutterVirtuals.h
149
149
  include/FXRbSlider.h
150
150
  include/FXRbSpinner.h
151
+ include/FXRbSplashWindow.h
151
152
  include/FXRbSplitter.h
152
153
  include/FXRbStatusbar.h
153
154
  include/FXRbStatusline.h
@@ -166,6 +166,7 @@ FXRbIMPLEMENT(FXRbShutter,FXShutter,NULL,0)
166
166
  FXRbIMPLEMENT(FXRbShutterItem,FXShutterItem,NULL,0)
167
167
  FXRbIMPLEMENT(FXRbSlider,FXSlider,NULL,0)
168
168
  FXRbIMPLEMENT(FXRbSpinner,FXSpinner,NULL,0)
169
+ FXRbIMPLEMENT(FXRbSplashWindow,FXSplashWindow,NULL,0)
169
170
  FXRbIMPLEMENT(FXRbSplitter,FXSplitter,NULL,0)
170
171
  FXRbIMPLEMENT(FXRbSpring,FXSpring,NULL,0)
171
172
  FXRbIMPLEMENT(FXRbStatusBar,FXStatusBar,NULL,0)
data/lib/fox16/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Fox
2
2
  def Fox.fxrubyversion
3
- "1.6.25.pre1"
3
+ "1.6.25.pre2"
4
4
  end
5
5
  end
@@ -17,8 +17,7 @@ module Fox
17
17
  # if you intend to do repeated re-rendering of the image after it has been
18
18
  # created.
19
19
  # +IMAGE_OWNED+::
20
- # If the +IMAGE_OWNED+ option is set, the FXImage object assumes ownership
21
- # of its client-side pixel data (if any).
20
+ # Does nothing - for backward compatibility only.
22
21
  # +IMAGE_DITHER+::
23
22
  # Dither image to look better
24
23
  # +IMAGE_NEAREST+::
@@ -9,7 +9,7 @@ module Fox
9
9
  #
10
10
  # +SPLASH_SIMPLE+:: Simple rectangular splash window
11
11
  # +SPLASH_SHAPED+:: Shaped splash window
12
- # +SPLASH_OWNS_ICON+:: Splash window will own the icon and destroy it
12
+ # +SPLASH_OWNS_ICON+:: Does nothing - for backward compatibility only
13
13
  # +SPLASH_DESTROY+:: Splash window will destroy itself when timer expires
14
14
  #
15
15
  class FXSplashWindow < FXTopWindow
@@ -52,11 +52,21 @@ public:
52
52
  long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
53
53
  public:
54
54
 
55
- /// Construct splash window
56
- FXSplashWindow(FXApp* a,FXIcon* ic,FXuint opts=SPLASH_SIMPLE,FXuint ms=5000);
55
+ %extend {
56
+ /// Construct splash window
57
+ FXSplashWindow(FXApp* a,FXIcon* ic,FXuint opts=SPLASH_SIMPLE,FXuint ms=5000){
58
+ /* Icon will be free`d by Rubys GC. */
59
+ opts &= ~SPLASH_OWNS_ICON;
60
+ return new FXRbSplashWindow(a,ic,opts,ms);
61
+ }
57
62
 
58
- /// Construct splash window
59
- FXSplashWindow(FXWindow* own,FXIcon* ic,FXuint opts=SPLASH_SIMPLE,FXuint ms=5000);
63
+ /// Construct splash window
64
+ FXSplashWindow(FXWindow* own,FXIcon* ic,FXuint opts=SPLASH_SIMPLE,FXuint ms=5000){
65
+ /* Icon will be free`d by Rubys GC. */
66
+ opts &= ~SPLASH_OWNS_ICON;
67
+ return new FXRbSplashWindow(own,ic,opts,ms);
68
+ }
69
+ }
60
70
 
61
71
  /// Set the icon for the splash window
62
72
  void setIcon(FXIcon* ic);
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fxruby
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1923831843
4
+ hash: -813442848
5
5
  prerelease: 7
6
6
  segments:
7
7
  - 1
8
8
  - 6
9
9
  - 25
10
10
  - pre
11
- - 1
12
- version: 1.6.25.pre1
11
+ - 2
12
+ version: 1.6.25.pre2
13
13
  platform: ruby
14
14
  authors:
15
15
  - Lyle Johnson
@@ -18,7 +18,7 @@ autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
20
 
21
- date: 2012-06-15 00:00:00 Z
21
+ date: 2012-06-17 00:00:00 Z
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
24
24
  name: rdoc
@@ -975,24 +975,24 @@ files:
975
975
  - test/stress2.rb
976
976
  - test/stress3.rb
977
977
  - test/testcase.rb
978
- - ext/fox16/scintilla_wrap.cpp
979
978
  - ext/fox16/treelist_wrap.cpp
980
- - ext/fox16/mdi_wrap.cpp
979
+ - ext/fox16/scintilla_wrap.cpp
981
980
  - ext/fox16/image_wrap.cpp
982
- - ext/fox16/ui_wrap.cpp
981
+ - ext/fox16/iconlist_wrap.cpp
982
+ - ext/fox16/mdi_wrap.cpp
983
+ - ext/fox16/core_wrap.cpp
984
+ - ext/fox16/menu_wrap.cpp
983
985
  - ext/fox16/frames_wrap.cpp
984
- - ext/fox16/dialogs_wrap.cpp
985
- - ext/fox16/text_wrap.cpp
986
- - ext/fox16/list_wrap.cpp
987
- - ext/fox16/layout_wrap.cpp
988
986
  - ext/fox16/label_wrap.cpp
989
987
  - ext/fox16/table_wrap.cpp
988
+ - ext/fox16/list_wrap.cpp
989
+ - ext/fox16/layout_wrap.cpp
990
+ - ext/fox16/icons_wrap.cpp
991
+ - ext/fox16/dialogs_wrap.cpp
992
+ - ext/fox16/text_wrap.cpp
990
993
  - ext/fox16/fx3d_wrap.cpp
991
- - ext/fox16/menu_wrap.cpp
994
+ - ext/fox16/ui_wrap.cpp
992
995
  - ext/fox16/dc_wrap.cpp
993
- - ext/fox16/core_wrap.cpp
994
- - ext/fox16/icons_wrap.cpp
995
- - ext/fox16/iconlist_wrap.cpp
996
996
  - ext/fox16/include/inlinestubs.h
997
997
  - ext/fox16/librb.c
998
998
  - doap.rdf
@@ -1034,84 +1034,84 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1034
1034
  requirements: []
1035
1035
 
1036
1036
  rubyforge_project: fxruby
1037
- rubygems_version: 1.8.11
1037
+ rubygems_version: 1.8.17
1038
1038
  signing_key:
1039
1039
  specification_version: 3
1040
1040
  summary: FXRuby is the Ruby binding to the FOX GUI toolkit.
1041
1041
  test_files:
1042
- - test/TC_FXVec2d.rb
1043
- - test/TC_FXListBox.rb
1044
- - test/TC_FXCheckButton.rb
1045
- - test/TC_FXVec4f.rb
1042
+ - test/TC_FXMenuRadio.rb
1043
+ - test/TC_FXLight.rb
1044
+ - test/TC_FXMainWindow.rb
1045
+ - test/TC_FXFont.rb
1046
+ - test/TC_FXMenuCheck.rb
1047
+ - test/TC_FXAccelTable.rb
1048
+ - test/TC_FXHiliteStyle.rb
1049
+ - test/TC_FXTreeListBox.rb
1050
+ - test/TC_FXComboBox.rb
1051
+ - test/TC_FXVec2f.rb
1052
+ - test/TC_FXDialogBox.rb
1053
+ - test/TC_FXStream.rb
1054
+ - test/TC_FXVec3d.rb
1055
+ - test/TC_Misc.rb
1046
1056
  - test/TC_FXIconList.rb
1047
- - test/TC_FXXPMIcon.rb
1048
- - test/TC_FXSegment.rb
1049
1057
  - test/TC_FXMemoryStream.rb
1050
- - test/TC_FXComboBox.rb
1058
+ - test/TC_FXExtentd.rb
1059
+ - test/TC_downcast.rb
1060
+ - test/TC_FXList.rb
1051
1061
  - test/TC_FXShell.rb
1052
- - test/TC_FXRangef.rb
1053
- - test/TC_FXTreeListBox.rb
1054
- - test/TC_Misc.rb
1055
- - test/TC_FXMaterial.rb
1056
- - test/TC_FXMenuCommand.rb
1057
- - test/TC_FXRectangle.rb
1058
- - test/TC_FXGLShape.rb
1059
- - test/TC_FXTreeList.rb
1060
- - test/TC_FXGradientBar.rb
1061
- - test/TC_FXUndoList.rb
1062
- - test/TC_FXImage.rb
1062
+ - test/TC_FXRadioButton.rb
1063
+ - test/TC_FXDCPrint.rb
1063
1064
  - test/TC_FXTableItem.rb
1064
- - test/TC_FXVec3f.rb
1065
1065
  - test/TC_FXIconDict.rb
1066
- - test/TC_FXStream.rb
1067
- - test/TC_FXBMPImage.rb
1068
- - test/TC_FXGLGroup.rb
1069
- - test/TC_FXRanged.rb
1070
- - test/TC_FXTopWindow.rb
1071
- - test/TC_FXHiliteStyle.rb
1072
- - test/TC_FXHeader.rb
1073
- - test/TC_FXPoint.rb
1074
- - test/TC_FXRegistry.rb
1075
- - test/TC_FXFileStream.rb
1076
- - test/TC_FXXBMIcon.rb
1077
- - test/TC_FXScrollArea.rb
1078
- - test/TC_FXSettings.rb
1079
- - test/TC_FXSize.rb
1080
- - test/TC_FXApp.rb
1081
- - test/TC_FXVec3d.rb
1082
- - test/TC_FXExtentd.rb
1083
- - test/TC_FXDC.rb
1084
- - test/TC_FXMenuCheck.rb
1085
- - test/TC_FXDCWindow.rb
1086
- - test/TC_FXFont.rb
1066
+ - test/TC_FXXBMImage.rb
1067
+ - test/TC_FXVec4f.rb
1068
+ - test/TC_FXId.rb
1069
+ - test/TC_FXQuatf.rb
1087
1070
  - test/TC_FXTable.rb
1088
- - test/TC_FXMenuRadio.rb
1089
- - test/TC_FXExtentf.rb
1090
- - test/TC_FXFontDesc.rb
1091
- - test/TC_FXGLViewer.rb
1071
+ - test/TC_FXSize.rb
1072
+ - test/TC_FXVec3f.rb
1092
1073
  - test/TC_FXViewport.rb
1093
- - test/TC_FXArc.rb
1074
+ - test/TC_FXUndoList.rb
1094
1075
  - test/TC_FXText.rb
1095
- - test/TC_FXId.rb
1096
- - test/TC_FXXPMImage.rb
1097
1076
  - test/TC_FXMessageBox.rb
1098
- - test/TC_FXLight.rb
1099
- - test/TC_FXVec2f.rb
1100
- - test/TC_downcast.rb
1101
- - test/TC_FXQuatf.rb
1102
- - test/TC_FXRadioButton.rb
1103
- - test/TC_FXDCPrint.rb
1104
- - test/TC_FXRegion.rb
1077
+ - test/TC_FXScrollArea.rb
1078
+ - test/TC_FXTreeList.rb
1079
+ - test/TC_FXVec2d.rb
1080
+ - test/TC_FXSettings.rb
1081
+ - test/TC_FXRectangle.rb
1082
+ - test/TC_FXGradientBar.rb
1083
+ - test/TC_FXMaterial.rb
1084
+ - test/TC_FXImage.rb
1085
+ - test/TC_FXScrollWindow.rb
1086
+ - test/TC_FXFileStream.rb
1105
1087
  - test/TC_FXFoldingList.rb
1088
+ - test/TC_FXTopWindow.rb
1089
+ - test/TC_FXXBMIcon.rb
1090
+ - test/TC_FXMenuCommand.rb
1091
+ - test/TC_FXRegion.rb
1092
+ - test/TC_FXRanged.rb
1093
+ - test/TC_FXListBox.rb
1094
+ - test/TC_FXDCWindow.rb
1095
+ - test/TC_FXSegment.rb
1096
+ - test/TC_FXArc.rb
1106
1097
  - test/TC_FXMat4f.rb
1107
- - test/TC_FXAccelTable.rb
1098
+ - test/TC_FXCheckButton.rb
1099
+ - test/TC_FXPoint.rb
1100
+ - test/TC_FXRegistry.rb
1101
+ - test/TC_FXDC.rb
1108
1102
  - test/TC_FXButton.rb
1109
- - test/TC_FXList.rb
1110
- - test/TC_FXDialogBox.rb
1111
- - test/TC_FXBMPIcon.rb
1112
- - test/TC_FXMainWindow.rb
1113
- - test/TC_FXXBMImage.rb
1114
1103
  - test/TC_FXFileAssoc.rb
1115
- - test/TC_FXScrollWindow.rb
1104
+ - test/TC_FXGLGroup.rb
1105
+ - test/TC_FXBMPImage.rb
1116
1106
  - test/TC_FXDirList.rb
1107
+ - test/TC_FXBMPIcon.rb
1108
+ - test/TC_FXGLViewer.rb
1109
+ - test/TC_FXExtentf.rb
1110
+ - test/TC_FXHeader.rb
1111
+ - test/TC_FXGLShape.rb
1112
+ - test/TC_FXXPMIcon.rb
1113
+ - test/TC_FXFontDesc.rb
1114
+ - test/TC_FXRangef.rb
1115
+ - test/TC_FXXPMImage.rb
1116
+ - test/TC_FXApp.rb
1117
1117
  - test/TC_FXDataTarget.rb