20000209-12:08 GMT+1 Victor Szakats <info@szelvesz.hu>

This commit is contained in:
Viktor Szakats
2000-02-09 11:06:05 +00:00
parent 8e3a71d5e1
commit 7d166d94fe
2 changed files with 11 additions and 11 deletions

View File

@@ -1,3 +1,7 @@
20000209-12:08 GMT+1 Victor Szakats <info@szelvesz.hu>
* source/rtl/mouse/mousedos.c
! hb_mouse_GetBounds() bug fixed (there was an '-' instead of '=')
20000209-13:50 GMT+3 Alexander Kresin
* source/pp/hbpp.c
* Bug fixed, noted by Ignacio Ortiz
@@ -20,6 +24,7 @@
*Some formating
*source/rtl/mouse/mousedos.c
* hb_mouse_GetBounds() implemented
20000209-10:43 GMT+1 Victor Szakats <info@szelvesz.hu>
* utils/hbdoc/hbdoc.prg
! Misc small fixes.

View File

@@ -224,7 +224,7 @@ void hb_mouse_SetBounds( int iTop, int iLeft, int iBottom, int iRight )
if( s_bPresent )
{
#if defined(__DJGPP__) ||defined(__BORLANDC__)
#if defined(__DJGPP__) || defined(__BORLANDC__)
union REGS regs;
iLeft *= 8;
@@ -250,24 +250,19 @@ void hb_mouse_GetBounds( int * piTop, int * piLeft, int * piBottom, int * piRigh
{
if( s_bPresent )
{
#if defined(__DJGPP__) ||defined(__BORLANDC__)
#if defined(__DJGPP__) || defined(__BORLANDC__)
union REGS regs;
regs.x.ax = 7;
int86( MOUSE_INTERRUPT, &regs, &regs );
piLeft=regs.x.cx/8 ;
piRight=regs.x.dx/8 ;
piLeft = regs.x.cx / 8;
piRight = regs.x.dx / 8;
regs.x.ax = 8;
int86( MOUSE_INTERRUPT, &regs, &regs );
piTop=regs.x.cx/8 ;
piBottom-regs.x.dx/8 ;
piTop = regs.x.cx / 8;
piBottom = regs.x.dx / 8;
#endif
}
}