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

Method OnChannelTextBoxKeyDown

Xaml/Controls/ColorPicker.cpp:521–527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

519
520 template<txmp::ColorChannel channel>
521 void ColorPicker::OnChannelTextBoxKeyDown(const IInspectable &sender, const wux::Input::KeyRoutedEventArgs &args)
522 {
523 if (args.Key() == Windows::System::VirtualKey::Enter)
524 {
525 ApplyChannelTextBoxValue(sender.try_as<wuxc::TextBox>(), channel);
526 }
527 }
528
529 template<txmp::ColorChannel channel>
530 void ColorPicker::OnChannelTextBoxLostFocus(const IInspectable &sender, const wux::RoutedEventArgs &)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected