CreditsScreen.h 632 B

123456789101112131415161718192021222324252627
  1. /*
  2. * CreditsScreen.h, 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. #pragma once
  11. #include "../windows/CWindowObject.h"
  12. class CMultiLineLabel;
  13. struct SDL_Surface;
  14. class CreditsScreen : public CIntObject
  15. {
  16. int positionCounter;
  17. std::shared_ptr<CMultiLineLabel> credits;
  18. public:
  19. CreditsScreen(Rect rect);
  20. void show(SDL_Surface * to) override;
  21. void clickLeft(tribool down, bool previousState) override;
  22. void clickRight(tribool down, bool previousState) override;
  23. };