From 367c44a3dfdca376101dcf2e709e3d0b3b19baee Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 20 Jun 2008 13:09:19 +0000 Subject: [PATCH] 2008-06-20 15:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtwvt/gtwvt.c ! Removed PutChar override. This was added along the palette support, but I'm afraid we'll need to find an alternative solution, as this change caused an huge amount flickering on every screen update, essentially nilling all screen change buffering efforts. ; TOFIX: Solve realtime palette change in an alternative way. --- harbour/ChangeLog | 11 +++++++++++ harbour/source/rtl/gtwvt/gtwvt.c | 14 -------------- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index fd3563fabf..c1e76c9e4d 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,17 @@ 2008-12-31 13:59 UTC+0100 Foo Bar */ +2008-06-20 15:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu) + * source/rtl/gtwvt/gtwvt.c + ! Removed PutChar override. This was added along the + palette support, but I'm afraid we'll need to find + an alternative solution, as this change caused an + huge amount flickering on every screen update, + essentially nilling all screen change buffering + efforts. + ; TOFIX: Solve realtime palette change in an + alternative way. + 2008-06-20 14:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * ChangeLog + Marked changes merged with RC1. diff --git a/harbour/source/rtl/gtwvt/gtwvt.c b/harbour/source/rtl/gtwvt/gtwvt.c index beaee8b8fd..d35465e0f5 100644 --- a/harbour/source/rtl/gtwvt/gtwvt.c +++ b/harbour/source/rtl/gtwvt/gtwvt.c @@ -1716,19 +1716,6 @@ static BOOL hb_gt_wvt_SetMode( PHB_GT pGT, int iRow, int iCol ) /* ********************************************************************** */ -static BOOL hb_gt_wvt_PutChar( PHB_GT pGT, int iRow, int iCol, - BYTE bColor, BYTE bAttr, USHORT usChar ) -{ - if( HB_GTSUPER_PUTCHAR( pGT, iRow, iCol, bColor, bAttr, usChar ) ) - { - HB_GTSELF_TOUCHCELL( pGT, iRow, iCol ); - return TRUE; - } - return FALSE; -} - -/* ********************************************************************** */ - static char * hb_gt_wvt_Version( PHB_GT pGT, int iType ) { HB_TRACE( HB_TR_DEBUG, ( "hb_gt_wvt_Version(%p,%d)", pGT, iType ) ); @@ -2573,7 +2560,6 @@ static BOOL hb_gt_FuncInit( PHB_GT_FUNCS pFuncTable ) pFuncTable->Info = hb_gt_wvt_Info; pFuncTable->SetDispCP = hb_gt_wvt_SetDispCP; pFuncTable->SetKeyCP = hb_gt_wvt_SetKeyCP; - pFuncTable->PutChar = hb_gt_wvt_PutChar; pFuncTable->ReadKey = hb_gt_wvt_ReadKey; pFuncTable->MouseIsPresent = hb_gt_wvt_mouse_IsPresent;