You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #pragma once
- #include "ui/common.hpp"
- #include "ui/TextField.hpp"
-
-
- namespace rack {
-
-
- struct PasswordField : TextField {
- void draw(NVGcontext *vg) override {
- std::string textTmp = text;
- text = std::string(textTmp.size(), '*');
- TextField::draw(vg);
- text = textTmp;
- }
- };
-
-
- } // namespace rack
|