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.

18 lines
271B

  1. #include <ui/PasswordField.hpp>
  2. namespace rack {
  3. namespace ui {
  4. void PasswordField::draw(const DrawArgs& args) {
  5. std::string textTmp = text;
  6. text = std::string(textTmp.size(), '*');
  7. TextField::draw(args);
  8. text = textTmp;
  9. }
  10. } // namespace ui
  11. } // namespace rack