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.

16 lines
221B

  1. #include "widgets.hpp"
  2. namespace rack {
  3. void PasswordField::draw(NVGcontext *vg) {
  4. std::string textTmp = text;
  5. text = std::string(textTmp.size(), '*');
  6. TextField::draw(vg);
  7. text = textTmp;
  8. }
  9. } // namespace rack