2013-12-05 19:38 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)

* contrib\gtwvg\gtwvg.h
    ! Increased: WVT_CHAR_QUEUE_SIZE         128 => 256
        Required in cases where paste operation in a bigger character
        field is needed. Even this is hypothetical, but still works
        for most use cases.

  * contrib\gtwvg\gtwvgd.c
    % Changed: behaviour of hb_gt_wvt_PutChar() to let SUPER GT layer
        to take the next action if application is not compiled for
        GUI controls on CUI window. This is controlled by pWVT->bGui
        member of GTWVG structure. This makes GTWVG at par with GTWVT
        if GUI controls are not sought as long as screen refreshes
        are concerned.

        Przemek, can you correct me if I am wrong?

  * contrib\gtwvg\wvtwin.ch
    % Guarded: #deine RGB under #ifndef construct.
This commit is contained in:
Pritpal Bedi
2013-12-06 15:02:28 -08:00
parent 6ff1084cf0
commit b03a3e8ac5
4 changed files with 34 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
/*
/*
* $Id$
*/
@@ -10,6 +10,26 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2013-12-06 15:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib\gtwvg\gtwvg.h
! Increased: WVT_CHAR_QUEUE_SIZE 128 => 256
Required in cases where paste operation in a bigger character
field is needed. Even this is hypothetical, but still works
for most use cases.
* contrib\gtwvg\gtwvgd.c
% Changed: behaviour of hb_gt_wvt_PutChar() to let SUPER GT layer
to take the next action if application is not compiled for
GUI controls on CUI window. This is controlled by pWVT->bGui
member of GTWVG structure. This makes GTWVG at par with GTWVT
if GUI controls are not sought as long as screen refreshes
are concerned.
Przemek, can you correct me if I am wrong?
* contrib\gtwvg\wvtwin.ch
% Guarded: #deine RGB under #ifndef construct.
2013-12-06 10:52 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/hbbfish.h
* src/rtl/hbbffnc.c
@@ -28,11 +48,11 @@
2013-11-28 03:04 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbmxml/3rd/minixml/mxml_fil.c
! fixed mxmlLoadString() with top node - patch by Franček Prijatelj
! fixed mxmlLoadString() with top node - patch by Francek Prijatelj
* contrib/hbmxml/core.c
! fixed mxml node reference counter in mxmlAdd() - it fixes 2-dn
problem reported by Franček Prijatelj
problem reported by Francek Prijatelj
2013-11-27 20:32 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/gtxwc/gtxwc.c

View File

@@ -96,7 +96,7 @@ HB_EXTERN_BEGIN
/*-*/
#define WVT_CHAR_QUEUE_SIZE 128
#define WVT_CHAR_QUEUE_SIZE 256
#define WVT_MAX_TITLE_SIZE 128
#define WVT_MAX_ROWS 256
#define WVT_MAX_COLS 1024

View File

@@ -2842,9 +2842,16 @@ static HB_BOOL hb_gt_wvt_SetMode( PHB_GT pGT, int iRow, int iCol )
static HB_BOOL hb_gt_wvt_PutChar( PHB_GT pGT, int iRow, int iCol,
int iColor, HB_BYTE bAttr, HB_USHORT usChar )
{
PHB_GTWVT pWVT;
if( HB_GTSUPER_PUTCHAR( pGT, iRow, iCol, iColor, bAttr, usChar ) )
{
HB_GTSELF_TOUCHCELL( pGT, iRow, iCol );
pWVT = HB_GTWVT_GET( pGT );
if( pWVT->bGui )
HB_GTSELF_TOUCHCELL( pGT, iRow, iCol );
else
HB_GTSUPER_TOUCHCELL( pGT, iRow, iCol );
return HB_TRUE;
}
return HB_FALSE;

View File

@@ -190,9 +190,9 @@
#define WVT_MENU_MENUOBJ 4
/*-*/
#ifndef RGB
#define RGB( nR, nG, nB ) ( nR + ( nG * 256 ) + ( nB * 256 * 256 ) )
#endif
//
// Windows Specific
//