Hi Pritpal,

> Viktor Szakáts wrote:
>> 
>> My best guess is that they were picked randomly, 
>> or by personal choice.
>> 
> 
> Not randomly.
> 
> Peter Rees picked them and I redifind some parts.
> It was way back around 2003 and have come that way so long.
> May be someone tweaked them afterwards, but for sure these 
> colors were very close to Clipper one, though I may be wrong.

Okay, thanks for the information.

This is what I've found in GTWVT, which also confirms it:
---
#define BLACK          RGB( 0x0 ,0x0 ,0x0  )
#define BLUE           RGB( 0x0 ,0x0 ,0x85 )
#define GREEN          RGB( 0x0 ,0x85,0x0  )
#define CYAN           RGB( 0x0 ,0x85,0x85 )
#define RED            RGB( 0x85,0x0 ,0x0  )
#define MAGENTA        RGB( 0x85,0x0 ,0x85 )
#define BROWN          RGB( 0x85,0x85,0x0  )
#define WHITE          RGB( 0xC6,0xC6,0xC6 )
#define LIGHT_GRAY     RGB( 0x60,0x60,0x60 )
#define BRIGHT_BLUE    RGB( 0x00,0x00,0xFF )
#define BRIGHT_GREEN   RGB( 0x60,0xFF,0x60 )
#define BRIGHT_CYAN    RGB( 0x60,0xFF,0xFF )
#define BRIGHT_RED     RGB( 0xF8,0x00,0x26 )
#define BRIGHT_MAGENTA RGB( 0xFF,0x60,0xFF )
#define YELLOW         RGB( 0xFF,0xFF,0x00 )
#define BRIGHT_WHITE   RGB( 0xFF,0xFF,0xFF )
---

So the story is that Peter Rees just copied 
these to WIN32PRN little test app, and I copied 
those constants from test app to central header 
at one point. IOW they were never meant to 
be "general" colors for the Windows or Windows 
printing subsystem. Case closed!

[ Anyway if someone wants to use original 
MS-DOS-era RGB values, here they are. ]

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