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

Method LogLevelClicked

Xaml/Pages/TrayFlyoutPage.cpp:173–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171 }
172
173 void TrayFlyoutPage::LogLevelClicked(const IInspectable &sender, const wux::RoutedEventArgs &)
174 {
175 if (const auto item = sender.try_as<wuxc::MenuFlyoutItemBase>())
176 {
177 if (const auto tag = item.Tag().try_as<txmp::LogLevel>())
178 {
179 m_LogLevelChangedDelegate(*tag);
180 }
181 }
182 }
183
184 void TrayFlyoutPage::DumpDynamicStateClicked(const IInspectable &, const wux::RoutedEventArgs &)
185 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected