From 7d66572b0ff6c71687160e9ad684f9679f10a273 Mon Sep 17 00:00:00 2001 From: Robin Howard Date: Sat, 10 Feb 2024 16:56:55 +1100 Subject: Adds base dropdown-list styles. Fixes dropdown contents being painted directly on top of anything sitting below them. --- src/ui/include/themes.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui/include') diff --git a/src/ui/include/themes.hpp b/src/ui/include/themes.hpp index 576ea42e..11680c0d 100644 --- a/src/ui/include/themes.hpp +++ b/src/ui/include/themes.hpp @@ -32,6 +32,7 @@ class Theme { lv_style_t button_style_; lv_style_t bar_style_; lv_style_t dropdown_style_; + lv_style_t dropdown_list_style_; lv_style_t slider_indicator_style_; lv_style_t slider_knob_style_; -- cgit v1.2.3 From 9512bd97bbac48fa33339cc248c76070063bbc61 Mon Sep 17 00:00:00 2001 From: ailurux Date: Mon, 12 Feb 2024 15:36:56 +1100 Subject: Add buttons for shuffle + repeat track --- src/ui/include/ui_fsm.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ui/include') diff --git a/src/ui/include/ui_fsm.hpp b/src/ui/include/ui_fsm.hpp index c097e764..52ab77a5 100644 --- a/src/ui/include/ui_fsm.hpp +++ b/src/ui/include/ui_fsm.hpp @@ -116,6 +116,7 @@ class UiState : public tinyfsm::Fsm { static lua::Property sQueuePosition; static lua::Property sQueueSize; + static lua::Property sQueueReplay; static lua::Property sQueueRepeat; static lua::Property sQueueRandom; @@ -165,6 +166,7 @@ class Lua : public UiState { auto SetPlaying(const lua::LuaValue&) -> bool; auto SetRandom(const lua::LuaValue&) -> bool; auto SetRepeat(const lua::LuaValue&) -> bool; + auto SetReplay(const lua::LuaValue&) -> bool; auto QueueNext(lua_State*) -> int; auto QueuePrevious(lua_State*) -> int; -- cgit v1.2.3