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

Method ColorClicked

Xaml/Pages/TrayFlyoutPage.cpp:154–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected