sdxsdx Posted June 20, 2023 Share Posted June 20, 2023 to set the font color, I can't find any statements in document, is it there? For alternative, I can use sprite with coloring to draw text, but if the ui system has setting font color function that will be great. Quote Link to comment Share on other sites More sharing options...
Solution Dreikblack Posted June 21, 2023 Solution Share Posted June 21, 2023 widget->SetColor(1, 0, 0, 1, WIDGETCOLOR_FOREGROUND); Quote Link to comment Share on other sites More sharing options...
sdxsdx Posted June 21, 2023 Author Share Posted June 21, 2023 14 minutes ago, Dreikblack said: widget->SetColor(1, 0, 0, 1, WIDGETCOLOR_FOREGROUND); Thank you. it works. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.