MCPcopy Create free account
hub / github.com/EasyRPG/Player / Hide

Method Hide

src/game_config.cpp:58–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58void Game_ConfigPlayer::Hide() {
59#if !defined(HAVE_FREETYPE) || defined(__ANDROID__)
60 // FIXME (Android): URI encoded SAF paths are not supported
61 font1.SetOptionVisible(false);
62 font1_size.SetOptionVisible(false);
63 font2.SetOptionVisible(false);
64 font2_size.SetOptionVisible(false);
65#endif
66 if (automatic_screenshots.IsOptionVisible()) {
67 automatic_screenshots_interval.SetLocked(!automatic_screenshots.Get());
68 }
69}
70
71void Game_ConfigVideo::Hide() {
72 // Options that are platform dependent are opt-in

Callers 4

RefreshEngineMethod · 0.80
InitMethod · 0.80
GetConfigMethod · 0.80
GetConfigMethod · 0.80

Calls 4

SetOptionVisibleMethod · 0.80
IsOptionVisibleMethod · 0.80
SetLockedMethod · 0.80
GetMethod · 0.45

Tested by

no test coverage detected