| 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 | { |
nothing calls this directly
no outgoing calls
no test coverage detected