Hi Francesco,

On Thu, Feb 25, 2010 at 2:46 PM, francesco perillo <fperi...@gmail.com>wrote:

> I'm sending this message for Maurizio.
>
> ------------------
>
> Hi Viktor,
> simply try to compile this code with and without wvt request:
> ______________________________
>
> #include "hbgtinfo.ch"
> #include "wvtwin.ch"
>
> procedure Main()
>
> REQUEST HB_GT_WVT_DEFAULT   // rem this to note the difference
>
> hb_DispBox( 0, 0, MaxRow(), MaxCol(), Space(9), 103 )
> inkey(0)
> return
> ______________________________
>
> You'll notice the difference of the painted area, brown like in gtwvt
> version and gold like in other case.
>

I see it and this was the point of the fix, now the color
resembles to original Clipper color, which is "brown".
Now Harbour also shows brown in GTWVT, just like
in GTXWC and in Clipper on original MS-DOS, or on
emulators which properly mimic original colors.

In GTWIN and NTVDM, Microsoft chose to mess up the
colors, so you will see something different than MS-DOS.
(it's the kind of "gold", or it's rather "goose-sh*t green"
on my screen, definitely not brown)

Anyhow you can change the default color mapping using
HB_GTINFO( HB_GTI_PALETTE, { ... } ) or
HB_GTINFO( HB_GTI_PALETTE, 6, 0x008585 )

[ This all applies only to GTWVT, you're
using a GTWVG header though in the example,
so please note that GTWVG has different colors,
and also the palette setting method is incompatible
with GTWVT. ]

Brgds,
Viktor
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to