feat(color): add 'menu' popup control to Lua API (#6212)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user