MCPcopy Create free account
hub / github.com/YACReader/yacreader / updateImageOptions

Method updateImageOptions

YACReader/viewer.cpp:1706–1715  ·  view source on GitHub ↗

deprecated

Source from the content-addressed store, hash-verified

1704
1705// deprecated
1706void Viewer::updateImageOptions()
1707{
1708 render->reload();
1709 // Settings-driven image options may have changed; force the provider to
1710 // re-decode with the current settings.
1711 continuousPageProvider->invalidate();
1712 if (continuousScroll) {
1713 continuousWidget->invalidateScaledImageCache();
1714 }
1715}
1716
1717void Viewer::updateFilters(int brightness, int contrast, int gamma)
1718{

Callers

nothing calls this directly

Calls 3

reloadMethod · 0.45
invalidateMethod · 0.45

Tested by

no test coverage detected