Skip to content

Add "GuiPasswordBox"/"GuiHiddenContentTextBox" Element #508

@santiagosantos08

Description

@santiagosantos08
Image

Ideally, it should behave just like a GuiTextBox in principle.

However, different from the regular text box, instead of having just a char* text that's set to be the placeholder, it would require a separate placeholder to be able to show 'password'/'pin'/'keycode' etc before the user types in the actual data (which should be hidden with ***).

This could also be implemented as a 'hidden' bool parameter that gets fed to GuiTextBox, but it would break older code, that's why i think it's better to just add another element instead.

Plase note i'm not asking for the function to implement any of the actual security features like hashing/salting/etc, it's just a visual effect that can be handy in certain games with locked chests or scenes where something like hacking in to a computer is part of the gameplay.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions