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