diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-12-08 11:11:57 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-12-08 11:11:57 +1100 |
| commit | ca5d7b867c381b7886a660ce744df0b74f38b2e6 (patch) | |
| tree | 61987a625e63a124c142be3df2c8dde0d9c14613 /src/ui/include | |
| parent | aaa949f71805e2040c7ee9a4d0a3c260de95a6d0 (diff) | |
| download | tangara-fw-ca5d7b867c381b7886a660ce744df0b74f38b2e6.tar.gz | |
Add shuffle and repeat options for the playback queue
Diffstat (limited to 'src/ui/include')
| -rw-r--r-- | src/ui/include/ui_fsm.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/include/ui_fsm.hpp b/src/ui/include/ui_fsm.hpp index 7ad6be93..ba3f5e3f 100644 --- a/src/ui/include/ui_fsm.hpp +++ b/src/ui/include/ui_fsm.hpp @@ -137,6 +137,8 @@ class Lua : public UiState { auto PushLuaScreen(lua_State*) -> int; auto PopLuaScreen(lua_State*) -> int; auto SetPlaying(const lua::LuaValue&) -> bool; + auto SetRandom(const lua::LuaValue&) -> bool; + auto SetRepeat(const lua::LuaValue&) -> bool; std::shared_ptr<lua::Property> battery_pct_; std::shared_ptr<lua::Property> battery_mv_; @@ -150,6 +152,8 @@ class Lua : public UiState { std::shared_ptr<lua::Property> queue_position_; std::shared_ptr<lua::Property> queue_size_; + std::shared_ptr<lua::Property> queue_repeat_; + std::shared_ptr<lua::Property> queue_random_; }; class Browse : public UiState { |
