Update of /cvsroot/fxruby/FXRuby/swig-interfaces
In directory usw-pr-cvs1:/tmp/cvs-serv25300/swig-interfaces
Modified Files:
Tag: release10
FXRegion.i
Log Message:
Updates to test cases TC_FXHVec.rb and TC_FXHMat.rb to test the new clone
instance methods for these classes.
Added support for overloaded FXRegion#contains? and a new test case for
this class.
Index: FXRegion.i
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/swig-interfaces/FXRegion.i,v
retrieving revision 1.6.2.2
retrieving revision 1.6.2.3
diff -C2 -d -r1.6.2.2 -r1.6.2.3
*** FXRegion.i 8 May 2002 21:09:55 -0000 1.6.2.2
--- FXRegion.i 8 May 2002 21:43:44 -0000 1.6.2.3
***************
*** 24,28 ****
%ignore FXRegion::operator=(const FXRegion& r);
! %ignore FXRegion::contains(FXint x,FXint y,FXint w,FXint h) const;
%exception FXRegion::FXRegion "$action FXRbRegisterRubyObj(self, result);";
--- 24,30 ----
%ignore FXRegion::operator=(const FXRegion& r);
! %rename("empty?") FXRegion::empty() const;
! %rename("containsPoint?") FXRegion::contains(FXint x,FXint y) const;
! %rename("containsRectangle?") FXRegion::contains(FXint x,FXint y,FXint w,FXint h) const;
%exception FXRegion::FXRegion "$action FXRbRegisterRubyObj(self, result);";
***************
*** 76,80 ****
}
! /// Substract region r from this one
FXRegion __sub__(const FXRegion& other) {
return (*self) - other;
--- 78,82 ----
}
! /// Subtract region r from this one
FXRegion __sub__(const FXRegion& other) {
return (*self) - other;
|