#pragma once

#define SHORTESTKEY 4

#include <memory>

#include "../uiwindow.h"
#include "../menuselectoption.h"

class MenuSelectOptionElement;

class ChangeKeyScreen : public UIWindow {
public:
  ChangeKeyScreen(Ui *);
  ~ChangeKeyScreen();
  void initialize(unsigned int, unsigned int);
  void redraw() override;
  bool keyPressed(unsigned int) override;
  std::string getInfoLabel() const override;
private:
  bool mismatch;
  bool oldmismatch;
  bool tooshort;
  MenuSelectOption mso;
  std::string operation;
};
