Add inquiry functions to tft library

Post your requests and ideas on the future development of mikroC PRO for PIC32.
Post Reply
Author
Message
hooper
Posts: 143
Joined: 23 Oct 2009 08:51

Add inquiry functions to tft library

#1 Post by hooper » 28 Sep 2017 19:03

Hi
The tft librarys missing get() functios.
Let me explain why such functions are needed:
I am going to enhance my application with Chinese language.
Since the mechanism of displaying Chinese text cannot use the text drawing that is deliverd by the TFT library I need to write wrapping functions to the existing functionns in the library. In order to keep the application consistent with text foreground and background colors I need to query the library for colors that are set in my english version and implement then in the Chinese version.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Add inquiry functions to tft library

#2 Post by filip » 29 Sep 2017 12:04

Hi,

If I understand correctly, you want to get pixel color ?

Regards,
Filip.

hooper
Posts: 143
Joined: 23 Oct 2009 08:51

Re: Add inquiry functions to tft library

#3 Post by hooper » 29 Sep 2017 13:34

hi Filip,
I have thought again and it looks like I can up this request.
I will overwrite the TFT_SetFont function and in my implementation I will
keep the font color in a static variable.
This will enable me to draw the Chinese characters in the same color that the English text has been drawn.
Thank you anyhow.

Regards,
M. Hooper

Post Reply

Return to “mikroC PRO for PIC32 Wish List”