34 lines
561 B
C++
34 lines
561 B
C++
#pragma once
|
|
|
|
// 3rdparty lib includes
|
|
#include "menuitem.h"
|
|
|
|
// local includes
|
|
#include "displays/menudisplaywithtime.h"
|
|
#ifdef MAINMENU_PLUGIN
|
|
#include MAINMENU_PLUGIN
|
|
#endif
|
|
|
|
namespace {
|
|
#ifdef MAINMENU_PLUGIN
|
|
GMEN2
|
|
#endif
|
|
#if !defined(MAINMENU_PLUGIN) and !defined(GMEN3)
|
|
#define SHOWITEM !simplified
|
|
#else
|
|
#define SHOWITEM GMEN3
|
|
#endif
|
|
} // namespace
|
|
|
|
class MainMenu : public bobbygui::MenuDisplayWithTime
|
|
{
|
|
using Base = bobbygui::MenuDisplayWithTime;
|
|
|
|
public:
|
|
MainMenu();
|
|
|
|
std::string title() const override;
|
|
|
|
void back() override;
|
|
};
|