Hey! It's me back with another question. While I was making my graphics program, I found out the color 255 is actually transparent, not white. How do I draw with white? ex: gfx_setTextBG (or FG) Color(255) is transparent. Is there something like erasing to write with white text? (Also, I have the background as a darker color such as 0).
You can set which color code is transparent, you just need to change it away from the default of 255.
How do I do that? Oh wait does the documentation tell you?

Code:
gfx_SetTextTransparentColor(41);
Documentation Index
Graphx documentation
yeah I found it after ctrl f in the graphx.h: gfx_SetTransparentColor(uint8_t index)
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement