feat(color): add a filter function to the Lua choice popup (#6243)

This commit is contained in:
philmoz
2025-05-12 14:31:52 +10:00
committed by GitHub
parent f6631f5574
commit ae2fd600a7
2 changed files with 38 additions and 1 deletions
+3
View File
@@ -764,9 +764,12 @@ class LvglWidgetChoice : public LvglWidgetPicker
public:
LvglWidgetChoice() : LvglWidgetPicker() {}
void clearRefs(lua_State *L) override;
protected:
std::string title;
std::vector<std::string> values;
int filterFunction = LUA_REFNIL;
void build(lua_State *L) override;
void parseParam(lua_State *L, const char *key) override;