20000209-12:08 GMT+1 Victor Szakats <info@szelvesz.hu>
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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, ®s, ®s );
|
||||
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, ®s, ®s );
|
||||
piTop=regs.x.cx/8 ;
|
||||
piBottom-regs.x.dx/8 ;
|
||||
|
||||
piTop = regs.x.cx / 8;
|
||||
piBottom = regs.x.dx / 8;
|
||||
#endif
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user