mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 21:20:06 +00:00
Add show map center to settings
This commit is contained in:
parent
201010a5cc
commit
4424c19d7f
5 changed files with 333 additions and 295 deletions
|
|
@ -135,6 +135,7 @@ public:
|
|||
&defaultTimeZone_,
|
||||
&antiAliasingEnabled_,
|
||||
&showMapAttribution_,
|
||||
&showMapCenter_,
|
||||
&showMapLogo_,
|
||||
&updateNotificationsEnabled_,
|
||||
&debugEnabled_,
|
||||
|
|
@ -233,6 +234,7 @@ public:
|
|||
settings::SettingsInterface<std::string> theme_ {};
|
||||
settings::SettingsInterface<bool> antiAliasingEnabled_ {};
|
||||
settings::SettingsInterface<bool> showMapAttribution_ {};
|
||||
settings::SettingsInterface<bool> showMapCenter_ {};
|
||||
settings::SettingsInterface<bool> showMapLogo_ {};
|
||||
settings::SettingsInterface<bool> updateNotificationsEnabled_ {};
|
||||
settings::SettingsInterface<bool> debugEnabled_ {};
|
||||
|
|
@ -666,6 +668,9 @@ void SettingsDialogImpl::SetupGeneralTab()
|
|||
generalSettings.show_map_attribution());
|
||||
showMapAttribution_.SetEditWidget(self_->ui->showMapAttributionCheckBox);
|
||||
|
||||
showMapCenter_.SetSettingsVariable(generalSettings.show_map_center());
|
||||
showMapCenter_.SetEditWidget(self_->ui->showMapCenterCheckBox);
|
||||
|
||||
showMapLogo_.SetSettingsVariable(generalSettings.show_map_logo());
|
||||
showMapLogo_.SetEditWidget(self_->ui->showMapLogoCheckBox);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue