MCPcopy Create free account
hub / github.com/bluescan/tacentview / OnChannelFilter

Method OnChannelFilter

Src/TacentView.cpp:1120–1120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1118void Viewer::OnPixelEdit() { Config::ProfileData& profile = Config::GetProfileData(); profile.ShowPixelEditor = !profile.ShowPixelEditor; }
1119void Viewer::OnPropertyEdit() { Config::ProfileData& profile = Config::GetProfileData(); profile.ShowPropsWindow = !profile.ShowPropsWindow; }
1120void Viewer::OnChannelFilter() { Config::ProfileData& profile = Config::GetProfileData(); profile.ShowChannelFilter = !profile.ShowChannelFilter; }
1121void Viewer::OnLevels() { if (CurrImage && CurrImage->IsLoaded() && !CurrImage->IsAltPictureEnabled()) Request_LevelsModal = true; }
1122void Viewer::OnQuantize() { if (CurrImage && CurrImage->IsLoaded() && !CurrImage->IsAltPictureEnabled()) Request_QuantizeModal = true; }
1123void Viewer::OnRedChannel() { Config::ProfileData& profile = Config::GetProfileData(); if (DrawChannel_AsIntensity) { DrawChannel_R = true; DrawChannel_G = false; DrawChannel_B = false; DrawChannel_A = false; } else DrawChannel_R = !DrawChannel_R; profile.ShowChannelFilter = true; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected