Inconsistency in screen color names.

Post your requests and ideas on the future development of Visual TFT Software.
Post Reply
Author
Message
JohnGB
Posts: 183
Joined: 17 Feb 2013 18:59

Inconsistency in screen color names.

#1 Post by JohnGB » 12 Nov 2013 08:24

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

User avatar
milos.vicentijevic
Posts: 965
Joined: 23 Apr 2013 08:09

Re: Inconsistency in screen color names.

#2 Post by milos.vicentijevic » 12 Nov 2013 15:02

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

PIC007
Posts: 179
Joined: 28 Aug 2013 18:28

Re: Inconsistency in screen color names.

#3 Post by PIC007 » 12 Jan 2015 23:46

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.

PIC007
Posts: 179
Joined: 28 Aug 2013 18:28

Re: Inconsistency in screen color names.

#4 Post by PIC007 » 13 Jan 2015 01:03

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.

User avatar
darko.minic
Posts: 747
Joined: 01 Dec 2014 11:10

Re: Inconsistency in screen color names.

#5 Post by darko.minic » 13 Jan 2015 11:11

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,

Post Reply

Return to “Visual TFT Wish List”