|
|
@ -245,7 +245,7 @@ auto Lua::PushLuaScreen(lua_State* s) -> int { |
|
|
|
return 0; |
|
|
|
return 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
auto Lua::PopLuaScreen(lua_State* s) -> int { |
|
|
|
auto Lua::PopLuaScreen(lua_State *s) -> int { |
|
|
|
PopScreen(); |
|
|
|
PopScreen(); |
|
|
|
luavgl_set_root(s, sCurrentScreen->content()); |
|
|
|
luavgl_set_root(s, sCurrentScreen->content()); |
|
|
|
lv_group_set_default(sCurrentScreen->group()); |
|
|
|
lv_group_set_default(sCurrentScreen->group()); |
|
|
@ -301,6 +301,10 @@ void Lua::react(const audio::PlaybackFinished&) { |
|
|
|
playback_playing_->Update(false); |
|
|
|
playback_playing_->Update(false); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void Lua::react(const internal::BackPressed& ev) { |
|
|
|
|
|
|
|
PopLuaScreen(sLua->state()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void Browse::entry() {} |
|
|
|
void Browse::entry() {} |
|
|
|
|
|
|
|
|
|
|
|
void Browse::react(const internal::ShowSettingsPage& ev) { |
|
|
|
void Browse::react(const internal::ShowSettingsPage& ev) { |
|
|
|