ExtraOptionsTab.cpp 554 B

1234567891011121314151617181920
  1. /*
  2. * ExtraOptionsTab.cpp, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #include "StdInc.h"
  11. #include "ExtraOptionsTab.h"
  12. #include "../widgets/Images.h"
  13. ExtraOptionsTab::ExtraOptionsTab()
  14. : OptionsTabBase(JsonPath::builtin("config/widgets/extraOptionsTab.json"))
  15. {
  16. if(auto textureCampaignOverdraw = widget<CFilledTexture>("textureCampaignOverdraw"))
  17. textureCampaignOverdraw->disable();
  18. }