MCPcopy Create free account
hub / github.com/TranslucentTB/TranslucentTB / AppearanceClicked

Method AppearanceClicked

Xaml/Pages/TrayFlyoutPage.cpp:140–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138 }
139
140 void TrayFlyoutPage::AppearanceClicked(const IInspectable &sender, const wux::RoutedEventArgs &)
141 {
142 if (const auto item = sender.try_as<wuxc::MenuFlyoutItemBase>())
143 {
144 if (const auto submenu = GetItemParent(item))
145 {
146 if (const auto tag = submenu.Tag().try_as<txmp::TaskbarState>())
147 {
148 m_TaskbarSettingsChangedDelegate(*tag, BuildAppearanceFromSubMenu(submenu));
149 }
150 }
151 }
152 }
153
154 void TrayFlyoutPage::ColorClicked(const IInspectable &sender, const wux::RoutedEventArgs &)
155 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected