WIP: default theme
This commit is contained in:
committed by
Raphael Coeffic
parent
83a5fd913f
commit
2a0bb66daf
+1
-2
@@ -44,13 +44,12 @@
|
||||
|
||||
static lv_style_t style_main;
|
||||
static lv_style_t style_edit;
|
||||
static LvglWidgetFactory textEditFactory = { lv_textarea_create, nullptr };
|
||||
|
||||
TextEdit::TextEdit(Window *parent, const rect_t &rect, char *value,
|
||||
uint8_t length, LcdFlags windowFlags,
|
||||
const char *_extra_chars) :
|
||||
FormField(parent, {rect.x, rect.y, rect.w, rect.h - 2}, windowFlags, 0,
|
||||
&textEditFactory),
|
||||
lv_textarea_create),
|
||||
value(value),
|
||||
length(length)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user