| 152 | } |
| 153 | |
| 154 | void TrayFlyoutPage::ColorClicked(const IInspectable &sender, const wux::RoutedEventArgs &) |
| 155 | { |
| 156 | if (const auto item = sender.try_as<wuxc::MenuFlyoutItemBase>()) |
| 157 | { |
| 158 | if (const auto submenu = GetItemParent(item)) |
| 159 | { |
| 160 | if (const auto tag = submenu.Tag().try_as<txmp::TaskbarState>()) |
| 161 | { |
| 162 | m_ColorRequestedDelegate(*tag); |
| 163 | } |
| 164 | } |
| 165 | } |
| 166 | } |
| 167 | |
| 168 | void TrayFlyoutPage::OpenLogFileClicked(const IInspectable &, const wux::RoutedEventArgs &) |
| 169 | { |
nothing calls this directly
no outgoing calls
no test coverage detected