Set default values on custom screen options

This commit is contained in:
Raphael Coeffic
2021-06-10 13:34:25 +02:00
parent 0d344bedd8
commit 685acfecf4
@@ -28,12 +28,12 @@
#include "widgets/widgets_container_impl.h" #include "widgets/widgets_container_impl.h"
#include "layout.h" #include "layout.h"
#define LAYOUT_COMMON_OPTIONS \ #define LAYOUT_COMMON_OPTIONS \
{ STR_TOP_BAR, ZoneOption::Bool }, \ {STR_TOP_BAR, ZoneOption::Bool, OPTION_VALUE_BOOL(true)}, \
{ STR_FLIGHT_MODE, ZoneOption::Bool }, \ {STR_FLIGHT_MODE, ZoneOption::Bool, OPTION_VALUE_BOOL(true)}, \
{ STR_SLIDERS, ZoneOption::Bool }, \ {STR_SLIDERS, ZoneOption::Bool, OPTION_VALUE_BOOL(true)}, \
{ STR_TRIMS, ZoneOption::Bool }, \ {STR_TRIMS, ZoneOption::Bool, OPTION_VALUE_BOOL(true)}, \
{ STR_MIRROR, ZoneOption::Bool } {STR_MIRROR, ZoneOption::Bool, OPTION_VALUE_BOOL(false)}
#define LAYOUT_OPTIONS_END \ #define LAYOUT_OPTIONS_END \
{ nullptr, ZoneOption::Bool } { nullptr, ZoneOption::Bool }