feat(color): add 'menu' popup control to Lua API (#6212)

This commit is contained in:
philmoz
2025-05-07 11:45:38 +10:00
committed by GitHub
parent 8f36592936
commit 609110a257
3 changed files with 51 additions and 0 deletions
+15
View File
@@ -774,6 +774,21 @@ class LvglWidgetChoice : public LvglWidgetPicker
//-----------------------------------------------------------------------------
class LvglWidgetMenu : public LvglWidgetPicker
{
public:
LvglWidgetMenu() : LvglWidgetPicker() {}
protected:
std::string title;
std::vector<std::string> values;
void build(lua_State *L) override;
void parseParam(lua_State *L, const char *key) override;
};
//-----------------------------------------------------------------------------
class LvglWidgetFontPicker : public LvglWidgetPicker
{
public: