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

Method OnPreferences

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

Source from the content-addressed store, hash-verified

1809void Viewer::OnProfileKiosk() { if (!CropMode && (Config::GetProfile() != Profile::Kiosk)) ChangProfile(Profile::Kiosk); }
1810void Viewer::OnProfileAlt() { if (!CropMode && (Config::GetProfile() != Profile::Alt)) ChangProfile(Profile::Alt); }
1811void Viewer::OnPreferences() { Config::ProfileData& profile = Config::GetProfileData(); profile.ShowPreferences = !profile.ShowPreferences; }
1812void Viewer::OnKeyBindings() { Config::ProfileData& profile = Config::GetProfileData(); profile.ShowBindingsWindow = !profile.ShowBindingsWindow; if (profile.ShowBindingsWindow) BindingsWindowJustOpened = true; }
1813void Viewer::OnChangeScreenMode() { Config::ProfileData& profile = Config::GetProfileData(); ChangeScreenMode(!profile.FullscreenMode); }
1814

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected