Checkbox window flags lost on the way
This commit is contained in:
+2
-3
@@ -24,9 +24,8 @@
|
|||||||
|
|
||||||
class CheckBox : public FormField {
|
class CheckBox : public FormField {
|
||||||
public:
|
public:
|
||||||
CheckBox(Window * parent, const rect_t & rect, std::function<uint8_t()> getValue, std::function<void(uint8_t)> setValue,
|
CheckBox(Window * parent, const rect_t & rect, std::function<uint8_t()> getValue, std::function<void(uint8_t)> setValue, WindowFlags flags = 0) :
|
||||||
LcdFlags /*flags*/ = 0) :
|
FormField(parent, rect, flags),
|
||||||
FormField(parent, rect),
|
|
||||||
_getValue(getValue),
|
_getValue(getValue),
|
||||||
_setValue(setValue)
|
_setValue(setValue)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user