mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-04-28 17:09:33 +02:00
Merged build 0.7.6
This commit is contained in:
@@ -53,7 +53,12 @@ void AttractMode::update(float dt, Page &page)
|
|||||||
{
|
{
|
||||||
elapsedTime_ = 0;
|
elapsedTime_ = 0;
|
||||||
isActive_ = false;
|
isActive_ = false;
|
||||||
page.setScrolling(Page::ScrollDirectionIdle);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
bool AttractMode::isActive()
|
||||||
|
{
|
||||||
|
return isActive_;
|
||||||
|
}
|
||||||
@@ -24,6 +24,7 @@ public:
|
|||||||
void reset();
|
void reset();
|
||||||
void update(float dt, Page &page);
|
void update(float dt, Page &page);
|
||||||
float idleTime;
|
float idleTime;
|
||||||
|
bool isActive();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool isActive_;
|
bool isActive_;
|
||||||
|
|||||||
@@ -724,7 +724,8 @@ RetroFE::RETROFE_STATE RetroFE::processUserInput(Page *page)
|
|||||||
!input_.keystate(UserInput::KeyCodeDown) &&
|
!input_.keystate(UserInput::KeyCodeDown) &&
|
||||||
!input_.keystate(UserInput::KeyCodeRight) &&
|
!input_.keystate(UserInput::KeyCodeRight) &&
|
||||||
!input_.keystate(UserInput::KeyCodePageUp) &&
|
!input_.keystate(UserInput::KeyCodePageUp) &&
|
||||||
!input_.keystate(UserInput::KeyCodePageDown))
|
!input_.keystate(UserInput::KeyCodePageDown) &&
|
||||||
|
!attract_.isActive())
|
||||||
{
|
{
|
||||||
if (page->isMenuScrolling())
|
if (page->isMenuScrolling())
|
||||||
state = RETROFE_HIGHLIGHT_REQUEST;
|
state = RETROFE_HIGHLIGHT_REQUEST;
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
std::string retrofe_version_major = "0";
|
std::string retrofe_version_major = "0";
|
||||||
std::string retrofe_version_minor = "7";
|
std::string retrofe_version_minor = "7";
|
||||||
std::string retrofe_version_build = "5";
|
std::string retrofe_version_build = "6";
|
||||||
|
|
||||||
|
|
||||||
std::string Version::getString()
|
std::string Version::getString()
|
||||||
|
|||||||
Reference in New Issue
Block a user