2017-02-09 09:23:17 +00:00
|
|
|
#include "CFrontEndUITouchBar.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
CFrontEndUITouchBar::~CFrontEndUITouchBar() {}
|
2017-02-10 09:00:57 +00:00
|
|
|
void CFrontEndUITouchBar::SetPhase(EPhase ph) { m_phase = ph; }
|
|
|
|
CFrontEndUITouchBar::EPhase CFrontEndUITouchBar::GetPhase() { return m_phase; }
|
2017-02-09 09:23:17 +00:00
|
|
|
void CFrontEndUITouchBar::SetFileSelectPhase(const SFileSelectDetail details[3],
|
2017-02-10 09:00:57 +00:00
|
|
|
bool eraseGame, bool galleryActive)
|
|
|
|
{ m_phase = EPhase::FileSelect; }
|
|
|
|
void CFrontEndUITouchBar::SetNoCardSelectPhase(bool galleryActive)
|
|
|
|
{ m_phase = EPhase::NoCardSelect; }
|
|
|
|
void CFrontEndUITouchBar::SetFusionBonusPhase(bool fusionSuitActive)
|
|
|
|
{ m_phase = EPhase::FusionBonus; }
|
|
|
|
void CFrontEndUITouchBar::SetStartOptionsPhase(bool normalBeat)
|
|
|
|
{ m_phase = EPhase::StartOptions; }
|
2017-02-09 09:23:17 +00:00
|
|
|
CFrontEndUITouchBar::EAction CFrontEndUITouchBar::PopAction() { return EAction::None; }
|
|
|
|
|
|
|
|
#ifndef __APPLE__
|
|
|
|
std::unique_ptr<CFrontEndUITouchBar> NewFrontEndUITouchBar()
|
|
|
|
{
|
|
|
|
return std::make_unique<CFrontEndUITouchBar>();
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|