MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / ZoomMinMaxChanged

Function ZoomMinMaxChanged

src/settings_table.cpp:375–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373}
374
375static void ZoomMinMaxChanged(int32_t)
376{
377 ConstrainAllViewportsZoom();
378 GfxClearSpriteCache();
379 InvalidateWindowClassesData(WC_SPRITE_ALIGNER);
380 if (AdjustGUIZoom(false)) {
381 ReInitAllWindows(true);
382 }
383}
384
385static void SpriteZoomMinChanged(int32_t)
386{

Callers

nothing calls this directly

Calls 5

GfxClearSpriteCacheFunction · 0.85
AdjustGUIZoomFunction · 0.85
ReInitAllWindowsFunction · 0.85

Tested by

no test coverage detected