| 533 | } |
| 534 | |
| 535 | void ColorPicker::OnHexInputTextBoxKeyDown(const IInspectable &, const wux::Input::KeyRoutedEventArgs &args) |
| 536 | { |
| 537 | if (args.Key() == Windows::System::VirtualKey::Enter) |
| 538 | { |
| 539 | try |
| 540 | { |
| 541 | UpdateColorRightNow(Util::Color::FromString(m_HexInputTextBox.Text(), true)); |
| 542 | } |
| 543 | catch (...) |
| 544 | { |
| 545 | UpdateColorControlValues(); |
| 546 | UpdateChannelSliderBackgrounds(); |
| 547 | } |
| 548 | } |
| 549 | } |
| 550 | |
| 551 | void ColorPicker::OnHexInputTextBoxLostFocus(const IInspectable &, const wux::RoutedEventArgs &) |
| 552 | { |
nothing calls this directly
no outgoing calls
no test coverage detected