#ifndef VIEW_MAIN_H #define VIEW_MAIN_H #include #include #include "view.h" class ViewMain : public View { public: virtual void draw(void) override; virtual std::function keypress(int& key) override; private: constexpr static int choice_offset_x = 2; constexpr static int choice_offset_y = 3; size_t selection = 0; const std::vector choices = { "[ Informationen ]", "[ Beenden ]" }; }; #endif // VIEW_MAIN_H