mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 21:40:05 +00:00
Add drop shadow to placefile text
This commit is contained in:
parent
cfa62d5fbc
commit
4916dfe85a
6 changed files with 68 additions and 20 deletions
|
|
@ -102,7 +102,8 @@ public:
|
|||
&updateNotificationsEnabled_,
|
||||
&debugEnabled_,
|
||||
&hoverTextWrap_,
|
||||
&tooltipMethod_}}
|
||||
&tooltipMethod_,
|
||||
&placefileTextDropShadowEnabled_}}
|
||||
{
|
||||
// Configure default alert phenomena colors
|
||||
auto& paletteSettings = settings::PaletteSettings::Instance();
|
||||
|
|
@ -198,6 +199,7 @@ public:
|
|||
|
||||
settings::SettingsInterface<std::int64_t> hoverTextWrap_ {};
|
||||
settings::SettingsInterface<std::string> tooltipMethod_ {};
|
||||
settings::SettingsInterface<bool> placefileTextDropShadowEnabled_ {};
|
||||
|
||||
std::vector<settings::SettingsInterfaceBase*> settings_;
|
||||
};
|
||||
|
|
@ -808,6 +810,11 @@ void SettingsDialogImpl::SetupTextTab()
|
|||
});
|
||||
tooltipMethod_.SetEditWidget(self_->ui->tooltipMethodComboBox);
|
||||
tooltipMethod_.SetResetButton(self_->ui->resetTooltipMethodButton);
|
||||
|
||||
placefileTextDropShadowEnabled_.SetSettingsVariable(
|
||||
textSettings.placefile_text_drop_shadow_enabled());
|
||||
placefileTextDropShadowEnabled_.SetEditWidget(
|
||||
self_->ui->placefileTextDropShadowCheckBox);
|
||||
}
|
||||
|
||||
QImage SettingsDialogImpl::GenerateColorTableImage(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue