Page 1 of 1

Inconsistency in screen color names.

Posted: 12 Nov 2013 08:24
by JohnGB
In VTFT standard colors are expressed as clYellow, clGreen etc. In the compiler they are expressed as cl_Yellow, cl_Green etc. Could you please get some consistency between the compiler and VTFT. This is only one of a number of unnecessary incompatibilities, the most annoying of which is the use of the boolean values expressed as 1 and 0 in VTFT rather than true or false in the compiler.

Re: Inconsistency in screen color names.

Posted: 12 Nov 2013 15:02
by milos.vicentijevic
Hello JohnGB,

thank you for pointing this out.

I will send this to development department so they can consider to resolve this issue.

Best Regards,
Milos Vicentijevic

Re: Inconsistency in screen color names.

Posted: 12 Jan 2015 23:46
by PIC007
In VTFT standard colors are expressed as clYellow, clGreen etc. In the compiler they are expressed as cl_Yellow, cl_Green etc.
Just run into this same issue, but even writing colors as cl_White and cl_Lime seem not to be recognized in mikroC for dsPIC. In vTFT they are expressed as clWhite and clLime etc.

Where are these defined. Is there a header to include?

Thanks.

Re: Inconsistency in screen color names.

Posted: 13 Jan 2015 01:03
by PIC007
I found it - it seems to be CL_WHITE and CL_LIME etc (upper case) for mikroC for dsPIC compiler.

Agreed, it would be nice to harmonize these definitions of colors with those in vTFT.

Thanks.

Re: Inconsistency in screen color names.

Posted: 13 Jan 2015 11:11
by darko.minic
Hello,

Thank you for your suggestion.

Problem is reported to Software Department, so they would try to resolve it,
but unfortunately i can't give you any promise regarding time.

Best regards,