MCPcopy Create free account
hub / github.com/HO-COOH/FastCopy / init

Method init

FastCopy/AcrylicHelper.cpp:169–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169void WindowEffectHelper::init()
170{
171 if (!m_target)
172 return;
173
174 auto settingsViewModel = ViewModelLocator::GetInstance().SettingsViewModel();
175 settingsViewModel.BackgroundSelection(settingsViewModel.BackgroundSelection());
176 settingsViewModel.ThemeSelection(settingsViewModel.ThemeSelection());
177}
178
179void WindowEffectHelper::SetTheme(winrt::Microsoft::UI::Xaml::ElementTheme theme)
180{

Callers

nothing calls this directly

Calls 3

BackgroundSelectionMethod · 0.80
ThemeSelectionMethod · 0.80
SettingsViewModelMethod · 0.45

Tested by

no test coverage detected