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
286B

  1. #pragma once
  2. #include <ui/common.hpp>
  3. #include <ui/TextField.hpp>
  4. namespace rack {
  5. namespace ui {
  6. /** A TextField that hides/replaces all characters with "*" */
  7. struct PasswordField : TextField {
  8. void draw(const DrawArgs& args) override;
  9. };
  10. } // namespace ui
  11. } // namespace rack