portapack-mayhem/firmware/application/apps/ui_about_simple.hpp

29 lines
560 B
C++
Raw Normal View History

2020-08-08 17:06:53 -04:00
#ifndef __UI_ABOUT_SIMPLE_H__
#define __UI_ABOUT_SIMPLE_H__
#include "ui_widget.hpp"
#include "ui_navigation.hpp"
#include <cstdint>
namespace ui {
class AboutView : public View {
public:
AboutView(NavigationView& nav);
void focus() override;
std::string title() const override { return "About"; };
private:
MenuView menu_view{
2024-05-07 09:41:58 -04:00
{0, 0, 240, 264},
true};
Button button_ok{
{240 / 3, 270, 240 / 3, 24},
"OK",
2020-08-08 17:06:53 -04:00
};
};
} // namespace ui
2020-08-08 17:06:53 -04:00
#endif /*__UI_ABOUT_SIMPLE_H__*/