2017-02-09 09:23:17 +00:00
|
|
|
#include "CFrontEndUITouchBar.hpp"
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
2017-02-09 09:23:17 +00:00
|
|
|
|
|
|
|
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; }
|
2018-12-08 05:30:43 +00:00
|
|
|
void CFrontEndUITouchBar::SetFileSelectPhase(const SFileSelectDetail details[3], 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__
|
2018-12-08 05:30:43 +00:00
|
|
|
std::unique_ptr<CFrontEndUITouchBar> NewFrontEndUITouchBar() { return std::make_unique<CFrontEndUITouchBar>(); }
|
2017-02-09 09:23:17 +00:00
|
|
|
#endif
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|