Inconsistency in screen color names.
Inconsistency in screen color names.
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.
JohnB
MikroPascal for PIC18 and DsPIC, Visual TFT
MikroPascal for PIC18 and DsPIC, Visual TFT
- milos.vicentijevic
- Posts: 965
- Joined: 23 Apr 2013 08:09
Re: Inconsistency in screen color names.
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
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.
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.In VTFT standard colors are expressed as clYellow, clGreen etc. In the compiler they are expressed as cl_Yellow, cl_Green etc.
Where are these defined. Is there a header to include?
Thanks.
Re: Inconsistency in screen color names.
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.
Agreed, it would be nice to harmonize these definitions of colors with those in vTFT.
Thanks.
- darko.minic
- Posts: 747
- Joined: 01 Dec 2014 11:10
Re: Inconsistency in screen color names.
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,
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,