Update of /cvsroot/fxruby/FXRuby/ext/fox/include
In directory usw-pr-cvs1:/tmp/cvs-serv30306/ext/fox/include
Modified Files:
Tag: release10
FXRbGIFCursor.h
Log Message:
Modified the constructors for FXCursor and FXGIFCursor so that the hot
spot coordinates (hx and hy) no longer have default values of -1. Although
FOX allows this, it's not correct for Windows where you *must* specify
a reasonable value for those arguments; so I'm removing the temptation
for FXRuby ;)
Index: FXRbGIFCursor.h
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/ext/fox/include/FXRbGIFCursor.h,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -d -r1.1 -r1.1.2.1
*** FXRbGIFCursor.h 12 Jul 2001 19:44:17 -0000 1.1
--- FXRbGIFCursor.h 8 May 2002 15:25:39 -0000 1.1.2.1
***************
*** 37,41 ****
public:
/// Construct a cursor from memory stream formatted as CompuServe GIF format
! FXRbGIFCursor(FXApp* a,const void* pix,FXint hx=-1,FXint hy=-1):FXGIFCursor(a,pix,hx,hy){
FXRbRegisterAppSensitiveObject(this);
}
--- 37,41 ----
public:
/// Construct a cursor from memory stream formatted as CompuServe GIF format
! FXRbGIFCursor(FXApp* a,const void* pix,FXint hx,FXint hy):FXGIFCursor(a,pix,hx,hy){
FXRbRegisterAppSensitiveObject(this);
}
|