From 9efffadd02894cd05adbfc28147f41e3205a7453 Mon Sep 17 00:00:00 2001 From: Chen Kedem Date: Sun, 5 Feb 2006 07:47:21 +0000 Subject: [PATCH] 2006-02-05 09:47 UTC+0200 Chen Kedem --- harbour/ChangeLog | 4 ++++ harbour/source/rtl/gtos2/gtos2.c | 37 ++++++++++++++++---------------- 2 files changed, 22 insertions(+), 19 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index a73fac0968..ac9788f15b 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,10 @@ 2002-12-01 13:30 UTC+0100 Foo Bar */ * fixed <-x-> match marker +2006-02-05 09:47 UTC+0200 Chen Kedem + * source/rtl/gtos2/gtos2.c + * Restore my copyright notice for functions used to be in mouseos2.c + 2006-02-04 17:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * harbour/make_bsd.sh diff --git a/harbour/source/rtl/gtos2/gtos2.c b/harbour/source/rtl/gtos2/gtos2.c index 29a9ce4331..c7a820ae2e 100644 --- a/harbour/source/rtl/gtos2/gtos2.c +++ b/harbour/source/rtl/gtos2/gtos2.c @@ -55,24 +55,29 @@ * www - http://www.harbour-project.org * * Copyright 1999 David G. Holm - * hb_gt_ReadKey() + * hb_gt_os2_ReadKey() * * Copyright 1999 Chen Kedem - * hb_gt_Tone() - * hb_gt_IsColor() - * hb_gt_Scroll() - * hb_gt_SetCursorSize() - * hb_gt_GetCellSize() - * hb_gt_GetCursorStyle() - * hb_gt_SetCursorStyle() - * hb_gt_SetAttribute() - * hb_gt_GetBlink() - * hb_gt_SetBlink() + * hb_gt_os2_mouse_Init() + * hb_gt_os2_mouse_Exit() + * hb_gt_os2_mouse_IsPresent() + * hb_gt_os2_mouse_Show() + * hb_gt_os2_mouse_Hide() + * hb_gt_os2_mouse_SetPos() + * hb_gt_os2_mouse_CountButton() + * hb_gt_os2_Tone() + * hb_gt_os2_IsColor() + * hb_gt_os2_SetCursorSize() + * hb_gt_os2_GetCharHeight() + * hb_gt_os2_GetCursorStyle() + * hb_gt_os2_SetCursorStyle() + * hb_gt_os2_GetBlink() + * hb_gt_os2_SetBlink() * * Copyright 2000 - 2001 Maurilio Longo * hb_gt_DispBegin() / hb_gt_DispEnd() * hb_gt_ScreenPtr() and hb_gt_xYYYY() functions and virtual screen support inside hb_gt_XXXX()s - * 16 bit KBD subsystem use inside hb_gt_ReadKey() + * 16 bit KBD subsystem use inside hb_gt_os2_ReadKey() * * See doc/license.txt for licensing terms. * @@ -93,7 +98,7 @@ #define INCL_DOSPROCESS #define INCL_NOPMAPI -#define HB_GT_NAME OS2 +#define HB_GT_NAME OS2 #include "hbgtcore.h" #include "hbinit.h" @@ -204,12 +209,6 @@ static void hb_gt_os2_mouse_Hide( void ) } } -/* - QUESTION: when getting mouse coordinate you normally need both - row and column, we should think about using just one function - hb_gt_os2_mouse_GetPos( &row, &col ) or something like that -*/ - static void hb_gt_os2_mouse_GetPos( int * row, int * col ) { if( s_uMouHandle )