MissionControl/applet/include/scenes/sidemenu.hpp
2020-04-03 00:22:45 +02:00

28 lines
590 B
C++

#pragma once
#include "application.hpp"
#include "ui/scene.hpp"
enum MenuOptions {
MenuItem_PairController,
MenuItem_TestController,
//MenuItem_ConfigureControls,
MenuItem_ViewDatabase,
MenuItem_Settings,
};
class SideMenu : public mc::ui::Scene {
public:
SideMenu() : mc::ui::Scene(), m_selectionIdx(0) {};
void draw(void);
void handleInput(const mc::app::UserInput *input);
int index(void) { return m_selectionIdx; }
void setIndex(int index) { m_selectionIdx = index; };
private:
int m_selectionIdx;
};