Add empty paint() method to Checkbox & Button

This commit is contained in:
Raphael Coeffic
2022-06-11 15:13:11 +02:00
committed by Raphael Coeffic
parent a0624cc17a
commit 5597524b7a
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -116,6 +116,8 @@ class TextButton: public Button
bgColorHandler = std::move(handler);
}
void paint(BitmapBuffer* dc) override {}
protected:
lv_obj_t * label = nullptr;
+2
View File
@@ -66,6 +66,8 @@ class CheckBox : public FormField {
_setValue = std::move(handler);
}
void paint(BitmapBuffer* dc) override {}
protected:
std::string label;
std::function<uint8_t()> _getValue;