mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 09:10:06 +00:00
Setting default custom_style_draw_layer value
This commit is contained in:
parent
f182e985c0
commit
ec0e502516
2 changed files with 4 additions and 1 deletions
|
|
@ -52,6 +52,7 @@ public:
|
|||
|
||||
antiAliasingEnabled_.SetDefault(true);
|
||||
clockFormat_.SetDefault(defaultClockFormatValue);
|
||||
customStyleDrawLayer_.SetDefault(".*\\.annotations\\.points");
|
||||
debugEnabled_.SetDefault(false);
|
||||
defaultAlertAction_.SetDefault(defaultDefaultAlertActionValue);
|
||||
defaultRadarSite_.SetDefault("KLSX");
|
||||
|
|
@ -102,6 +103,8 @@ public:
|
|||
SCWX_SETTINGS_ENUM_VALIDATOR(scwx::util::ClockFormat,
|
||||
scwx::util::ClockFormatIterator(),
|
||||
scwx::util::GetClockFormatName));
|
||||
customStyleDrawLayer_.SetValidator([](const std::string& value)
|
||||
{ return !value.empty(); });
|
||||
defaultAlertAction_.SetValidator(
|
||||
SCWX_SETTINGS_ENUM_VALIDATOR(types::AlertAction,
|
||||
types::AlertActionIterator(),
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit f631a9ffa16353d8560ecec7ee16f4e2ae20b310
|
||||
Subproject commit 0ea32947d6a6e39a69d931b2827056e7bc58cbba
|
||||
Loading…
Add table
Add a link
Reference in a new issue