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

Method ScheduleColorUpdate

Xaml/Controls/ColorPicker.cpp:783–792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

781 }
782
783 void ColorPicker::ScheduleColorUpdate(Windows::UI::Color newColor, bool isFromSpectrum)
784 {
785 if (!IsAlphaEnabled())
786 {
787 newColor.A = 255;
788 }
789
790 m_UpdatedRgbColor = newColor;
791 m_UpdateFromSpectrum = isFromSpectrum;
792 }
793
794 void ColorPicker::UpdateColorRightNow(Windows::UI::Color newColor, bool isFromSpectrum)
795 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected