2008-06-08 22:10 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com

* harbour/source/rtl/gtwvt/gtwvt.c
     * Hack to fix maxrow() display. Now maximizing the window displays 
       correctly on 25x80.
   * harbour/tests/wvtext.pr
     * More information.
This commit is contained in:
Pritpal Bedi
2008-06-09 05:11:11 +00:00
parent cd8eb4c3ed
commit 67c40855ba
2 changed files with 9 additions and 2 deletions

View File

@@ -8,6 +8,13 @@
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2008-06-08 22:10 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com
* harbour/source/rtl/gtwvt/gtwvt.c
* Hack to fix maxrow() display. Now maximizing the window displays
correctly on 25x80.
* harbour/tests/wvtext.pr
* More information.
2008-06-09 06:25 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* tests/wvtext.prg
* include/hbgtinfo.ch

View File

@@ -714,7 +714,7 @@ static void hb_gt_wvt_FitSize( PHB_GTWVT pWVT, USHORT mode )
if( bValid )
{
maxHeight = ci.bottom - ci.top ;
maxHeight = ci.bottom - ci.top;
maxWidth = ci.right - ci.left ;
fontHeight = maxHeight / pWVT->ROWS;
fontWidth = maxWidth / pWVT->COLS;
@@ -743,7 +743,7 @@ static void hb_gt_wvt_FitSize( PHB_GTWVT pWVT, USHORT mode )
pWVT->fontWidth = tm.tmAveCharWidth;
pWVT->PTEXTSIZE.x = tm.tmAveCharWidth;
pWVT->PTEXTSIZE.y = tm.tmHeight;
pWVT->PTEXTSIZE.y = tm.tmHeight - ( pWVT->bMaximized ? 1 : 0 ); /* Hack to Disp MaxRow Correctly */
#if defined(HB_WINCE)
pWVT->FixedFont = FALSE;