Hi Lorenzo,
Sounds nice, I'd recommend the existing hb_gtInfo()
function (with a new HB_GTI_ #define) to change these
settings.
Brgds,
Viktor
On 2008.02.05., at 12:48, Lorenzo Fiorini wrote:
Choosing the right colors can make the difference between a "DOS app"
and "modern app".
I've done some test manually changing color definitions in gtxwc and
the difference is huge
( like the difference between getting a new customer and don't :)
Look at Gmail. They use few colors but blue and green are not "real"
blue and green and so on.
The idea is to add a GT function to define a palette of 16 colors
using RGB values and then use it in gtxwc and gtwvt since they have
similar color definition:
gtxwc.c:
/* these are standard PC console colors in RGB */
static const char *rgb_colors[] = {
"rgb:00/00/00", /* black */
[...]
"rgb:FF/FF/FF" /* white */
};
gtwvt.h:
#define BLACK RGB( 0x0 ,0x0 ,0x0 )
[...]
#define BRIGHT_WHITE RGB( 0xFF,0xFF,0xFF )
I imagine sth like:
HB_GT_COLOR_PALETTE( "#000000", [...], "#FFFFFF" )
Anybody interested?
best regards,
Lorenzo
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour