-
-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] render password as text symbol #316
Comments
MRs welcome |
Hey, I would like to work on this. I am quite new to C++, and digging down, here's what I found The exact line which is drawing the dots
So I might try to use a |
Hey @HarshNarayanJha FYI, I implemented this. Just wanted to wait for #508 until i create the MR. Let me know what you think the config option should be named like. |
Didn't see that one! 😓 Your implementation looks great! So you basically check if // say this failed
dots.textAsset = g_pRenderer->asyncResourceGatherer->getAssetByID(dots.textResourceID);
if (!dots.textFormat.empty()) {
if (!dots.textAsset)
+ g_pRenderer->renderRect(box, fontCol, dots.rounding);
break;
g_pRenderer->renderTexture(box, dots.textAsset->texture, fontCol.a, dots.rounding);
} else {
g_pRenderer->renderRect(box, fontCol, dots.rounding);
} As (per my understanding) this case would result in nothing being typed in the input field. For the name of the config option, |
Yeah sorry, I could have posted that i am going to implement that.
Yeah so this is intended. We set |
I want to render password dots as asterisk like this image.
I looked up code little bit and find out dots are rendered by CRenderer::renderRect function. Is there any plan to render password as text?
The text was updated successfully, but these errors were encountered: